I cannot find pinout diagrams of the Jetson TX2 for the life of me. Can someone please point me to where I can access diagrams of the PHYSICAL pin interface? I am trying to utilize the CAN interface, which I understand is located within the J26 port.
Please see this PDF.
JetsonTX1_TX2_Developer_Kit_Carrier_Board_Specification1.pdf (2.23 MB)
Thank you Tom,
I am now writing data to can0. I do not have a can transceiver connected to the J26 header, but I have an oscilloscope connected to the TX pin, (pin 7, assuming that odd pins are on one side, and even pins on the other).
I do not see anything happening on the CANTX line. It stays at a logic 3.3V. I followed these instructions to configure my CAN interface: https://devtalk.nvidia.com/default/topic/1025010/jetson-tx2/how-to-use-can-on-jetson-tx2-/
Unfortunately, this is beyond my skillset. Let me see if I can get one of the Jetson experts to help you.
Perhaps this explains my problem. When I type the command, “$ ip -details -statistics link show can0” In the output I see “state BUS-OFF”. So apparently my CAN bus is turned off, how do I turn it on?
~$ ip -details -statistics link show can0
10: can0: <NO-CARRIER,NOARP,UP,ECHO> mtu 72 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 10
link/can promiscuity 0
can <BERR-REPORTING,FD> state BUS-OFF (berr-counter tx 248 rx 0) restart-ms 0
bitrate 500000 sample-point 0.875
tq 25 prop-seg 34 phase-seg1 35 phase-seg2 10 sjw 1
mttcan: tseg1 2…255 tseg2 0…127 sjw 1…127 brp 1…511 brp-inc 1
dbitrate 2000000 dsample-point 0.750
dtq 25 dprop-seg 7 dphase-seg1 7 dphase-seg2 5 dsjw 1
mttcan: dtseg1 1…31 dtseg2 0…15 dsjw 1…15 dbrp 1…15 dbrp-inc 1
re-started bus-errors arbit-lost error-warn error-pass bus-off
0 2 0 1 1 0
RX: bytes packets errors dropped overrun mcast
40 5 2 0 0 0
TX: bytes packets errors dropped carrier collsns
0 0 0 0 0 0
I found this solved topic that addresses the CAN bus issue. Let me know how it goes for you.