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.

McBSP only receives data once..?

Other Parts Discussed in Thread: TMS320F28335, PCM4222EVM

I'm using an eZdsp TMS320F28335 board connected to a PCM4222EVM, and I've finally been able to get the McBSP sort of working...

However, the McBSP will only receive one frame of data. I wait for the RRDY flag to go high, which signifies new data in the DRR registers, at which point I read from the DRR into an array. Reading from the DRR1 register sets the RRDY flag low again, but after this it never returns to high, meaning no more data is being copied to the DRR. 

Is there something I have to clear to allow more frames to be read into these registers?

  • Probably you forgot to set  RUN bit in CONTROL register which starts whole DMA state machine from the beginning ( in case when you have continuous mode turned off)

    To receive new data from DMA try to add this line in code:

    DmaRegs.CH2.CONTROL.bit.RUN = 1;