CRC-16 implementation to transmit via SPI bus in stm32L151
Hi,
I have a requirement to transmit and receive CRC-16 hardware computed checksum via SPI in stm32L151 microcontroller.
As per the datasheet, i configured polynomial 0x1021 and enabled CRC.
the problem is, CRC register TXCRCR is updating for all instruction execution, i am expecting it has to update only when Data is written to data register SPI->DR.
please let me know, if my implementation is wrong and what is proper method of implementation.
Thank you
Regards,
Bharath R
