mabrobotics / MD80-x-CANdle-Documentation

MD80 x CANdle jupyter book documentation
3 stars 1 forks source link

Compability of CAN FD and CAN #15

Open ofg0 opened 1 month ago

ofg0 commented 1 month ago

Hello MAB Robotics Team,

We have an MD20 motor driver integrated with a GL30 BLDC motor. However, due to some constraints, we would like to control this motor via CAN FD instead of CANDle using a microcontroller. However, our microcontroller only has a standard CAN bus. According to some sources, it is indeed possible, albeit challenging, for CAN and CAN FD devices to communicate over the same bus. However, based on my research, a device with CAN FD needs to be configured according to CAN standards.

In the datasheet you prepared, I did not see any information or register settings related to this type of configuration in the FDCAN section. Could you please assist me with this matter?

Additionally, you have specified the addresses in the register configurations, but some of the parameter settings are quite vague. Could you provide a brief overview of the ranges I should specify for these parameters?

Best regards, Ömer Faruk Günaydın

PawelKorsak commented 1 month ago

I’ve explained this in detail in our email conversations, but I’ll provide a brief overview for those interested in this topic.

Currently, we do not support the CANdle protocol for standard non-FD CAN interfaces. However, our devices are compatible with CANopen, which can be used with regular CAN. Please note, CANopen is more complex, and we provide limited support for it, as the protocol is owned by the CiA (CAN in Automation) organization.