CANopenNode / CanOpenSTM32

CANopenNode on STM32 microcontrollers.
Other
275 stars 110 forks source link

TPDO not working on STM32F1 #45

Open knightFURY999 opened 10 months ago

knightFURY999 commented 10 months ago

I am having trouble with the TX PDO Mapping. I have successfully produced a recurring heartbeat and whilst following the Tutorial and the examples. I cannot implement the Counter TXPDO example. Please assist. I am sure it has to do with the Odject Dictionary Editor. I can also successfully read the counter manually through Magic Can. image image image image

methreat commented 9 months ago

You should be use to together canopen_app_process() and canopen_app_interrupt() function. I solved this way

knightFURY999 commented 8 months ago

Can you show me how to , I am not getting it right.

HamedJafarzadeh commented 5 months ago

Can you check if your canopen_app_interrupt is getting called properly ? Just put a breakpoint in this function and let us know what happens.