Other Parts Discussed in Thread: SYSBIOS,
Tool/software: Code Composer Studio
Hi,
I'm working on the TI example project (MCASP_DeviceLoopback_idkAM571x_c66ExampleProject) generated with pdk_am57xx_1_0_11 (CCS v8.3.1, SYSBIOS 6.52.0.12).
In this project, the default device is McASP3 and the loop works fine with both internal level (McASP module-level) and chip I/O-level loopback modes. (IOLBEN=0 and IOLBEN=1). (AXR0=output, AXR1= input)
In my board, Sitara AM5716 is connected to a PLD with McASP4. I've made all the settings to move from McASP3 to McASP4. When I make the loop at the internal level (McASP module-level), the output data are equal to the input data and the test passes. From this (path DSP-EDMA-McASP4-EDMA-DSP), I suppose that the registers for EDMA, IRQ_CROSSBAR, DMA_CROSSBAR, DSP_IRQ are correct.
The problem is in the chip I/O-level loopback mode: the input data are all 0s. At the output pin (AXR0) I see with an oscilloscope the data as expected.
I suppose I missed a configuration when I moved from McASP3 to McASP4, but I can't find it.
Can you help me.
Thank you.
Francesco