cancel
Showing results for 
Search instead for 
Did you mean: 

does timer callback interruption affect memry or CAN setting?

Agrib
Associate

does timer Callback erase some value of poiteur. i used a poiter to CAN_HandleTypeDef then i initialised it, after that i set a timer with 1ms period, and when callback timer is called i lose my seeting of CAN_HandleTypeDef , the fileds which changes is (Init.prescaler, Init.Mode and Init.SyncJumpWidth)

when i was debbuging, i saw poiter poit to the same adress but have not the same values befor timer interruption.

befor timer callback and after init.

0690X000009YYz2QAG.pngthe 3 values are changed to 0x80067e3 after the callback function.

does the interruption of the timer affect the addressing. or when we are in interruption we lose adressing.

after timer callback.

0690X000009YYzMQAW.png

thanks for your help.

0 REPLIES 0