CANopenNode / CanOpenSTM32

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

[Question] Why is the NMT state is operation after the program starts? #30

Closed Ashenoneq closed 1 year ago

Ashenoneq commented 1 year ago

Why is the NMT state is operation after the program starts? According to the state machine, should it be the pre-operational state initially?

MaJerle commented 1 year ago

https://github.com/CANopenNode/CanOpenSTM32/blob/c7fb1def182dfee394f396739e5cc45b11f744cc/legacy/stm32h7xx_fdcan_rtos/Src/main.c#L60

Ashenoneq commented 1 year ago

https://github.com/CANopenNode/CanOpenSTM32/blob/c7fb1def182dfee394f396739e5cc45b11f744cc/legacy/stm32h7xx_fdcan_rtos/Src/main.c#L60

Thanks!