Hello,
During development, I found that the actual baud rate of CAN on a Verdin iMX8MM is half of what is being set with IP command. It took me quite some time to figure this out I am posting this in the hope that some of you can give it a quick try and if my finding is correct you guys can at least document this.
How to reproduce:
- Take a Verdin iMX8M Mini Quad (with CAN)
- Install BSP 5.7 LTS, BSP 6.3.0 (upstream or downstream) or Torizon 6.3.0
sudo ip link set can0 up type can bitrate 100000 restart-ms 1000
candump can0
and orcansend can0 069#DEADBEEF
- The measured baud rate is not as expected 100 kbps it is 50 kbps
I measured the baud rate with an oscilloscope and I tested it against two independent CAN-bus partners
- Ixxat USB-to-CAN v2 (setup at 50 kbps)
- My uC-based CAN-Device that runs at 50 kbps
As mentioned above I reproduced this with:
- BSP 5.7 LTS
- BSP 6.3.0 Quarterly upstream and downstream
- Torizon 6.3.0
Cheers,
Philippe