Part Number: TMS320C6657
Tool/software: TI-RTOS
Hi - I installed the processor_sdk_rtos_c665x_5_03_00_07 and in the process of porting our McBSP driver. I am running into an issue where data is not being received in the expected order. I have the McBSP configured in loopback mode and the TCC DMA configured to receive the appropriate events. Verified the TX/RX events are occuring and that the Param blocks are settup and executing correctly. The DMA is configure to transfer data using the McBSP FIFO. Everything seems to be plumbed correctly but there is an issue with how the data is being transfered. Using fixed data in the transfer buffer, received data is not coming in on the same slot or even sequentially. Looks like data is missing or randomly being transfered between the TCC DMA and McBSP FIFO. It is diffucult to debug any further since there are no errors reported.
Questions:
Q1. The c6657 does not have access to pin mux and gpio blocks like other processors. The blocks in the c6657 are powerd on by default and the need to configure any gpio or pin mux is not obvious. The only detail that I am not confident with is if there requires initialization of these gpio and pin mux registers to run the McBSP in Loopback mode?
Q2. Is there any method to isolate DMA data being sent to the McBSP TX FIFO and what DMA data is being read out of the McBSP RX FIFO?
Q3. I have set up manual data transfers using the McBSP and verifyied data being sent is received. One concern that I have is that if I don't put a delay between wrting TX data and reading RX data then I don't reliably get expected data. I was expecting testing for RRDY and XEMPTY would be adequate. Was wondering if this is expected and if not may be related to the DMA issues I am seeing?
Thanks,
-Steve