2025-04-16 8:00 AM
Hello,
As part of a custom BMS project, I am trying to add a cyclic CAN Message Transmission functionality to the board. I have been able to implement CAN transmission functionality on the main_core0 function where a function is called after every 500msec using osalthreadelay function.
But I wanted to enable some PIT timers and run these CAN functions as callbacks. I am seeing that as soon as I add these PIT timers (whose frequency is not that high, 1hz and 2 hz), the whole code just stops and I stop receiving anything on serial or CAN.
Is there something I am missing with my implementation? I have attached my main.c file with this post.
Would appreciate the support. Thank you!