GPIO , SPI, I2C, I2S etc

introduction of JetPack 4.3 ( ( L4T 32.3.1) brings with it a new tool, Jetson-IO. All of the Jetson developer kits include a 40-pin GPIO expansion header. Many of the pins can be used either as General Purpose I/O (GPIO) or Special Function I/O (SFIO). SFIO are functions such as I2C, I2S, SPI, and so on

https://www.jetsonhacks.com/2020/05/04/spi-on-jetson-using-jetson-io/

https://github.com/JetsonHacksNano/SPI-Playground


cat /etc/nv_tegra_release

dmesg |grep SPI


"32.4.3") JETSON_JETPACK="4.4" ;;

"32.4.2") JETSON_JETPACK="4.4 DP" ;;

"32.3.1") JETSON_JETPACK="4.3" ;;

"32.2.3") JETSON_JETPACK="4.2.3" ;;

"32.2.1") JETSON_JETPACK="4.2.2" ;;

"32.2.0" | "32.2") JETSON_JETPACK="4.2.1" ;;

"32.1.0" | "32.1") JETSON_JETPACK="4.2" ;;

"31.1.0" | "31.1") JETSON_JETPACK="4.1.1" ;;

"31.0.2") JETSON_JETPACK="4.1" ;;

"31.0.1") JETSON_JETPACK="4.0" ;;

"28.2.1") JETSON_JETPACK="3.3 | 3.2.1" ;;

"28.2.0" | "28.2") JETSON_JETPACK="3.2" ;;

"28.1.0" | "28.1") JETSON_JETPACK="3.1" ;;

"27.1.0" | "27.1") JETSON_JETPACK="3.0" ;;

"24.2.1") JETSON_JETPACK="3.0 | 2.3.1" ;;

"24.2.0" | "24.2") JETSON_JETPACK="2.3" ;;

"24.1.0" | "24.1") JETSON_JETPACK="2.2.1 | 2.2" ;;

"23.2.0" | "23.2") JETSON_JETPACK="2.1" ;;

"23.1.0" | "23.1") JETSON_JETPACK="2.0" ;;

"21.5.0" | "21.5") JETSON_JETPACK="2.3.1 | 2.3" ;;

"21.4.0" | "21.4") JETSON_JETPACK="2.2 | 2.1 | 2.0 | 1.2 DP" ;;

"21.3.0" | "21.3") JETSON_JETPACK="1.1 DP" ;;

"21.2.0" | "21.2") JETSON_JETPACK="1.0 DP" ;;

*) JETSON_JETPACK="UNKNOWN" ;;


JETSON_JETPACK="4.4" ;; and above…