STM32Lxx and community CRC driver
Posted: Thu Nov 01, 2018 12:32 am
I realize CRC is not officially supported, but hoping to gain some insight here if any authors watch the forums.
I am looking to use CRC in an STM32L4 project. I see that the L4xx/stm32_rcc.h in mainline ChibiOS is missing the Enable/Disable/ResetCRC family of functions that the F0/3/4/7 files contain.
I am wondering how this is supposed to fit together. The F0/3/4/7 Enable/Disable macros take the 'lp' argument. However, the community hal_lld_crc.c calls it without any argument. This works for the community/testhal/crc demo for the F0xx series, since lp is ignored anyway. I'm not sure what needs to be added and where to port to L4.
Any insight would be appreciated.
I am looking to use CRC in an STM32L4 project. I see that the L4xx/stm32_rcc.h in mainline ChibiOS is missing the Enable/Disable/ResetCRC family of functions that the F0/3/4/7 files contain.
I am wondering how this is supposed to fit together. The F0/3/4/7 Enable/Disable macros take the 'lp' argument. However, the community hal_lld_crc.c calls it without any argument. This works for the community/testhal/crc demo for the F0xx series, since lp is ignored anyway. I'm not sure what needs to be added and where to port to L4.
Any insight would be appreciated.