socketcand FD configuration proposal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I just proposed this MR in the socketcand repo to implement CAN
configuration commands using libsocketcan to do it:
https://github.com/linux-can/socketcand/pull/35

Currently, I am working in supporting also CANFD configuration (with
bitrate and dbitrate) and I would like to propose a new configuration
keyword for that configuration just in case you find it useful for
future implementations.

Similar to the current CAN configuration:

< can0 B bitrate sample_point tq prop_seg phase_seg1 phase_seg2 sjw brp >

We can use a parallel keyword for FD mode:

< can0 F bitrate dbitrate sample_point tq prop_seg phase_seg1
phase_seg2 sjw brp >

This is just a proposal I will implement internally for my project,
but if you think it could be applicable for the mainstream, we can
discuss about the format or alternative options.

Regarding the implementation, I know libsocketcan doesn't support
currently CAN-FD configuration, it is a thing should be rethough when
we reach that point.

BR,

Jesus




[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux