CANopenNode on Teensy 4.1

Jan24_06

New member
Hi everyone,


I'm working on a project where I need to connect four Teensy 4.1 boards via CAN to exchange measurement data efficiently. For the communication protocol, I'm planning to use CANopen and specifically CANopenNode as the stack.


Right now, I'm looking into adapting CANopenNode to work with the FlexCAN_T4 library on the Teensy 4.1. My main focus is implementing PDO (Process Data Objects) and SDO (Service Data Objects) for data exchange.


Before diving deep into modifying the hardware abstraction layer (CO_driver), I wanted to ask:


  • Has anyone successfully implemented CANopenNode on Teensy 4.1?
  • Are there any known compatibility issues between FlexCAN_T4 and CANopenNode?
  • Any tips or code examples that might help speed up the integration?

I'd appreciate any insights, experiences, or suggestions! Thanks in advance.


Best regards

Jan
 
Just my 2 cents, the learning curve of CANopen is long, slow and painfull. I tried to learn, in order to help a collegue on the SW part. I switched back to the pcb design.
Unless you should implement slave nodes to an existing master, you could still use CAN implementing your own protocol.
 
I've attempted to port CANopenNode to Teensy but failed. Couldn't get the directory structure and search path to compile on the Arduino IDE.

I did managed to get CANopenNode STM32 example to compile and working. Tested with CANopen Magic.
 
Back
Top