cancel
Showing results for 
Search instead for 
Did you mean: 

SPI txCRC wrong value

Dav1d
Visitor

Hello,

I am using SPI with crc enabled on stm32f429ig.

The problem is: if master's SCK's gpio speed is configured as medium, everything works fine. BUT if it is set to veryhigh, transmitted crc (read from TXCRCR register) always calculates a wrong value.
For example, when sending 0x01 using CRC-8 with a Polynomial = 0x07, the result in the TXCRCR register is always 0x09. However, RXCRCR in the slave side(also on a stm32f429ig with same configuration) calculates the right result of 0x07. This also occurs with CRC-16.

I am wondering how SCK gpio speed or potential circuit problems leads to the wrong crc calculation?

0 REPLIES 0