umrover / mrover-ros2

MRover ROS2 Source Code
https://mrover.org
GNU General Public License v3.0
3 stars 2 forks source link

Move CAN bus from 1 Mbps no BRS to 1 Mbps nominal/5 Mbps data BRS #48

Closed owenpark8 closed 1 day ago

owenpark8 commented 2 weeks ago
owenpark8 commented 1 day ago

STM32 FDCAN bit timings with a 170 MHz system clock

Screenshot 2024-11-18 at 7 49 27 PM
owenpark8 commented 1 day ago

PEAK CAN bit timing (assuming M.2 adapter is 80 MHz clock)

ip link set can0 up type can \
  bitrate 1000000 dbitrate 5000000 \
  sjw 10 dsjw 5 \
  sample-point 0.666 dsample-point 0.666 \
  restart-ms 1000 fd on