cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with CRC using 16 bit SPI with DMA on STM32F103

hrobinson
Associate II
Posted on January 07, 2014 at 17:58

The original post was too long to process during our migration. Please click on the attachment to read the original post.
1 REPLY 1
hrobinson
Associate II
Posted on January 08, 2014 at 14:40

SOLVED!

Call SPI_I2S_ClearFlag(SPI1, SPI_FLAG_CRCERR);

immediately before or after enabling the CRC, before starting the transfer.

I would have thought that the flag would be cleared by disabling and re-enabling the CRC; but apparently not.  It is in the ref manual, but it's not made very clear!