Hi,
thanks for your previuos answer about my problem with mcbsp and Edma3 configuration in C6455. In particular, you say:
"Make careful examination of the CHANNEL_SET commands that you use. These may not be necessary, but I am not positive just from looking at the code."
this uncorrect operation at the end of the edma initialization trigger one event in the EDMA register and, when the dsp start, we had the data shift out.
Now I have another question:
the clock and frame sync of the mcbsp are generated by an external device. I synchronize my mcbsp and the edma to manage a multichannel tdm stream correctly. In some situation, the external device can restart the generation of clock and frame sync. This operation cause a lost of synchronization between the multichannel tdm stream and the my emda internal structure (Acnt, Bcnt and so on).
I can't find a method to recognize a frame sync change and reinitialize the edma.
I try to detect this event with the mcbsp but this peripheral trigger an interrupt only when the new Frame sync is in the middle of a word.
Now I try to generate an interrupt by the mcbsp for every frame sync and to check, in a HWI function, the value of the param of the edma.
Do you know if there is another method?
thanks in advance