MB:ORIN-TW

From LEXWiKi

(Difference between revisions)
Jump to: navigation, search
(How to Test COM)
Line 110: Line 110:
*Install tool(cutecom)
*Install tool(cutecom)
-
sudo apt install cutecom
+
**sudo apt install cutecom
*Setting com port to 232/422/485
*Setting com port to 232/422/485

Revision as of 11:31, 4 September 2024

OSJetpackCPURevDPNGFF1NGFF2NGFF3NGFF4NGFF5NGFF6SATA1SATA2nano SIMUSB2.0USB3.0PCIELANCOM-232COM-422COM-485F75111NWDT/DIOTPM2.0CANBUSMIPI_CAM1MIPI_CAM2Download

Ubuntu20.04.6

5.1.2

Orin Nano

0.1

Yes

Yes

pcie

Yes

pcie

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

Yes

No

Yes

-

Yes

Yes

Yes

Yes

kernel:5.10.120-tegra

edit table

Contents

ORIN-TW DTB Data

How to test TPM

Modify $HOME/Linux_for_Tegra/source/kernel/kernel-5.10/arch/arm64/configs/defconfig CONFIG_HW_RANDOM_TPM=y CONFIG_SECURITYFS=y CONFIG_TCG_TIS_CORE=m CONFIG_TCG_TIS_SPI=m

ORIN-TW install tpm_tis_core.ko/tpm_tis_spi.ko

insmod tpm_tis_core.ko

insmod tpm_tis_spi.ko

check tpm device node

ls /dev/tpm*

Setting tpm rules

[[Image:]]

Install tpm tool and Operate tpm

[[Image:]]

How to Test F75111N

How to Test COM

  • Install Fintek Driver

insmod f81534.ko

  • Install tool(cutecom)
    • sudo apt install cutecom
  • Setting com port to 232/422/485

RS232 sudo set_mode ttyUSB5 1 sudo set_gpio ttyUSB5 1

sudo set_mode ttyUSB6 1 sudo set_gpio ttyUSB6 1

RS422(do not set mode) sudo set_gpio ttyUSB5 0

sudo set_gpio ttyUSB6 0

RS485 sudo set_mode ttyUSB5 2 sudo set_gpio ttyUSB5 2

sudo set_mode ttyUSB6 2 sudo set_gpio ttyUSB6 2

  • Use cutecom test

[[Image:]]

How to Test CANBUS

  • startup can package

modprobe can modprobe can_raw modprobe mttcan ip link set can0 up type can bitrate 500000

Send cansend can0 123#abcdef

Receiver candump can0 &

How to Test JP2 GPIO

  • OR_GPIO01 gpio03_pq.05 gpio-453
  • OR_GPIO07 gpio03_pg.06 gpio-389
  • OR_GPIO11 gpio03_pq.06 gpio-454
  • OR_GPIO12 gpio03_pn.01 gpio-433
  • OR_GPIO13 gpio03_ph.00 gpio-391
  • GPIO01 setting
    • echo 453 > /sys/class/gpio/export
    • echo out > /sys/class/gpio/PQ.05/direction
    • echo 1 > /sys/class/gpio/PQ.05/value
    • echo 0 > /sys/class/gpio/PQ.05/value
  • GPIO07 setting
    • echo 389 > /sys/class/gpio/export
    • echo out > /sys/class/gpio/PG.06/direction
    • echo 1 > /sys/class/gpio/PG.06/value
    • echo 0 > /sys/class/gpio/PG.06/value
  • GPIO11 setting
    • echo 454 > /sys/class/gpio/export
    • echo out > /sys/class/gpio/PQ.06/direction
    • echo 1 > /sys/class/gpio/PQ.06/value
    • echo 0 > /sys/class/gpio/PQ.06/value
  • GPIO12 setting
    • echo 433 > /sys/class/gpio/export
    • echo out > /sys/class/gpio/PN.01/direction
    • echo 1 > /sys/class/gpio/PN.01/value
    • echo 0 > /sys/class/gpio/PN.01/value
  • GPIO13 setting
    • echo 391 > /sys/class/gpio/export
    • echo out > /sys/class/gpio/PH.00/direction
    • echo 1 > /sys/class/gpio/PH.00/value
    • echo 0 > /sys/class/gpio/PH.00/value
Personal tools