Question
Wrong RXCRC for SPI3 with 18Mhz
Posted on April 03, 2012 at 11:57
Tx frame : spiFrameWithoutCRC (matlab endian) = '0400050000000000000000000000000000000000000000000000000000000000000000000000'; calculated crc : 990B txcrc: 990B Rx frame: spiFrameWithoutCRC( matlab endian) = '0100020000000000000000000000000000000000000000000000000000000000000000000000'; calculated crc: 5A0 (binary 10110100000) rxcrc: 2D0 (binary 1011010000) data register: 5A0 Here is just to be sure a 9MHz result
#crc16 #spi
I've interesting behavior on STM32F105VC. I have SPI3(remmaped) master with SPI auto CRC calculation (RXCRC,TXCRC). For 9Mhz it is fine, for 18Mhz I receive all words correct, including
CRC, but RXCRC register is wrong and CRCERR is set. See below 18 MHz result
Tx frame : spiFrameWithoutCRC (matlab endian) = '0400050000000000000000000000000000000000000000000000000000000000000000000000'; calculated crc : 990B txcrc: 990B Rx frame: spiFrameWithoutCRC( matlab endian) = '0100020000000000000000000000000000000000000000000000000000000000000000000000'; calculated crc: 5A0 (binary 10110100000) rxcrc: 2D0 (binary 1011010000) data register: 5A0 Here is just to be sure a 9MHz result
#crc16 #spi