2017-06-27 09: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 #stm32f4292017-06-27 11:25 AM
The F429 does not have a programmable CRC peripheral.
https://community.st.com/0D50X00009XkgXtSAJ
2017-06-27 01:26 PM
https://community.st.com/0D50X00009XkZDkSAN