STM32F4 hangup issue

I am trying to run a loop function which receives continuous CAN data from motor , but when i start the motor, the program seems to hang up , is there any particular thing i should be looking for , the code is similar to this : stm32f4xx-hal/examples/can-send.rs at master · stm32-rs/stm32f4xx-hal (github.com)
with some calculations in between inside the loop. Any help is appreciated.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.