DSPRelated.com

External frame/clock synchronization

Started by dcar...@solacom.com in TMS320c55x18 years ago

How does a DMA synchronize to the first element of the McBSP? The McBSP will send events to the DMA on every element transfer, but how does the...

How does a DMA synchronize to the first element of the McBSP? The McBSP will send events to the DMA on every element transfer, but how does the DMA synchronize to an EXTERNAL frame synch (and clock)? Should the McBSP frame interrupt be used to start the McBSP transmitter/reciever? Presently the DMA is started and subsequently the McBSP. The McBSP is started irrespective of the external frame...


DMA/McBSP issue

Started by Anonymous in TMS320c55x25 years ago

Fellow C5510 users. I'm having trouble getting the DMA's to work in conjunction with the McBSP's. Here is what I'm doing. I'm...

Fellow C5510 users. I'm having trouble getting the DMA's to work in conjunction with the McBSP's. Here is what I'm doing. I'm using all the McBSP's and DMA's to transfer samples in and out of the McBSP's, each McBSP is connecte


DMA-Mcbsp

Started by paul99336 in TMS320c55x24 years ago

I have an Mcbsp configured to operate as an SPI in clock stop mode. I have one DMA channel configured to write to the Mcbsp...

I have an Mcbsp configured to operate as an SPI in clock stop mode. I have one DMA channel configured to write to the Mcbsp transmitter using the transmit sync event, and another DMA channel configured to read the Mcbsp receiver using the receive sync event. I have the Mcbsp set to o


C5501's McBSP as SPI for TDM operation?

Started by bhushan_job in TMS320c55x20 years ago 3 replies

Hi All, I am a new member to this group. I have a query, In C5501, McBSP as SPI for TDM bus is what I'm trying to understand. I want to...

Hi All, I am a new member to this group. I have a query, In C5501, McBSP as SPI for TDM bus is what I'm trying to understand. I want to know whether for C5501's McBSP as SPI can be used for TDM operation? I have referred TMS320VC5501 McBSP Ref Guide (SPRU592E). The document says for SPI mode configuration XFRLEN1 & RFRLEN1 bits of XCR1 set to '0' meaning we must use a trans...


strange DMA behaviour

Started by Ulf in TMS320c55x19 years ago 1 reply

Hi! I=B4ve a very strange DMA behaviour. I use a DMA to sent data from memory to the mcbsp transmit register=20 and another DMA to sent the...

Hi! I=B4ve a very strange DMA behaviour. I use a DMA to sent data from memory to the mcbsp transmit register=20 and another DMA to sent the received data from the mcbsp receive=20 register to memory. I use a circular buffer for the transmit register=20 as well as for the received data. The mcbsp uses the same frame sync=20 for receiving and transmitting and the transmit DMA uses the mcbsp=...


McBSP Ports Switch Problem

Started by me_a...@yahoo.com in TMS320c55x17 years ago 1 reply

Dear All I'm using McBSP#0 of C5510 DSK. Sending out some 32bit data and receiving via the same port works as I predict. But... Changing...

Dear All I'm using McBSP#0 of C5510 DSK. Sending out some 32bit data and receiving via the same port works as I predict. But... Changing port from "McBSP#0" to "McBSP#1" does not work...Why? In this condition Loop Back mode works and there is no problem but disabling DLB fails. ---Any help would be appreciated--


Source code to write into the McBSP registers on DSK5510

Started by Aditi Akula in TMS320c55x16 years ago 2 replies

Hi All, I am working on DSK5510 and want to initialize the McBSP ports on it. McBSP1 for writing control data into the CODEC. I do not want...

Hi All, I am working on DSK5510 and want to initialize the McBSP ports on it. McBSP1 for writing control data into the CODEC. I do not want to use CSL/BSL for writing to the McBSP registers. Just saw some example project dsk1_app.pjt in the example projects. It uses the some functions to write to the McBSP registers (like DSK5510_init(), Mc_BSP_Start()....) I want to have source code fo...


McBsp and DMA synchronization

Started by iewil2000 in TMS320c55x19 years ago 2 replies

Dear group, McBsp receives L&R channel of audio. It sends out a REVT to DMA to enable DMA's transfer. It has worked well for a while. But...

Dear group, McBsp receives L&R channel of audio. It sends out a REVT to DMA to enable DMA's transfer. It has worked well for a while. But when I require the DMA alwasy start from audio sample of left channel, I don't have any means to do that. McBsp don't have "left channel REVT", it sends REVT for each recieving word. I appreciate any input. Wei


wiring one McBsp to one codec (AIC23)

Started by iewil2000 in TMS320c55x21 years ago 1 reply

Dear list, I am trying to make a circuit board with 2 codecs, I have two McBsps available for this purpose. I studied the schematics of...

Dear list, I am trying to make a circuit board with 2 codecs, I have two McBsps available for this purpose. I studied the schematics of 6713 DSK, Spectrum uses two McBsps for one AIC23, McBsp 1 for control interface to set up the AIC23, McBsp 2 for audio interface for exchanging digital audio. My problem becomes how to connect one AIC23 t


DSP Bios and multiple UARTS

Started by rakadar in TMS320c55x19 years ago 1 reply

Hello, I am working on a FleXDS evaluation board of the DSP TMSC5509A from FleXDS. The board contains the three terminals McBSP's ports. To...

Hello, I am working on a FleXDS evaluation board of the DSP TMSC5509A from FleXDS. The board contains the three terminals McBSP's ports. To communicate with Windows hyperterminal, I use the software UART minidriver from the Texas Instrument DDK 1.20. The exemple of the Software UART provided in the DDK works well. But, in my project, I want to use two McBSP's ports. To test both McBSP's...


Reg McBSP

Started by nash...@yahoo.com in TMS320c55x19 years ago

Hi, can anybody let me know the McBSP configuration when DLB mode is OFF. If I select DLB ON it works fine . Samething if I do external...

Hi, can anybody let me know the McBSP configuration when DLB mode is OFF. If I select DLB ON it works fine . Samething if I do external connection, (for testing purpose I have physically shorted the pins DX and DR , CLKX and CLKR, FSX and FSR of EVM5502 McBSP) it will not . Thanks in advance Nagananda Shet


Flushing McBSP on c5510

Started by smiffoz in TMS320c55x19 years ago 1 reply

Hi All, I'm using the McBSP's on the c5510 device and I'm having issues with the states of the SPCR registers, after I initialise the McBSP...

Hi All, I'm using the McBSP's on the c5510 device and I'm having issues with the states of the SPCR registers, after I initialise the McBSP with the following commands: /* Start MCBSP1, Probe Comms IF, Sample Rate Gen. and Frame Sync */ MCBSP_start(hMcbsp1, MCBSP_SRGR_START | MCBSP_SRGR_FRAMESYNC, 0x300); /* Enable MCBSP1 transmit and receive */ MCBSP_start(hMcbsp1, MCBSP_XMIT_START |...


McBSP as Slave Without Multiple FSR Strobes

Started by rotenovt in TMS320c55x19 years ago 8 replies

Hi All, I have a device that is sending synchronous data (clock & data) to my 5510 DSP. The clock is continuous and does not stop when the...

Hi All, I have a device that is sending synchronous data (clock & data) to my 5510 DSP. The clock is continuous and does not stop when the device is powered. I am using a McBSP in SPI Slave mode. I understand that I need to initially assert the FSR line so that the McBSP can begin receiving data. I assert the FSR line with a GPIO on the DSP. I correctly receive the first frame...


Interfacing with MCBSP on the 5510 DSP

Started by dementedstatus in TMS320c55x18 years ago 3 replies

Hi, I'm having trouble performing a simple interface with the MCBSPs on the board. My main goal right now is just to write a value to a...

Hi, I'm having trouble performing a simple interface with the MCBSPs on the board. My main goal right now is just to write a value to a MCBSP and read the value back out. My main problem is although I initialize MCBSP for both transmit and receive with MCBSP_start(hMcbsp0, MCBSP_RCV_START | MCBSP_XMIT_START | MCBSP_SRGR_START| MCBSP_SRGR_FRAMESYNC, 0). After writing a value to hMcbsp0,...


McBSP and CLK

Started by sear...@yahoo.com in TMS320c55x17 years ago 1 reply

Hi all, I work with Mcbsp port0 on dsk5510.when I send data by transmitter I see clock pulse on clkx0 (pin# 21) of P2 on dsk.but if I don't...

Hi all, I work with Mcbsp port0 on dsk5510.when I send data by transmitter I see clock pulse on clkx0 (pin# 21) of P2 on dsk.but if I don't transmit data the clock pulse stop too. How I must configure the Mcbsp to always see clock pulse. Thanks.


DSK5510 McBSP as master/slave in SPI mode

Started by mtrend123 in TMS320c55x19 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...


5509a MCBSP SPI slave and receive interrupts

Started by aimo...@gmail.com in TMS320c55x18 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)); ...


using McBSP to do parallel data transmission

Started by Randy Hoo in TMS320c55x18 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...


5502's idle configuration takes no effect.

Started by myco...@163.com in TMS320c55x18 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...


uart using c5510

Started by jack...@hotmail.com in TMS320c55x12 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...