corygrant / DingoPDM_FW

MIT License
1 stars 4 forks source link

Investigate using CANOpen instead of custom comms #14

Open corygrant opened 4 months ago

corygrant commented 4 months ago

Currently I'm using a custom payload format to achieve the same things that CANOpen does. CANOpen has a lot more features and functionality.

Is there a lightweight CANOpen stack that would make it easier to implement these things? Is it worth it? Non-CANOpen devices would still need to be supported

Current CANOpen
Prefix letter to select message type Function code in the COB-ID
Cyclic messages for status PDOs
Settings messages to communicate device settings SDOs
Lots of code to encode/decode settings/status PDOs and SDOs

Open source CANOpen stacks: CanOpenSTM32 canopen-stack

Commercial products: MicroCANopen Plus emotas CANopen Slave Expansion