mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-04 22:09:57 +02:00
26488b16e6deb2ff97643c7b02ce4342fd2143fe
This patch adds additional fields when printing the bit timing parameters. Now the real bitrate the nominal and the real sample point as well as the error of the sample point is displayed. The output now looks like this: Bit timing parameters for at91 with 100.000000 MHz ref clock nominal real Bitrt nom real SampP Bitrate TQ[ns] PrS PhS1 PhS2 SJW BRP Bitrate Error SampP SampP Error CAN_BR 1000000 50 7 7 5 1 5 1000000 0.0% 75.0% 75.0% 0.0% 0x00040664 800000 50 8 8 8 1 5 800000 0.0% 80.0% 68.0% 15.0% 0x00040777 500000 100 8 8 3 1 10 500000 0.0% 87.5% 85.0% 2.9% 0x00090772 250000 250 6 7 2 1 25 250000 0.0% 87.5% 87.5% 0.0% 0x00180561 125000 500 6 7 2 1 50 125000 0.0% 87.5% 87.5% 0.0% 0x00310561 100000 500 8 8 3 1 50 100000 0.0% 87.5% 85.0% 2.9% 0x00310772 50000 1250 6 7 2 1 125 50000 0.0% 87.5% 87.5% 0.0% 0x007c0561 20000 ***bitrate not possible*** 10000 ***bitrate not possible*** Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Description
Linux-CAN / SocketCAN user space applications
2.9 MiB
Languages
C
98.1%
CMake
0.7%
Makefile
0.6%
Shell
0.5%