This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Interfacing the eZdsp TMS320F28335 with a PCM4222EVM (and interrupt issues)

Other Parts Discussed in Thread: TMS320F28335, PCM4222

Lately I've been trying to interface the PCM4222 audio CODEC with the TMS320F28335 development kit. I have the 4222 working fine and functioning well as an ADC, however when it comes to having the TMS320 write the input from this to memory via the McBSP it doesn't work.

My main problem is that I can't seem to get the DMA interrupts to function correctly. I've looked at a few example such as the DMA.Ch1 -McBSP-DMA.Ch2 example, and I can kind of follow how it functions. However, as soon as I try to make any modifications to the DMA setup, for example, remove/change DMA Ch1 setup in the code (responsible for transmitting to McBSP in the example) and try to just use Ch2 (for receiving McBSP), the interrupt for the remaining channel just stops working entirely.

I don't know what I'm missing here, but clearly I have a gap in my knowledge of how these interrupts are supposed to function. I was hoping that someone here could possibly point me in the right direction with this problem, and maybe give me tips on interfacing these two boards also.

It might also be worthy to note, I'm only planning on reading one ADC channel from the PCM4222, and I have it set up to transmit from the Audio Serial Port as I2C.

 

Many thanks in advance,

Craig