Restrictions
Communication Baud Rate
The communication baud rates supported by this driver are only the following fixed profiles.
| Communication protocol | Arbitration bitrate | Data bitrate | Arbitration sample point | Data sample point |
|---|---|---|---|---|
| Classical CAN | 500000 | - | 80.0% | - |
| Classical CAN | 1000000 | - | 80.0% | - |
| CAN FD | 500000 | 2000000 | 80.0% | 80.0% |
| CAN FD | 500000 | 4000000 | 80.0% | 80.0% |
| CAN FD | 500000 | 5000000 | 80.0% | 75.0% |
For CAN FD, specify the arbitration bitrate and data bitrate in the combinations shown above.
The default values are arbitration bitrate 500000 and data bitrate 2000000.
bit timing Specification
Individual bit timing specifications such as sample-point, sjw, and tq are not supported.
The timing of the fixed profile corresponding to the specified baud rate is used.
CAN FD Restrictions
- CAN FD nominal bitrate 1 Mbps settings are not supported.
- When using CAN FD, set the interface MTU to
72. - There are restrictions on CAN FD no-BRS reception display.
hardware timestamp
- Reading receive hardware timestamps is supported.
- To use this function, specify
enable_hwts=1when loading the driver. - TX hardware timestamps are not supported.
- Hardware timestamp setting changes are not supported.
Notes on Startup and Recovery
- For normal communication checks, start both can0 / can1 with
./mpdrv_run start-all. - If only one side is started, it may appear as UP in SocketCAN but may not be able to send or receive.
- If communication is not possible after suspend / resume, perform the startup operation again as necessary.
Other
- For high-load transmission, use under controlled burst conditions by adjusting the transmission interval and transmission volume.
- The features of this version may change without notice.