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.
News made it on to Electronics Weekly:
https://www.electronicsweekly.com/news/products/bus-systems-sbcs/arduino-compatible-teesny-cortex-m7-dev-boards-now-made-by-sparkfun-2025-03
Sparkfun offer cheaper shipping so that is good news.
I wish they will offer an option of no printed card. The Teensy I buy will into a board that I sell and I don't need the printed card. I've got thousands of printed cards that go into the...
Yes, you can use a level shifter but your Teensy 4.1 might have already been damaged if you applied 5v to its input.
Try to use CAN1 or CAN2 instead of CAN3.
The MCP2551 is a 5v device with a 5v on the logic pin. The Teensy 4.1 is not tolerant on its input, you will damage the Teensy if it receives 5v.
Try and use the MCP2562 instead. It has a separate VIO pin for the logic.
I can get 5Mb/s to work with these settings:
CANFD_timings_t config;
config.clock = CLK_60MHz;
config.baudrate = 500000;
config.baudrateFD = 5000000;
config.propdelay = 188;
config.bus_length = 1;
config.sample = 75;
You might...