Hello,
We are using an AM1705 processor in our product, and we heavly depend on serial port
for peripherics communication, but there are some behavior issues with am1705 mcasp.
If we use burst mode to simulate a spi like transfer, the receive buffer is filled with 0's in the
first three bytes, the first byte of the transfer appears in the third position of the rx buffer,
and last three bytes of the transfer are lost .Something simular happens with TDM mode,
in the first transfer we get the first 3 channels with 0's, then, real channel 0 starts at slot 3, but
unlike burst mode, in the next transfer we receive the last 3 channels of the last transfer as the first
3 channels of the actual transfer.
This behavior happens with or without using DMA transfer, with and without FIFO enabled. This
problem occours in our linux driver and in a small test program that does not use any OS.
The mcasp is always configured in SYNC mode, using tx clock and tx fs, the two can be provided
from an external source by the internal clock.
Any suggestions for correcting this problem?
Regards,
Alessandro