DMA-Mcbsp

Started by paul99336 in TMS320c55x17 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


McBSP Ports Switch Problem

Started by me_a...@yahoo.com in TMS320c55x11 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--


DMA/McBSP issue

Started by Anonymous in TMS320c55x18 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


External frame/clock synchronization

Started by dcar...@solacom.com in TMS320c55x11 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...


Reg McBSP

Started by nash...@yahoo.com in TMS320c55x13 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


C5501's McBSP as SPI for TDM operation?

Started by bhushan_job in TMS320c55x13 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...


Source code to write into the McBSP registers on DSK5510

Started by Aditi Akula in TMS320c55x9 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...


Interfacing with MCBSP on the 5510 DSP

Started by dementedstatus in TMS320c55x12 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 TMS320c55x11 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.


Flushing McBSP on c5510

Started by smiffoz in TMS320c55x12 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 |...


wiring one McBsp to one codec (AIC23)

Started by iewil2000 in TMS320c55x14 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 TMS320c55x13 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...


strange DMA behaviour

Started by Ulf in TMS320c55x13 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 as Slave Without Multiple FSR Strobes

Started by rotenovt in TMS320c55x12 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...


McBsp and DMA synchronization

Started by iewil2000 in TMS320c55x12 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


uart with dma and mcbsp

Started by ahma...@yahoo.com in TMS320c55x11 years ago

hi; I have written a C code for c5510 using mcbsp and DMA, but in receiving for first byte it worked properly but for next bytes it receive the...

hi; I have written a C code for c5510 using mcbsp and DMA, but in receiving for first byte it worked properly but for next bytes it receive the false data or doesn,t receive any data. Do you know why? Regards


Interfacing si3034 to C55x via McBSP

Started by Madhuvanthi Rao in TMS320c55x15 years ago 1 reply

Hello, I am trying to interface the TMS320C5510 to the telephone line through the codec si3034. I am programming the codec...

Hello, I am trying to interface the TMS320C5510 to the telephone line through the codec si3034. I am programming the codec through the McBSP port 2. The interrupts seem to be generated but when I try to go off-hook, it doesn't happen. What coul


RE: Code execution sequence

Started by liwe...@gmail.com in TMS320c55x14 years ago 1 reply

I believe I have got the answer with your and TI tech support's help. The problem of MCBSP_write16() is that it only sent data to DXR, and a...

I believe I have got the answer with your and TI tech support's help. The problem of MCBSP_write16() is that it only sent data to DXR, and a long way from XSR to DX is left unsupervised by the code. If one want to write one UINT16 by McBsp and then close the McBsp. I believe the following is the best way to do it. while (!MCBSP_xrdy(hMcbsp1)); MCBSP_write16(hMcbsp1, 0x3579); // 0x3


Newbiew q about McBSP and DMA

Started by davidganor in TMS320c55x17 years ago

Hi all, I pretty new to C55x, so please bare with me... I've read the "TMS320C55x DSP Peripherials Reference Guide", the...

Hi all, I pretty new to C55x, so please bare with me... I've read the "TMS320C55x DSP Peripherials Reference Guide", the chapters dealing with DMa and McBSP. I've reviewed the examples that came with the C5510 DSK. What I'm trying to do? Write a driver th


some question About Mcbsp

Started by Randy Hoo in TMS320c55x12 years ago

Hi, I am dong a project about Mcbsp. When I use the 5510 ccs simulator to debug my programme, I met some problems. 1, When I use the...

Hi, I am dong a project about Mcbsp. When I use the 5510 ccs simulator to debug my programme, I met some problems. 1, When I use the bios/dsp config to set the parameter of mcbsp0, the generated function CSL_cfgInit() can not work appropriately. In fact it can be complied with no erros. But it is reported that "Can't Run Target CPU: WARNING: PAGE BOUNDARY CROSSING DETECTED AT PROGRAM CO...