COde SOURCE USING MCBSP FIFO FOR F2811

Started by yoyo in comp.dsp14 years ago

Hello, Is there any one who is using the MCBSP FIFO FUCNTIONS ON TMS320 F2811? I have many problem to use it because of wors that are lost...

Hello, Is there any one who is using the MCBSP FIFO FUCNTIONS ON TMS320 F2811? I have many problem to use it because of wors that are lost in reception. Is there any source code available? Yoyo


question about dsp/bios configration

Started by Anonymous in comp.dsp14 years ago 1 reply

Hey ,everyone.I am studying the TIDSP.what i am using is the TMS302C5410.the software version is code composer studio 3.1.when i creat a new...

Hey ,everyone.I am studying the TIDSP.what i am using is the TMS302C5410.the software version is code composer studio 3.1.when i creat a new configration file,i find that the MCBSP setting has Advanced A,and Advanced B. i think that the mcbsp registers likes the SPCR1,SPCR2,RCR1,RCR2 and so on ,have been set in the figure .Need i set the Advanced A and Advanced B ? In the Advanced A ,there a...


Problem with C6713's McBSP interfacing with an I2S CODEC

Started by Jessecw in comp.dsp12 years ago 1 reply

Hi All, I am going to connect an audio CODEC with C6713. And the CODEC has no DSP mode. So I want to use McBSP as an I2S bus. ...

Hi All, I am going to connect an audio CODEC with C6713. And the CODEC has no DSP mode. So I want to use McBSP as an I2S bus. Here are parts of my schematic. DSP C6713: CODEC: CLKX1----------+ +------------MCLK (bit clock signal) CLKR1----------+ FSX1-----------+ +------------LRCK ...


TI C55 McBSP frame-sync

Started by chc in comp.dsp16 years ago 1 reply

Hi, The C55 McBSP works fine if the frame-sync is generated by an external source, or a timer or Sample Rate Generator. But, I want to...

Hi, The C55 McBSP works fine if the frame-sync is generated by an external source, or a timer or Sample Rate Generator. But, I want to generate a single frame-sync asynchronisly on request and let the DMA do the rest of process. Is there any way to do it? To load DXR[1, 2] did kick off, but the DMA transfer did not take place. I have read TI documents and just cannot find a way to do it. M...


does anyone use DSP/BOIS to program mcbsp interrupt?

Started by Anonymous in comp.dsp14 years ago

Hey,all.Does anyone use the DSP/BIOS to implement the MCBSP interrupt program? I have some puzzles about this aspect.If anyone can give me...

Hey,all.Does anyone use the DSP/BIOS to implement the MCBSP interrupt program? I have some puzzles about this aspect.If anyone can give me some suggestions or examples,I'm very grateful. the follows is my experiment program,however,it does not effect. #define CHIP_5410 1 #include #include #include #include "mcbsp_excfg.h" extern MCBSP_Handle hMcbsp0; ex


Configure multi channel McBSP

Started by y17476 in comp.dsp9 years ago 1 reply

Dear group, I have a question in configuring multi channel McBSP. if XMCM =01,PHASE=0, XFRLEN =0, XWDLEN =010b, and I want to enable a 16...

Dear group, I have a question in configuring multi channel McBSP. if XMCM =01,PHASE=0, XFRLEN =0, XWDLEN =010b, and I want to enable a 16 bit channel, say channel 1, I should set XCERA = 3(enable time slot 0 and 1) or just set XCERA = 1 ? Thanks in advance! Ron


Problem with DSP C6713

Started by in comp.dsp13 years ago

Hi, I hope, this is a right newsgroup for my question. I have a DSK with C6713 DSP. I'm sending data to McBSP by EDMA. Data is testing...

Hi, I hope, this is a right newsgroup for my question. I have a DSK with C6713 DSP. I'm sending data to McBSP by EDMA. Data is testing sequence, Uint8 Buffer[256]. Buffer[0] to [255] = 0xAA (10101010). Peripherial frequency is 100MHz. All is configured by DSP/BIOS Config. When I set McBSP Clock freq. Divider to 4 (one bit = 40ns) everything is OK. On DX pin is 101010101...


TI 5509a mcbsp / dma problem

Started by teeretz in comp.dsp15 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 for McBSP1 but if I...

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" loop. (I've noted the mods "wont work"). This should be simple. I'm also a bit confused DMA config structure line. It looks to me it gets w...


mcbsp interrupt program

Started by Anonymous in comp.dsp14 years ago 1 reply

hey,all.I want to using the MCBSP interrupt to program.but i met some troubles.I puzzled about the dsp/bios interrupt program. I hope...

hey,all.I want to using the MCBSP interrupt to program.but i met some troubles.I puzzled about the dsp/bios interrupt program. I hope someone can give me some suggestions about my trouble. thanks in advance. the program follows: #include #include "ex3cfg.h" #include extern MCBSP_Handle hMcbsp0; extern MCBSP_Config mcbspCfg0; Void main() { CSL_init(); CSL_


McBSP problem on F2812

Started by yoyo in comp.dsp14 years ago 1 reply

Hye, I ve been using McBSP bus for communication bewteen several DSP. One is master and provides the clock for Transmission adn reception to...

Hye, I ve been using McBSP bus for communication bewteen several DSP. One is master and provides the clock for Transmission adn reception to the other boards. For the reception, I used interruption generation when XRDY is dectected. For the transmission i don t use interruption. All the DSP are in reception status . The master address the 1st DSP , and wiat ofr the answer (Transmission ...


5509a, McBSP and one frame sync

Started by AimoParru in comp.dsp13 years ago

Hello, I've been trying send 32 bits data to McBSP asychronously. Just generate one frame sync internally and then send 32 bits data. I'm...

Hello, I've been trying send 32 bits data to McBSP asychronously. Just generate one frame sync internally and then send 32 bits data. I'm using external clock. Now frame sync comes all the time and even the 32 bits are sent many times even I sent it once. How to configure? Is there any way to do it? Thanks, Parru


Texas DSP 2812 and McBSP

Started by Torgeir Jakobsen in comp.dsp15 years ago 2 replies

Hi all DSP experts :-) I have a problem with the McBSP receive interrupt on the 2812 DSP from Texas. Do anyone have working code on this DSP...

Hi all DSP experts :-) I have a problem with the McBSP receive interrupt on the 2812 DSP from Texas. Do anyone have working code on this DSP ? I have done much the same as on the 5510 DSP where I did not have this problem, so I do not understand why it is not working here ? Thanks in advance. Torgeir -- Best regards Torgeir Jakobsen Development Engineer, Technology Department Aa...


'5509A DMA - 16bit src to 32bit dst

Started by IGW in comp.dsp13 years ago

Hello all, Can the TI '5509A DMA be used to take 16-bit data from a MCBSP port (from a audio ADC, using I2S framing) and dump this into RAM...

Hello all, Can the TI '5509A DMA be used to take 16-bit data from a MCBSP port (from a audio ADC, using I2S framing) and dump this into RAM buffer like this: 0x0000 left[n] 0x0000 right[n] 0x0000 left[n+1] 0x0000 right[n+1] etc where left[n] is the nth 16-bit (left) sample from the McBSP. I think I can do it using the "single index" mode with an appropriate index programm...


Can McBSP as spi master support only one slave device ?

Started by Jack in comp.dsp16 years ago 2 replies

I am using the McBSP as a spi master. Can it support only one slave device or does it have the capability to support multiple slaves. I know...

I am using the McBSP as a spi master. Can it support only one slave device or does it have the capability to support multiple slaves. I know that dedicated spi master modules on other processors I have worked with have support for more than one device through a few chip selects. Any help is appreciated, Jack


Receive/Transmit operations of the McBSP DSK6713

Started by laurasscurtu in comp.dsp4 years ago

Hello, I am a DSK6713 user and I am interested in knowing how data is received/ transmitted by the McBSP from/to the AIC23 codec. In the...

Hello, I am a DSK6713 user and I am interested in knowing how data is received/ transmitted by the McBSP from/to the AIC23 codec. In the AIC23 data sheet I have read, that in the DSP mode, the LRCIN/ LRCOUT signals are the one who decide when the data transfer starts. When the LRP bit is set to 0 the LRCIN/LRCOUT signals overlap the MSB. Due to the fact that the transfer occurs at the fallin...


Ouput an array of data to mcbsp on a 6711?

Started by Brain101 in comp.dsp15 years ago 2 replies

I am coding for a 6711 in C. I have an array of sampled data, which I would like to output via the McBSP. Unfortunatly, on compiling I get the...

I am coding for a 6711 in C. I have an array of sampled data, which I would like to output via the McBSP. Unfortunatly, on compiling I get the error message "argument of type "unsigned int *" is incompatible with parameter of type "int"". Does this think I'm trying to use a pointer? All i want to do is output the entire array. Can anybody please help me? int i; short int input1; short ...


Problem with McBSP XWDLEN

Started by in comp.dsp13 years ago 1 reply

I'm developing on DSK with C6713. A want send data by EDMA at 100MHz to McBSP0. I configured EDMA and McBSP by DSP/BIOS Configurator. ...

I'm developing on DSK with C6713. A want send data by EDMA at 100MHz to McBSP0. I configured EDMA and McBSP by DSP/BIOS Configurator. But, there is a problem. When I set Element length XWDLEN to 16-bits, everithing is OK, but, when I set Element length to 8-bits, output data are inconsistent. Example, when I sending 0xAA (10101010) at loop... 16-bits - OK - 1010101010101010...


How to config McBSP to receive 32 bits in TMS320c6713.

Started by nageshwar in comp.dsp4 years ago

hi I have connected microphone to tms320c6713. I am unable to get 32 bit data from MCBSP (i am geting 16bit 2 complement no.) I am stuck as I...

hi I have connected microphone to tms320c6713. I am unable to get 32 bit data from MCBSP (i am geting 16bit 2 complement no.) I am stuck as I want to read 32 bit data from microphone and divide it into two 16 bit no( left and right), to read the data i am using " while (!DSK6713_AIC23_read(hCodec, &IN_L))" . hCodec = DSK6713_AIC23_openCodec(0, &config); and Uint32 IN_L . thanks Nageshwar...


MCBSP Configuration

Started by sr in comp.dsp12 years ago

Hi all, I am using TI's c5502,codecomposer studio 3.3.When I configure the McBSP ,the Serial Port Control Register values are infact...

Hi all, I am using TI's c5502,codecomposer studio 3.3.When I configure the McBSP ,the Serial Port Control Register values are infact confusing.SRGR1 has the following bits DLB, RJUST, CLKSTP,DXENA,RINTM ,RSYNCERR ,RFULL ,RRDY ,RRST and SRGR2 has FREE ,SOFT,FRST ,GRST, XINTM ,XSYNCERR ,XEMPTY ,XRDY ,XRST.But the peripheral register window shows the bits FREE ,SOFT,FRST ,GRST, XINTM ,XSYNCERR ,XE...


using MCBSP and MCASP

Started by devi in comp.dsp13 years ago

hi, I'm trying to interface audio codec and SDcard with DSP[DM642]... SDcard is connected with MCBSP port and audio codec is connected...

hi, I'm trying to interface audio codec and SDcard with DSP[DM642]... SDcard is connected with MCBSP port and audio codec is connected with MCASP0.... I'm also using Video port 1 and video port 2.. In the datasheet, it is given that MCASP0's control is in videoport 0 and data is in videoport 1... My doubt is i'm using videoport 1 for video in interfacing... If i connect the MCASP...