JesseGuoX / CANopenSTM32-HAL

CANopenNode running on STM32 using HAL library
1 stars 1 forks source link

No signal on CAN Rx Tx #3

Open subirbhaduri opened 2 years ago

subirbhaduri commented 2 years ago

Hi. I have compiled your code for STM32F429 Nucleo-144 board and connected a Trinamic Stepper Motor on the other end (after a transceiver chip). However I am not able to get any signal on CAN Tx or CAN Rx. For now I just want to detect the continious heartbeat signal that Trinamic motor is producing. If i can detect that i can know the NodeID of the stepper motor. I have tried using NMT and LSS Master fastscan to get available nodes, but no success (-4 is the reply always, indicating no node found). On the DSO i can see the heartbeat trace produced by the motor, but there is no heartbeat trace produced by the STM32 microcontroller. Do you have a solution for this? Can a command be used to produce some signal on DSO so that I know that CANOpenNode is working? Thanks

JesseGuoX commented 2 years ago

@subirbhaduri Hi there, I think the easy way to detect CANBus protocol from your Motor is use some usb-canbus tool with your PC. Some of these could produce CANOpen protocol. It's not a good idea to use some develop board kit if you are not familiar with it.

subirbhaduri commented 2 years ago

Thanks @Jexbat . The CANOpen-USB tool is very costly, hence I am trying to get it working with my existing setup. Anyways, thanks for your help.