Skip to content

Commit 63b8e48

Browse files
committed
Hardware: Address CAN comments
Signed-off-by: Stefan Wahren <stefan.wahren@chargebyte.com>
1 parent 286565e commit 63b8e48

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

docs/source/hardware.rst

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _hardware.rst:
22

33
###################
4-
Hardware interfaces
4+
Hardware Interfaces
55
###################
66

77
Since the Charge SOM itself is a module which cannot be used without a carrier board,
@@ -90,29 +90,27 @@ The CAN-FD interface is connected to X16, which is a full implementation of the
9090
specification version 2.0B. It is available on Linux network interface ``can0``, which has a
9191
default bitrate of 1 Mbit/s.
9292

93-
CAN configuration
93+
CAN Configuration
9494
=================
9595

96-
In order to change the default CAN bitrate permanent, please adapt BitRate value and run the following commands:
96+
In order to change the default CAN bitrate of can0 interface, please adapt ``BitRate`` value and
97+
run the following commands:
9798

9899
.. code-block:: console
99100
100-
cat <<EOF > /etc/systemd/network/can0.network
101-
[Match]
102-
Name=can0
103-
104-
[Link]
105-
RequiredForOnline=no
106-
101+
mkdir /etc/systemd/network/can0.network.d
102+
cat <<EOF > /etc/systemd/network/can0.network.d/bitrate.conf
107103
[CAN]
108104
BitRate=125000
109-
TripleSampling=yes
110105
EOF
111106
112107
networkctl reload
113108
networkctl reconfigure can0
114109
systemctl restart everest
115110
111+
The change takes effect immediately, but also persists across reboots and
112+
firmware updates.
113+
116114

117115
********************************************
118116
Insulation Monitoring Device (IMD, X9 + X15)

0 commit comments

Comments
 (0)