Lines Matching refs:FD
51 6.6 CAN FD (flexible data rate) driver support
375 Remark about CAN FD (flexible data rate) support:
377 Generally the handling of CAN FD is very similar to the formerly described
378 examples. The new CAN FD capable CAN controllers support two different
379 bitrates for the arbitration phase and the payload phase of the CAN FD frame
384 switches the socket into a mode that allows the handling of CAN FD frames
392 __u8 flags; /* additional flags for CAN FD */
410 For details about the distinction of CAN and CAN FD capable devices and
413 The length of the two CAN(FD) frame structures define the maximum transfer
414 unit (MTU) of the CAN(FD) network interface and skbuff data length. Two
418 #define CANFD_MTU (sizeof(struct canfd_frame)) == 72 => CAN FD frame
554 CAN FD support in CAN_RAW sockets can be enabled with a new socket option
560 and CAN FD frames. OTOH the application has to handle CAN and CAN FD frames
574 printf("got CAN FD frame with length %d\n", cfd.len);
580 fprintf(stderr, "read: invalid CAN(FD) frame\n");
592 provided CAN FD structure. Note that the canfd_frame.flags data field is
594 CANFD_MTU sized CAN FD frames.
598 To build a CAN FD aware application use struct canfd_frame as basic CAN
602 or CAN FD frames and can process them the same way.
605 CAN FD frames by checking if the device maximum transfer unit is CANFD_MTU.
938 dev->mtu = CANFD_MTU; /* sizeof(struct canfd_frame) -> CAN FD interface */
1166 6.6 CAN FD (flexible data rate) driver support
1168 CAN FD capable CAN controllers support two different bitrates for the
1169 arbitration phase and the payload phase of the CAN FD frame. Therefore a
1170 second bit timing has to be specified in order to enable the CAN FD bitrate.
1172 Additionally CAN FD capable CAN controllers support up to 64 bytes of
1185 MTU = 72 (CANFD_MTU) => sizeof(struct canfd_frame) => CAN FD capable device
1188 N.B. CAN FD capable devices can also handle and send legacy CAN frames.
1190 When configuring CAN FD capable CAN controllers an additional 'data' bitrate
1191 has to be set. This bitrate for the data phase of the CAN FD frame has to be
1197 specified to enable the CAN FD mode in the CAN controller. This controller
1200 The first CAN FD specification presented as whitepaper at the International
1202 Therefore two CAN FD implementations have to be distinguished today:
1204 - ISO compliant: The ISO 11898-1:2015 CAN FD implementation (default)
1205 - non-ISO compliant: The CAN FD implementation following the 2012 whitepaper
1207 Finally there are three types of CAN FD controllers:
1211 3. ISO/non-ISO CAN FD controllers (switchable, like the PEAK PCAN-USB FD)
1214 netlink and displayed by the 'ip' tool (controller option FD-NON-ISO).
1216 switchable CAN FD controllers only.
1226 can <FD> state ERROR-ACTIVE (berr-counter tx 0 rx 0) restart-ms 0
1237 Example when 'fd-non-iso on' is added on this switchable CAN FD adapter:
1238 can <FD,FD-NON-ISO> state ERROR-ACTIVE (berr-counter tx 0 rx 0) restart-ms 0