2023-12-09 01:32 AM - edited 2023-12-09 01:33 AM
First bug, i start testing CEC on F051DISCO . Open MX create config for KEIL v5 and generate code.
After build and load i spent some hours to locate why code dont receive and hangs.
Elaborate bad generated startus assembler file where is IRQ named CEC_IRQHandler,
but in code IT !!! void CEC_CAN_IRQHandler(void)
And now handshaking code question. Examples in folder firmware is not usable in real life. Can ST or anybody provide CEC for example version 1.4 code with coments... CEC is multidevices bus and developer dont have environment to check and test conflicts etc.
2023-12-09
07:07 AM
- last edited on
2023-12-11
07:23 AM
by
Lina_DABASINSKA
2023-12-09 07:20 AM
The startup file names the IRQ as CEC_IRQHandler, but in the code, the function definition is void CEC_CAN_IRQHandler(void). This discrepancy might be causing the code not to function correctly.