On 18.03.2022 10:15:02, Srinivas Neeli wrote: > > > Few more changes need to update in algorithm. > > > 1) Choose SJW as large as possible (we can assign " tseg2") > > > > ACK - changes to SJW needs still to be done. > > Already we are assigning sjw = tseg2 in manual mode. Automatic we are assigning 1. > https://elixir.bootlin.com/linux/latest/source/drivers/net/can/dev/bittiming.c#L158 You can set sjw and dsjw even if using automatic bit rate calculation: | ip link set peakfd0 type can bitrate 1000000 sjw 2 dbitrate 5000000 dsjw 2 fd on regards, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Attachment:
signature.asc
Description: PGP signature