background image

 

JNX30D TECHNICAL REFERENCE MANUAL 

 

VERSION: 1.4        

Page 22 of 28 

FEB 2022 

SECTION 10

 

Appendix B [GPIO] 

10.1

 

GPIO control 

This example shows how to set and readout GPIO 414. 

For different GPIO numbers replace 414 accordingly. 

10.1.1

 

Export GPIO 

nvidia@nvidia-desktop:~$ echo 414 > /sys/class/gpio/export 
nvidia@nvidia-desktop:~$  

10.1.2

 

Change direction to in 

nvidia@nvidia-desktop:~$ echo in > /sys/class/gpio/gpio414/direction 
nvidia@nvidia-desktop:~$  

10.1.3

 

Change direction to out 

nvidia@nvidia-desktop:~$ echo out > /sys/class/gpio/gpio414/direction 
nvidia@nvidia-desktop:~$  

10.1.4

 

Set GPIO low 

nvidia@nvidia-desktop:~$ echo 0 > /sys/class/gpio/gpio414/value 
nvidia@nvidia-desktop:~$  

10.1.5

 

Set GPIO high 

nvidia@nvidia-desktop:~$ echo 1 > /sys/class/gpio/gpio414/value 
nvidia@nvidia-desktop:~$  

10.1.6

 

Readout GPIO value 

nvidia@nvidia-desktop:~$ cat /sys/class/gpio/gpio414/value 

nvidia@nvidia-desktop:~$ cat /sys/class/gpio/gpio414/value 

 

 

Содержание JNX30D

Страница 1: ...REFERENCE MANUAL SCOPE OF WORK Providing technical information and documentation to the product line JNX30D for NVIDIA Jetson Nano TX2 NX Xavier NX PCB NUMBER 38486 ISSUE DATE REVISED DATE DEC 2021 FEB 2022 Version 1 4 PAGES 28 ...

Страница 2: ...chip 9 4 3 MCU9 SECTION 5 Pinout description 10 5 1 J1 Power input jack 10 5 2 J3 Ethernet GbE 10 5 3 J4 M 2 PCIEx4 NVME SSDs 10 5 4 J5 CSI 2 CD 10 5 5 J8 USB 2 0 11 5 6 J9 HDMI 12 5 7 J10 CSI 2 AB 12 5 8 J11 USB 3 0 3 1 12 5 9 J12 Micro USB 13 5 10 J13 CAN 13 5 11 J14 UART connector 13 5 12 J22 Reset Button 13 5 13 J32 Button and LED header 14 5 14 J36 Fan connector 14 5 15 P11 PoE connector 14 5...

Страница 3: ...1 9 1 Camera connection example 21 SECTION 10 Appendix B GPIO 22 10 1 GPIO control 22 10 2 Pin to GPIO reference sheet for Xavier NX Nano TX2 NX 23 10 3 How to calculate GPIOs 24 SECTION 11 Appendix C I2C 26 11 1 I2C device bus 26 11 2 I2C usage of devices and registers 26 SECTION 12 END OF DOKUMENT 28 ...

Страница 4: ...FEB 2022 SECTION 1 Document revisions and changes Document version Changes 1 0 Initial document internal verification process 1 1 Internal verification process 1 2 Internal verification process 1 3 Internal verification process 1 4 Updated content and pictures ...

Страница 5: ...JNX30D TECHNICAL REFERENCE MANUAL VERSION 1 4 Page 5 of 28 FEB 2022 SECTION 2 Product revisions and changes Product version Changes 38486 Engineering prototype 38486 2 Production release ...

Страница 6: ...and Nano compute modules A 5V 8A on board power converter supports the high power modes of the Xavier NX 3 2 JNX30D Easy integration into passively cooled systems Optionally available as complete system in passively cooled enclosure Easy flashing just connect a USB OTG cable Auto Flash High performance storage M 2 NVME PCIe x4 3 3 Model pictures Top side Bottom side JNX30D The 40 pin GPIO header i...

Страница 7: ...lanes plus camera LED hardware sync available 2x CSI 2 UART 2x J14 and 40 pin GPIO header 2x 40 pin header I2C 2x 40 pin header 2x 40 pin header I2S 1x 40 pin header 5V tolerant unidirectional 1x 40 pin header SPI 2x 40 pin header 5V tolerant unidirectional 2x 40 pin header GPIO 3x in 3x out 40 pin header 5V tolerant unidirectional 6x bi dir 40 pin header Additional features Protection overvoltage...

Страница 8: ...ors 3 6 Power consumption Description JNX30D Carrier board logic 1 watt 3 3 5V power converter efficiency 90 Power in converter efficiency 90 3 7 Options Flexible design and manufacturing designed and manufactured in Germany in house fully automated production line with 3D AOI special configuration possible with minimum purchase quantity display port M 2 PoE 48V power in super cap option 2 RPi cam...

Страница 9: ...ues Auvidea does not guarantee the compatibility to any specific add on boards Please check the compatibility yourself Some signals are 5V tolerant inputs and therefore may be driven from 5V logic outputs 4 2 Crypto chip The crypto chip has been added to support software licensing and copy protection Please check the data sheet of the manufacturer for details Model ATSHA204A MAHCZ T https ww1 micr...

Страница 10: ...E injection is used with J32 pin 2 If a voltage higher than 19V is applied the TRS diode will heat up and possibly get damaged 5 2 J3 Ethernet GbE Standard RJ45 pinout with PoE capable magnetics class 3 and 4 PD or PSE Connected to the Ethernet controller on the compute module 5 3 J4 M 2 PCIEx4 NVME SSDs Please note that only NVME SSDs are supported SATA SSDs are not supported We recommend the 128...

Страница 11: ... 22 pin pinout as the 22 pin connector on the Raspberry Pi Zero and Raspberry Pi compute module dev kit board With adapter cable it may connect to Raspberry Pi camera 2 1 and Vision Component camera modules Alvium cameras require the Alivium adapter Pin 6 by default the device tree puts a PWM signal on pin 206 LCD_BL_PWM GPIO_07 For most cameras like Raspberry Pi camera with iMX219 sensor this nee...

Страница 12: ...e the CAM LED 1 enable CAM LED 0 disable CAM LED 6 CAM1_PWDN 206 OUT Output open drain with 2 2k pullup to 3 3V connect to power enable of camera The control signal is connected via level shifting inverter to pin 152 of the compute module 7 GND 8 CSI_B_D1_P 17 9 CSI_B_D1_N 15 10 GND 11 CSI_B_D0_P 5 12 CSI_B_D0_N 3 13 GND 14 CSI_A_CLK_P 12 15 CSI_A_CLK_N 10 16 GND 17 CSI_A_D1_P 18 18 CSI_A_D1_N 16 ...

Страница 13: ...cket pin Note 1 5V 2 CAN_TX 145 3 CAN_RX 143 4 GND CAN can only be used with Jetson Nano NX and TX2 NX These pins are reserved with the Nano Direct connection to module with no ESD protection 5 11 J14 UART connector JST GH 1 25mm Pin Description Socket pin Note 1 5V 2 UART0_TXD 99 OUT 3 3V 3 UART0_RXD 101 IN 3 3V 4 UART2_TXD 236 OUT Debug port 3 3V 5 UART2_RXD 238 IN Debug port 3 3V 6 GND Unidirec...

Страница 14: ...tput to drive cathode of camera LED Controlled by 3 signals which are OR red together J5 pin 5 CSI CD camera J10 pin 5 CSI AB camera Compute module GPIO_12 pin 218 0 LED off 1 LED on float LED on CAM_LED flash signal can be used to control external camera LED When using external LED please limit current with external resistor Connect cathode to this pin and anode to 3 3V to 12V power Maximum curre...

Страница 15: ... 3 3V 17 3 3V 18 SPI1_CS0_LS 110 OUT 3 3V 19 SPI0_MOSI_LS 89 OUT 3 3V 20 GND 21 SPI0_MISO_LS 93 IN 3 3V 5V tolerant 22 SPI1_MISO_LS 108 IN 3 3V 5V tolerant 23 SPI0_SCK_LS 91 IN 3 3V 5V tolerant 24 SPI0_CS0_LS 95 OUT 3 3V 25 GND 26 SPI0_CS1_LS 97 OUT 3 3V 27 ID_I2C_SDA 187 GEN1_I2C_SDA 3 3V 28 ID_I2C_SCL 185 GEN1_I2C_SCL 3 3V 29 GPIO01_LS 118 IN 3 3V 5V tolerant 30 GND 31 GPIO11_LS 216 IN 3 3V 5V t...

Страница 16: ...directional input or output 5 17 U10 Crypto chip Model ATSHA204A Pin Description Socket pin Note 1 NC 2 NC 3 NC 4 GND 5 GEN3_I2C_SDA 6 GEN3_I2C_SCL 7 NC 8 3 3V Integrated for software protection and licensing Datasheet Link https ww1 microchip com downloads en DeviceDoc ATSHA204A Data Sheet 40002025A pdf 5 18 LED Eth Shows Ethernet activity on Socket pin 194 on 0 off 1 default off At own risk resi...

Страница 17: ...utput is disabled and the LED is activated to red To reset this over current condition power input must be cycled The integrated 5V power controller supplies mainly power the compute module the USB ports and the 3 3V power controller for the M 2 socket 5 20 LED PWR GPIO socket pin 178 on 1 off 0 default off 0 5 21 Micro SD card reader Standard pinout Needs device tree changes to be activated which...

Страница 18: ...JNX30D TECHNICAL REFERENCE MANUAL VERSION 1 4 Page 18 of 28 FEB 2022 SECTION 6 FAQ To be added ...

Страница 19: ...TION 7 Disclaimer Thank you for reading this manual If you have found any typos or errors in this document please let us know This is the preliminary version of this data sheet Please treat all specifications with caution as there may be any typos or errors The Auvidea Team ...

Страница 20: ...bH 2021 All Rights Reserved No part of this document or any of its contents may be reproduced copied modified or adapted without the prior written consent of the author unless otherwise indicated for stand alone materials You may share this document by any of the following means this PDF file may be distributed freely if no changes or modifications to the document are made For any other mode of sh...

Страница 21: ... MANUAL VERSION 1 4 Page 21 of 28 FEB 2022 SECTION 9 Appendix A CSI Cameras 9 1 Camera connection example CSI cameras can connect to J5 CSI 2 CD and J19 CSI 2 AB connector as shown below 22 pin 0 5mm to cable Using 38237 adapter ...

Страница 22: ...nvidia nvidia desktop echo in sys class gpio gpio414 direction nvidia nvidia desktop 10 1 3 Change direction to out nvidia nvidia desktop echo out sys class gpio gpio414 direction nvidia nvidia desktop 10 1 4 Set GPIO low nvidia nvidia desktop echo 0 sys class gpio gpio414 value nvidia nvidia desktop 10 1 5 Set GPIO high nvidia nvidia desktop echo 1 sys class gpio gpio414 value nvidia nvidia deskt...

Страница 23: ...272 Bidirectional GPIO3_PJ 00 72 Bidirectional GPIO3_PC 06 342 Bidirectional 189 GPIO3_PJ 02 74 Bidirectional GPIO3_PEE 00 288 Bidirectional 191 GPIO3_PJ 03 75 Bidirectional GPIO3_PEE 01 289 Bidirectional 193 GPIO3_PT 06 446 Not Assigned GPIO3_PJ 06 78 Input GPIO3_PJ 01 393 Input 195 GPIO3_PT 07 447 Not Assigned GPIO3_PJ 05 77 Input GPIO3_PJ 02 394 Input 197 GPIO3_PU 00 448 Not Assigned GPIO3_PJ 0...

Страница 24: ...his letter needs to be referenced to a number This number is individual to every Jetson module and can be found in the tegra gpio h name may differ depending on module Pleas also see the example table shown in GPIOoffset 10 3 3 GPIOdigit The GPIOdigit is easiest to get and can be extracted directly from the name GPIO3_PO GPIOdigit GPIOname GPIOdigit GPIO3_PO 01 1 GPIO3_PCC 04 4 10 3 4 GPIOoffset T...

Страница 25: ...6 288 GG 27 288 Jetson Nano Alpha Key Value Offset A 0 0 B 1 0 C 2 0 D 3 0 E 4 0 F 5 0 G 6 0 H 7 0 I 8 0 J 9 0 K 10 0 L 11 0 M 12 0 N 13 0 O 14 0 P 15 0 Q 16 0 R 17 0 S 18 0 T 19 0 U 20 0 V 21 0 W 22 0 X 23 0 Y 24 0 Z 25 0 AA 26 0 BB 27 0 CC 28 0 DD 29 0 EE 30 0 FF 31 0 Jetson TX2 NX Alpha Key Value Offset Note A 0 320 B 1 320 C 2 320 D 3 320 E 4 320 F 5 320 G 6 320 H 7 320 I 8 320 J 9 320 K 10 32...

Страница 26: ...and 234 213 and 215 Voltage native 3 3V 3 3V 1 8V 3 3V Nano device 6 TX2 NX device 0 Xavier NX device 1 2 Crypto chip ATSHA204A CSI 2 camera CSI CD CSI E CSI F CSI AB GPIO header 27 and 28 3 and 5 EEPROM 24LC024 11 2 I2C usage of devices and registers 11 2 1 List i2c devices on a specific bus Syntax i2cdetect options busNr test test desktop i2cdetect y r 8 0 1 2 3 4 5 6 7 8 9 a b c d e f 00 10 20 ...

Страница 27: ...XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX test test desktop 11 2 3 Set register value Syntax i2cset options busNr deviceAddress register address value test test desktop sudo i2cset y f 8 0x76 0x06 0x00 test test desktop 11 2 4 Read register value Syntax i2cget options busNr deviceAddress register address test test desktop sudo i2cget y f 8 0x76 0x06 0x00 test test desktop 11 2 ...

Страница 28: ...JNX30D TECHNICAL REFERENCE MANUAL VERSION 1 4 Page 28 of 28 FEB 2022 SECTION 12 END OF DOKUMENT End of document ...

Отзывы: