Part Number:AM3358
Tool/software: Linux
I am using DMA to service the MCASP and using a known sine wave input to validate the setup. I am getting discontinuities in the wave at random intervals which look like dropped data. When this occurs the MCASP gives no indication of an overrun or DMA error.
I saw the following post which describes similar behavior:
https://e2e.ti.com/support/dsp/omap_applications_processors/f/42/t/150666
The solution for the post above was fix something that was missed in the initialization sequence.
In my case I am clocking data into the MCASP while using the transmit clocks (ACLKXCTL ASYNC bit is cleared). The TRM section 22.3.12.2 indicates the receive registers should be set prior to the transmit registers. However it also indicates if an external clock is used it must be running prior to initialization. If the transmit section clocks the receive section should it be configured first? At what point in this sequence should RFIFOCTL and REVTCTL be configured?