Problem with CRC using 16 bit SPI with DMA on STM32F103
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-01-07 8:58 AM
Posted on January 07, 2014 at 17:58The original post was too long to process during our migration. Please click on the attachment to read the original post.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-01-08 5:40 AM
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!