CRC module causing an assert to fail.
Posted: Fri Feb 03, 2023 11:28 am
m trying to get an stm32l452re running but when i try to run my program, it fails at line 165 in stm32l4xx_hal_crc.c:
When called from line 70 in "hw_config.c":
I'
How do i set it up so that hcrc is setup properly? Thanks!
Code: Select all
/* makes sure the input data format (bytes, halfwords or words stream)
* is properly specified by user */
assert_param(IS_CRC_INPUTDATA_FORMAT(hcrc->InputDataFormat));
Code: Select all
/* Initialize the CRC */
#if defined(HAL_CRC_MODULE_ENABLED)
HAL_CRC_Init(&hcrc);
#endif
How do i set it up so that hcrc is setup properly? Thanks!