Cool! So this reports that in the RSTAT 0x104
is stored says receive clock failure and receive DMA error:
Receive DMA error flag. RDMAERR is set when the CPU or DMA reads more serializers through the
data port in a given time slot than were programmed as receivers.
Does the following (from Spi_Codec.cpp
mean that there are 0 in serializers and 2 outserializers or that 0 is the in serializer and 2 the out serializer?
mcaspConfig.params.inSerializers = {0};
mcaspConfig.params.outSerializers = {2};
The clock error is also set in the XSTAT
register, so that would suggest there's still something wrong with the clock signal..
Time to oscilloscope again..
Are errors in these error registers cleared each time McASP is initialized (which is every time I hit run right?)