DSPRelated.com

C5402 DSK INTERRUPT PROBLEM

Started by Anonymous in TMS320c54x22 years ago 1 reply

I have a problem with interrupts on the C5402 DSK. I use the IDLE 1 instruction to wait until a BRINT1 interrupt occurs from the...

I have a problem with interrupts on the C5402 DSK. I use the IDLE 1 instruction to wait until a BRINT1 interrupt occurs from the AD50 codec, indicated by IFR=400h. When this occurs, the program does not jump to vector table and hence to the ISR, instead it loops around and waits for


Graph display for the C5402 DSK

Started by pinglilk in TMS320c54x22 years ago 1 reply

Hello all, I'm using the C5402 DSK. When I run the codec program (example), I tried to get the output graph for the...

Hello all, I'm using the C5402 DSK. When I run the codec program (example), I tried to get the output graph for the time/frequency. Although the output to the speaker is correct, I got weird signal on the graph.( I did't use the probe point since the probe point will kill the


C5402 DSK TLC320AD50 SECONDARY COMMUNICATION

Started by Anonymous in TMS320c54x23 years ago 2 replies

Can someone tell me how to invoke secondary communications with the AD50 CODEC on the C5402 DSK (in assembly) ? From the AD50...

Can someone tell me how to invoke secondary communications with the AD50 CODEC on the C5402 DSK (in assembly) ? From the AD50 data sheet, secondary communications can be invoked by writing D0=1 (software secondary request)to DIN, or setting FC=1 (Hardware Secondary communicati


real time problem

Started by seba...@seareka.com in TMS320c54x16 years ago

Hi everyone, I am working on DSK5416 and CCS. I'm doing real-time using DMA and McBSP to communicate with the codec. I'm working with 16...

Hi everyone, I am working on DSK5416 and CCS. I'm doing real-time using DMA and McBSP to communicate with the codec. I'm working with 16 bits words and with DSP/BIOS configuration. I would like to know if the problem that I have is coming from data alignment. After interruption (full buffer: 1024 words of 16 bits) I use the following function: Interrupt function(){ int i=0,maxisync,maxica...


What is wrong in initialization codec in C5402 DSK

Started by bakhtvar in TMS320c54x22 years ago

Hello all; I bought C5402 DSK and wrote this code to initialize McBSP1 for AD50 #include #include /* global functions...

Hello all; I bought C5402 DSK and wrote this code to initialize McBSP1 for AD50 #include #include /* global functions */ extern int init_54x(); extern void wait(unsigned int N); void main() { int cod


Accessing I/O space on dsk5416

Started by Siva Anne in TMS320c54x16 years ago 1 reply

hi all, thanks for the support given so far to me, At present i am doing a project on DSK5416, project is to implement LPC coder on DSK...

hi all, thanks for the support given so far to me, At present i am doing a project on DSK5416, project is to implement LPC coder on DSK 5416. DSK5416 consists PCM3002E codec, this is interfaced through CPLD on board. This CPLD is interfaced in I/O space of the 5416 DSP chip. my doubt is accessing this I/O space in high level language. i have attache a screen shot which spectrum fellow h...


About G.728.

Started by aihaojun in TMS320c54x23 years ago 1 reply

I am doing G.728 Annex G. CODEC. Our coder can pass all test serials correctly. But my decoder can pass the test serials in DISK4,...

I am doing G.728 Annex G. CODEC. Our coder can pass all test serials correctly. But my decoder can pass the test serials in DISK4, which is for step by step test. When I test my decoder using the 'cw1.bin' in DISK1, many problem was presented. cw1.bin is used when post-fi


Connect codec PCM4201EVM board to DSK5416 Board

Started by seba...@seareka.com in TMS320c54x16 years ago

-Jeff "On C54xx devices, SPCR1[0] access requires a sub-address setting; i.e. SPCR1 register, port 0 (McBSP0). Therefore you have to set...

-Jeff "On C54xx devices, SPCR1[0] access requires a sub-address setting; i.e. SPCR1 register, port 0 (McBSP0). Therefore you have to set SPSA0 first (located at address 0x0038). Are you doing that before trying to read RRDY?" I open the McBsp0 using DSP/Bios Configuration. So I'm wondering, Is the SPSA0 set automatically when using DSP/Bios Configuration ?


Doubt

Started by Artham Sridhar in TMS320c54x17 years ago

Hi All, I am doing porting work of AMR Speech Codec(NB) on TMS320C5416. When I use extended memory, I found that fread(File Read...

Hi All, I am doing porting work of AMR Speech Codec(NB) on TMS320C5416. When I use extended memory, I found that fread(File Read Function) and fwrite(File Write) are not working. When I am not using extended memory option, I am able to read and write using fread and fwrite respectively. I have tried with probe points, it is working. Can any body tell how to read and write a file using...


MCBsp and DMA syncronization problem

Started by m_mo...@yahoo.com in TMS320c54x13 years ago

Dear all In 5416 DSP processor : I used MSBSP number 0 and 1 to get CODEC sound data by using DMA channel 4 and 5. Both DMAs are used to get...

Dear all In 5416 DSP processor : I used MSBSP number 0 and 1 to get CODEC sound data by using DMA channel 4 and 5. Both DMAs are used to get data from mcbsp ports. Frame sync and clock signals are input to this DSP processor. But I have reset problem. When I reset the board I find that sometimes input data is correct and has no problem but some other times input data is not correct. and s...


Trigger multiple DMA's off same event?

Started by Brian C. Lane in TMS320c54x18 years ago 1 reply

Is it possible to trigger 2 DMA's off the same McBSP event? Eg. McBSP codec receive event triggers a receive DMA which reads data from...

Is it possible to trigger 2 DMA's off the same McBSP event? Eg. McBSP codec receive event triggers a receive DMA which reads data from that McBSP. Same receive event triggers a different DMA that writes to a different McBSP's transmit register. Can this be done? Thanks, Brian -- ----------------