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.

C55 MCBSP TX and RX FLUSH

Hi,

I have two C55 dsp connected using McBSP.

 

I am using the CSL to transmit an array of data from one DSP to the other.

I am using a polling method for both DSPs. This is test code and I will use DMA to perform the transactions.

However at present in order to transmit an array I have to write two more dummy words to flush the transmit buffers.

I have used both the internal FSG and also used a mode to trigger a Frame sync when data is transferred from teh DX to DSR.

I want to write two blocking functions to do the transfer, one for read  and the other for write. The read routing is fine. The write

routine has two extra writes in there to get the data out of the McBSP.

What is the correct way to do this as I will have to reset the McBSP after a period so that on the next array tranfer the two extra writes

are not seen as real data.....

Thanks

P