Nvidia Jetson Nano Gpio
C code example for using the gpio pins of nvidia jetson nano by memory mapping.
Nvidia jetson nano gpio. 5 22 19 add rpi spreadsheet helper thanks stephen warren from nvidia 5 12 19 add formal signal names. The jetson nano is a small powerful computer designed to power entry level edge ai applications and devices. These gpios can be controlled for digital input and output using the python library provided in the jetson gpio library package. Many popular ai frameworks like tensorflow pytorch caffe and mxnet are supported and jetson nano is capable of running multiple neural networks in parallel to process data and drive action.
Jetson tx1 tx2 agx xavier and nano development boards contain a 40 pin gpio header similar to the 40 pin header in the raspberry pi. Jetson gpio linux for tegra. Jetson tx1 tx2 agx xavier and nano development boards contain a 40 pin gpio header similar to the 40 pin header in the raspberry pi. You need to arrange for those physical addresses to show up as known virtual addresses in the address space of the process or run in kernel space in a mode that uses physical addressing not generally recommended or even always possible.
These gpios can be controlled for digital input and output using the python library provided in the jetson gpio library package. Looking to bring an ai enabled product to market. Jetson gpio linux for tegra. Pin 1 is marked 1.
Jetson nano developer kit offers useful tools like the jetson gpio python library and is compatible with common sensors and peripherals including many from adafruit and raspberry pi. Jetson nano j41 gpio pins on this early board note that pins labeled 6 8 should be 8 and 10. Get started quickly with the comprehensive nvidia jetpack sdk which includes accelerated libraries for deep learning computer vision graphics multimedia and more start prototyping using the jetson nano developer kit and take. 5 22 19 add uart dev ttyths1.
Gpio addresses are physical memory addresses and a regular process runs in a virtual memory address. One of the nice things about the jetson nano is that there is an expansion header which is useful for general purpose input output gpio you may have thought about turning a light on or off as the output of your program or would like a read a press from an external button.