CANopenNode / CanOpenSTM32

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

STM32H735_DK Example Issue With SDO #57

Closed lowkin18 closed 6 months ago

lowkin18 commented 6 months ago

Following along with the https://www.youtube.com/watch?v=R-r5qIOTjOo&t=3028s&ab_channel=Hamed video. The example for the STM32H735 variant doesn't seem to have functioning SDO

Scanning the network reveals no devices with CAN magic, but I can see the STM32H735 transmitting the Boot msg, Heartbeat and PDO's when setup. Writing or reading SDO results in timeout as device doesn't respond.

Is there a setting I'm overlooking to have working SDO's or should the example work by default? SDO are just failing to respond.

Looks like the device isn't receiving any frames.

Any help or suggestions would be appreciated.

lowkin18 commented 6 months ago

Looks like the default example needs the FDCAN Queue and Buffers to be non zero

baudrate should probably be a uint16_t in CO_app_STM32.h line 33?