S B C X U s e r ' s G u i d e
v . 1 . 0 . 1
5.5.1
Accessing the peripheral
5.5.1.1
Linux messages at boot time:
root@axel-lite:~# dmesg | grep can
[ 1.470492] Scanning device for bad blocks
[ 2.053585] imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_EIM_D25
already requested by 21ec000.serial; cannot claim for
2014000.ecspi
[ 2.098021] flexcan 2090000.can: device registered
(reg_base=e69f0000, irq=142)
[ 3.366366] can: controller area network core (rev 20120528
abi 9)
[ 3.377102] can: raw protocol (rev 20120528)
[ 3.381380] can: broadcast manager protocol (rev 20120528 t)
[ 3.387070] can: netlink gateway (rev 20130117) max_hops=1
5.5.1.2
Enable the interface and check status:
root@axel-lite:~# ip link set can0 type can bitrate 500000
triple-sampling on
root@axel-lite:~# ifconfig can0 up
.[ 230.190741] flexcan 2090000.can can0: writing ctrl=0x03292085
root@axel-lite:~# ifconfig
can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-
00-00-00-00-00-00-00
December, 2019
38/139
Fig. 19: CAN electrical connections
Summary of Contents for SBC AXEL
Page 2: ...S B C X U s e r s G u i d e v 1 0 1 Page intentionally left blank December 2019 2 139 ...
Page 105: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 105 139 ...
Page 106: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 106 139 ...
Page 107: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 107 139 Fig 44 QtQuick Hello World ...
Page 119: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 119 139 ...
Page 121: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 121 139 ...
Page 139: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 139 139 ...