How to configure the STM32F429 CRC module to compute the CRC-CCITT standard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-27 9:17 AM
Hi St community
We have a custom board based on STM32F429 that runs a gateway application between a wireless transciever and an ethernet link.To check for frames integrity we use a CRC16-CCITT algorithm, each bytes requires several process operations of XOR, shifting ... and the whole operation takes around 330�s to process a 1018 bytes frame.
TheSTM32F429 includes a CRC peripheral, documented in the AN4187 paper
According to the Table2, the peripheral usage significantly reduced (60 times) the computation time in comparison to an algorithmic implementation.The example used in the paper used the
CRC-32 standard and not the
CRC-CCITT one.
See 'https://www.lammertbies.nl/comm/info/crc-calculation.html
Table' or attached PNG for differences.We are looking now to optimize the CRC computation using the peripheral.
Does anyone tried to implement the
CRC-CCITT standard using the hardware ??
Thanks for any idea, code example ...#crc-ccitt #stm32f429- Labels:
-
CRC
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-27 11:25 AM
The F429 does not have a programmable CRC peripheral.
https://community.st.com/0D50X00009XkgXtSAJ
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-27 1:26 PM
https://community.st.com/0D50X00009XkZDkSAN
Up vote any posts that you find helpful, it shows what's working..
