2009-03-12 09:30 AM
Using CRC error flag with SPI RX
2011-05-17 04:06 AM
In the SPI_SR register is a CRCERR flag, used (I presume) to show a CRC error on SPI receiving a block of data. At what point does the CRC flag get set? How does the CRC unit know when the SPI port is finished transferring a block of data, or more specifically, when should this flag be tested?
I assume the flag is set when the last halfword in a receive (16 bit transfers) is not a valid CRC for the block.