|
1 | 1 | .. _hardware.rst: |
2 | 2 |
|
3 | | -######## |
4 | | -Hardware |
5 | | -######## |
| 3 | +################### |
| 4 | +Hardware interfaces |
| 5 | +################### |
6 | 6 |
|
7 | 7 | Since the Charge SOM itself is a module which cannot be used without a carrier board, |
8 | 8 | the following sections refer to the Charge SOM Evaluation Board as an example. |
@@ -86,8 +86,33 @@ the board supports up to two EIA-485 interfaces. |
86 | 86 | CAN (X16) |
87 | 87 | ********* |
88 | 88 |
|
89 | | -The CAN-FD interface is connected to X16, which is a full implementation of the CAN FD |
90 | | -protocol specification version 2.0B. It is available on Linux network interface ``can0``. |
| 89 | +The CAN-FD interface is connected to X16, which is a full implementation of the CAN FD protocol |
| 90 | +specification version 2.0B. It is available on Linux network interface ``can0``, which has a |
| 91 | +default bitrate of 1 Mbit/s. |
| 92 | + |
| 93 | +CAN configuration |
| 94 | +================= |
| 95 | + |
| 96 | +In order to change the default CAN bitrate permanent, please adapt BitRate value and run the following commands: |
| 97 | + |
| 98 | +.. code-block:: console |
| 99 | +
|
| 100 | + cat <<EOF > /etc/systemd/network/can0.network |
| 101 | + [Match] |
| 102 | + Name=can0 |
| 103 | +
|
| 104 | + [Link] |
| 105 | + RequiredForOnline=no |
| 106 | +
|
| 107 | + [CAN] |
| 108 | + BitRate=125000 |
| 109 | + TripleSampling=yes |
| 110 | + EOF |
| 111 | +
|
| 112 | + networkctl reload |
| 113 | + networkctl reconfigure can0 |
| 114 | + systemctl restart everest |
| 115 | +
|
91 | 116 |
|
92 | 117 | ******************************************** |
93 | 118 | Insulation Monitoring Device (IMD, X9 + X15) |
@@ -135,14 +160,15 @@ still depend on the pinmuxing of these 16 pins! |
135 | 160 | +---------------+------------------+-----------------------------------+-------------------------------------------+ |
136 | 161 | | SDIO | 1 | | | |
137 | 162 | +---------------+------------------+-----------------------------------+-------------------------------------------+ |
138 | | -| CAN | 1 | | | |
| 163 | +| CAN [#]_ | 1 | | | |
139 | 164 | +---------------+------------------+-----------------------------------+-------------------------------------------+ |
140 | 165 | | PWM | 6 | | | |
141 | 166 | +---------------+------------------+-----------------------------------+-------------------------------------------+ |
142 | 167 | | GPIO | 16 | - imx93-charge-som-clko-gpio.dtso | Warning: short clock after power-up/reset | |
143 | 168 | +---------------+------------------+-----------------------------------+-------------------------------------------+ |
144 | 169 |
|
145 | 170 | .. [#] The UART7 has RTS/CTS signals available. |
| 171 | +.. [#] Keep in mind that these signals must be connected to a CAN transceiver. |
146 | 172 |
|
147 | 173 | The following table indicates all possible muxing options for these signals. |
148 | 174 | By default, the factory shipped configuration for the Charge SOM EVB is that the signals GPIO3_26 and GPIO3_27 |
|
0 commit comments