CANCONFIG(8) | System Manager's Manual | CANCONFIG(8) |
canconfig
—
canconfig |
-a |
canconfig |
canif |
canconfig |
can command [args ...] |
canconfig
utility is used to configure CAN network
interface parameters and retrieve CAN network interface parameters and status
from the kernel.
The network bit time is split in 4 segments:
The receiver hardware is allowed to shorten prop_seg or phase_seg2 to resynchronize with the sender. The swj (Synchronisation Jump Width) parameter defines by how much the hardware can shorten these segments.
Some hardware can use 3 sample points instead of one, and keep the majority as the final value.
-a
All other operations require that a CAN interface be specified. If a CAN interface is specified with no sub-commands, the status of that interface is displayed.
The following sub-commands are available:
up
down
brp
valueprop_seg
valuephase_seg1
valuephase_seg2
valuesjw
value3samples
-3samples
listenonly
-listenonly
loopback
-loopback
canconfig
utility first appeared in
NetBSD 8.0.
canconfig
utility was written by
Manuel Bouyer.
April 15, 2017 | NetBSD 9.4 |