Canbus Or Can-Fd; Tpm - Advantech RSB-3720 User Manual

Nxp i.mx8m plus cortex-a53 2.5" sbc with uio40-express
Hide thumbs Also See for RSB-3720:
Table of Contents

Advertisement

3.14

CANBus or CAN-FD

(Please note that the CAN function on RSB-3720 COM1 Pin Header is CANBus only
with RSB-3720CQ & RSB-3720CD, RSB-3720 COM1 Pin Header is CANB-FD only
with RSB-3720WQ & RSB-3720WD)
Step 1: Connect the UIO-4034 A101-2 CANbus port Pin 2 and Pin 7 to RSB-3720
COM1 with 1700100250 cable, pin 9 and Pin 6 of the DB9.
Step 2: Set CAN0 and CAN1 up.
root@imx8mprsb3720a1:~# ip link set can0 up type can bitrate 125000
[ 1362.935162] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
root@imx8mprsb3720a1:~# ifconfig can0 up
root@imx8mprsb3720a1:~# ip link set can1 up type can bitrate 125000
[ 1381.546624] IPv6: ADDRCONF(NETDEV_CHANGE): can1: link becomes ready
root@imx8mprsb3720a1:~# ifconfig can1 up
Step 3: candump CAN0
root@imx8mprsb3720a1:~# candump can0 &
[1] 965
Step 4: candump CAN1
root@imx8mprsb3720a1:~# cansend can1 1F334455#1122334455667788
root@imx8mprsb3720a1:~# can0 1F334455 [8] 11 22 33 44 55 66 77 88
3.15

TPM

Please use tpm_test.bin to test.
root@imx8mprsb3720a1:~# cp /run/media/sda1/tpm_test.bin .
root@imx8mprsb3720a1:~# ls
tpm_test.bin
root@imx8mprsb3720a1:~# ./tpm_test.bin
[TPM Command]
80010000000C000001440000
[TPM Response]
80010000000A00000100
[TPM Command]
80010000000B0000014301
[TPM Response]
80010000000A00000000
[TPM Command]
8001000000160000017A000000060000010500000001
[TPM Response]
80010000001B000000000100000006000000010000010553544D20
[TPM Command]
8001000000160000017A000000060000010B00000002
[TPM Response]
800100000023000000000100000006000000020000010B004900410000010C44A01A17
45
RSB-3720 User Manual

Advertisement

Table of Contents
loading

Table of Contents