Hi,
does anyone know if there is any support planned for the crc coprocessor found on some of the STMs? There is a community implementaton but it doesn't seem to be currently maintained. A builtin crc check for the SPI or UART driver would be useful too.
Thanks!
Regards
Julian
CRC Support for STM32
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: CRC Support for STM32
Hi,
There are no immediate eplans, you best option is to polish the contributed one, it is not very complex.
Giovanni
There are no immediate eplans, you best option is to polish the contributed one, it is not very complex.
Giovanni
Re: CRC Support for STM32
I considered the CRC peripheral, and concluded that (in my world, at least) it would mostly be useful as a peripheral 100% dedicated to a specific purpose, probably involving CRC Calculation on large blocks of data. Or maybe where there is a need to compute different types of CRC at various times. To make it generic and thread-safe involves some overhead, and can actually increase execution times if used by multiple threads.
For byte-level and small blocks of data, there are table-orientated calculation routines which are reasonably efficient, and have the advantage of being reentrant.
For byte-level and small blocks of data, there are table-orientated calculation routines which are reasonably efficient, and have the advantage of being reentrant.
Who is online
Users browsing this forum: No registered users and 29 guests