DSPRelated.com

MCBSP operation

Started by hing...@arlut.utexas.edu in TMS320c55x18 years ago

Hi, I am having trouble with the mcbsp. Whenever I use the following code in my main program - "MCBSP_start(hMcbsp1, MCBSP_SRGR_START |...

Hi, I am having trouble with the mcbsp. Whenever I use the following code in my main program - "MCBSP_start(hMcbsp1, MCBSP_SRGR_START | MCBSP_SRGR_FRAMESYNC, 0x300u); MCBSP_start(hMcbsp1, MCBSP_XMIT_START, 0x0u); " my interrupts are disabled and my interrupt service routines won't work. I am pretty sure that the 2nd line is what is disabling my interrupts, because when I comment out that lin...


Please help me with McBSP and Parallel ports!

Started by "dar...@yahoo.com [C55X]" in TMS320c55x10 years ago 1 reply

Hi everyone! I'm an engineer student in my final year, and I want to design a digital guitar effect processor for my license project. I would use...

Hi everyone! I'm an engineer student in my final year, and I want to design a digital guitar effect processor for my license project. I would use a TMS320VC5507 DSP with PCM3060 for data conversion and processing. A 16bit SDRAM for sound looper, and PIC based user interface via I2C. I have some trouble wiring up the CODEC and the RAM to the DSP. I've read the documentations regarding McBSP and ...


using McBSP to do parallel data transmission

Started by Randy Hoo in TMS320c55x16 years ago

Hi all, I am working with DSK 5510 to interface it to camera module C3188. I need four pins to do the I2C controll job and something like...

Hi all, I am working with DSK 5510 to interface it to camera module C3188. I need four pins to do the I2C controll job and something like that. But I still need 8 extra pins to do the parallel transmitt. It seems that there is not enough pins on McBSP. Can anybody give me any idea to solve this trouble? Rds S.Hu Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video...


Problem with a McBSP connected to a I2S master

Started by peejayblack in TMS320c55x19 years ago 2 replies

Hello, I've been having difficulty with a McBSP interface. It's connected to a I2S A-D converter set up as a master. I.e....

Hello, I've been having difficulty with a McBSP interface. It's connected to a I2S A-D converter set up as a master. I.e. it generates the bit clock and frame sync. I'm receiving only so the A-D just pumps the clock out. I can get the receive to fire


DMA Tx & McBSP in Slave mode

Started by AminRezaie in TMS320c55x18 years ago

Hi All I used C5502 and want to make McBSP works in Slave mode and My codec is master.I program my codec from microcontroller and I can check...

Hi All I used C5502 and want to make McBSP works in Slave mode and My codec is master.I program my codec from microcontroller and I can check read and write to McBSP1 with this command: while(1) { while (!MCBSP_rrdy(h1)); A=MCBSP_read32(h1); MCBSP_write32(h1, A); while (!MCBSP_xrdy(h1)); } Now my McBSP1 worked. but when I start DMA I have any Tx or Rx interrupt. ...


McBSP as GPIO

Started by lfouilhac in TMS320c55x22 years ago 1 reply

Hi all, I have configured the McBSP #1 as GPIO (RRST_ = 0 RIOEN = 1). When I read the voltage on that pin (the pin is not...

Hi all, I have configured the McBSP #1 as GPIO (RRST_ = 0 RIOEN = 1). When I read the voltage on that pin (the pin is not connected, working with 5509 EVM from Spectrum Digital), I read 0 but the DSP read a logical 1 If I link the pin to the ground, the DSP sees a 0.


Mcbsp DMA problem

Started by Anonymous in TMS320c55x19 years ago 3 replies

Hello, This code is a modification of some TI code to allow me to transfer 32 bits over a mcbsp via a DMA. It works fine ...

Hello, This code is a modification of some TI code to allow me to transfer 32 bits over a mcbsp via a DMA. It works fine for McBSP1 but if I make the changes needed to make it work for McBSP0 it hangs at the "Wait for DMA transfer to be complete"


C54 to C55 McBSP Clock, Data, Framesync

Started by "bob, embedded bob" in TMS320c55x16 years ago 1 reply

Hi All, I've got a serial communications bus (400Kb/s) between two DSPs (C54 to C55) that has errors when its received in the buffer (McBSP...

Hi All, I've got a serial communications bus (400Kb/s) between two DSPs (C54 to C55) that has errors when its received in the buffer (McBSP via DMA). The errors are normally a 1 bit shift in the end 8bits of 1 16bit word only*, between the middle and end of the message where the entire message is 30 words long (60B). I presume what is happening is something is on the edge and is being...


uart using c5510

Started by jack...@hotmail.com in TMS320c55x10 years ago

Please i want to send and receive data using c5510, i need to use uart via mcbsp and dma. If any can send the codes related or simply a full...

Please i want to send and receive data using c5510, i need to use uart via mcbsp and dma. If any can send the codes related or simply a full project using uart by mcbsp for c5510. Best regards. _____________________________________ About this discussion group: Archives: http://www.dsprelated.com/groups/C55X/1.php To Post: Send an email to C...@yahoogroups.com Other DSP Related Gr...


DSK5510 McBSP as master/slave in SPI mode

Started by mtrend123 in TMS320c55x17 years ago 1 reply

I am a newbie to the DSk and to DSP programming in general. I was wondering if it was possible to set up the McBsp 0 and 1 as a master/slave to...

I am a newbie to the DSk and to DSP programming in general. I was wondering if it was possible to set up the McBsp 0 and 1 as a master/slave to run a quick test? I have been trying to do this with no success and wondering if I am missing something. Here is my configuration: /* MCBSP_Config ConfigMaster - Master configuration*/ static MCBSP_Config ConfigMaster = { MCBSP_SPCR1_RMK( M...


McBSP0 as SPI master

Started by siva...@shakthi.net in TMS320c55x18 years ago 1 reply

Hi, I have configured McBSP for SPI master operation as specified in the McBSP manual. The SPI slave is a serial flash chip. When I transmit...

Hi, I have configured McBSP for SPI master operation as specified in the McBSP manual. The SPI slave is a serial flash chip. When I transmit an 8 bit instruction ("Read Register Status") I see the correct, consistent data, clock and and frame sync signals on the output lines. 8 bit are now ready to be clocked out of the SPI slave. My question: Now, how do I send 8 clock cycles on the clo...


5509a MCBSP SPI slave and receive interrupts

Started by aimo...@gmail.com in TMS320c55x16 years ago 7 replies

How to configure receive interrupt to work nice in 5509a. If I configure MCBSP to produce interrupt when RRDY bit changes from 0 to 1 (SPCR1 bits...

How to configure receive interrupt to work nice in 5509a. If I configure MCBSP to produce interrupt when RRDY bit changes from 0 to 1 (SPCR1 bits 5-4 00b) interrupts keep coming all the time, even when there is nothing to receive. Any other bit combination doesn't generate an interrupt at all. When I use receiver polling mode it works ok. Polling mode loop: while (!MCBSP_rrdy(hMcbsp2)); ...


Re: 5510 EMIF - Can I use Asynchronous IF to connect to Synchronous Device ?

Started by Jeff Brower in TMS320c55x18 years ago

Scottie- > I have a USB device hooked off my 5510s EMIF, and can use it quite > happily using asynchronous mode on both DSP and USB...

Scottie- > I have a USB device hooked off my 5510s EMIF, and can use it quite > happily using asynchronous mode on both DSP and USB device. Small problem at this point... USB should be connected to either a) McBSP directly or b) McBSP via small glue logic. For example, use a small CPLD or one of Lattice's cool new small FPGAs with built-in config RAM, connect 8-bit parallel to USB device


5502's idle configuration takes no effect.

Started by myco...@163.com in TMS320c55x16 years ago 4 replies

i want to put some domain of 5502 into idle state,but it does not work. the following is my...

i want to put some domain of 5502 into idle state,but it does not work. the following is my program: MOV #0x00, PDP MOV #0110101110B,PORT(@ICR) IDLE ;XPORT,CLKGEN,CPU enable,peripherials reside on PERIPH bits MOV #pdpIDLE, PDP MOV #01111111000010B,PORT(@PICR) ;using McBSP IDLE ;misc modele,io,mcbsp,timer0 enable MOV #11B,PORT(@MICR) ;HPI,DMA IDLE after these instructions excut...


Re: Serial communication with PC

Started by fbmy...@ncsu.edu in TMS320c55x19 years ago

If anyone is interested, I've implemented a software RS232 transmitter for the C55x. I can give you the code. I have some C functions that can...

If anyone is interested, I've implemented a software RS232 transmitter for the C55x. I can give you the code. I have some C functions that can send strings out @ 115.2kbaud from the McBSP. I haven't implemented asynchronous receiving since I didn't need it and it is a bit more tricky.


Re: Where to purchase a spi based camera module?

Started by in TMS320c55x16 years ago

> I suggest you use the GPIO or MCBSP as I2C, it is simpler than SPI. That's > why you can't buy a camera with SPI easy!

> I suggest you use the GPIO or MCBSP as I2C, it is simpler than SPI. That's > why you can't buy a camera with SPI easy!


Re: FW: DMA/McBSP issue

Started by Anonymous in TMS320c55x23 years ago

GBenga, I finally have my system working at the lowest level. Although there were modest reference to some of my troubles in the...

GBenga, I finally have my system working at the lowest level. Although there were modest reference to some of my troubles in the documentation. They were brief and since the docs are all preliminary, hard to find if you know what you are looking. TI tech support was helpfu


Question:How to connect the interrupt vectors to the ISR in C5510

Started by Aruna in TMS320c55x16 years ago

Hai I am trying to service my McBSP request for Inter-DSP Communication .If anyone could comment on pls do immediately With Regard's...

Hai I am trying to service my McBSP request for Inter-DSP Communication .If anyone could comment on pls do immediately With Regard's Aruna.S.R D&E-SDG **************** CAUTION - Disclaimer *****************This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, retention, distribution or disclosure by others is stric...


mcbsp interrupt problem

Started by in TMS320c55x16 years ago

Hi all,I'm trying to write a program use the receive interrupr in the omap5912 mcbsp1 in the dsp side.I use the CSL in my program,but when the...

Hi all,I'm trying to write a program use the receive interrupr in the omap5912 mcbsp1 in the dsp side.I use the CSL in my program,but when the interrupt occur,it seems that the interrupt services routine don't execute and I can't find what led to that ,any idea about the problem was appreciate.


McBSP on C55

Started by ahma...@yahoo.com in TMS320c55x16 years ago 2 replies

hi 1- Why when I used mcbsp1.pjt on examples\C5502 folder for c5502 dsp some of the definitions for example SPCR1 were not proper for C5502 and I...

hi 1- Why when I used mcbsp1.pjt on examples\C5502 folder for c5502 dsp some of the definitions for example SPCR1 were not proper for C5502 and I changed their sub fields. 2- Why in debuge step of my code, when I use F10 or F5+break point, the result of "PFUNC" function (described in spra177) is false but when I trace my programe using F11 it works properly? Regards