cancel
Showing results for 
Search instead for 
Did you mean: 

CRC16 for STM32F030

Yq
Associate

I am trying to use the hardware peripheral on the STM32F030 to calculate a 16-bit CRC for a modbus RTU application. But I don't know how to do it.

3 REPLIES 3

See [ATT]4016 document at the bottom here

https://community.st.com/s/global-search/modbus%20crc

Was from old SPL, but should be portable

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Yq
Associate

I need  STM32F030 config for CRC16. I try config register for CRC ,but I can not getting the right results

The F030 doesn't support the programmable modes, use the software examples.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..