# The Jetson nano does not have 40pin header Python driver

**URL:** <https://forums.developer.nvidia.com/t/the-jetson-nano-does-not-have-40pin-header-python-driver/210556>\
**Category:** Jetson Nano\
**Tags:** spi\
**Created:** [April 7, 2022, 11:13am UTC](https://forums.developer.nvidia.com/t/the-jetson-nano-does-not-have-40pin-header-python-driver/210556 "2022-04-07T11:13:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhoujunquan](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@zhoujunquan](https://forums.developer.nvidia.com/u/zhoujunquan)\
**Post date:** [April 7, 2022, 11:13am UTC](https://forums.developer.nvidia.com/t/the-jetson-nano-does-not-have-40pin-header-python-driver/210556/1 "2022-04-07T11:13:03Z")

</div>

We use one SPI interface of nano to interconnect external devices, and the IO used by this SPI interface is located on devkit 40pin header.  
When using the nano module attached with devkit (TF card version), execute sudo / opt / NVIDIA / Jetson IO / Jetson io Py, we can see the function selection of “configure Jeston 40pin header”, and then we can configure the spi-io function.

 ![1](https://global.discourse-cdn.com/nvidia/original/3X/0/e/0e9f521175b98e56867fcb3ab7ef92d3d69efd8f.png)  
When the nano module of 16GB EMMC version installe on the devkit board, execute the above command, it shows that there is no “configure Jeston 40pin header” model function, and the spi-io function cannot be used.  
 ![2](https://global.discourse-cdn.com/nvidia/original/3X/7/a/7a91adb935dd0d653c98102fde9d106fc8f698d4.jpeg)  
16GB EMMC version Nano Module System image version: jetpack 4.6.1  
 ![3](https://global.discourse-cdn.com/nvidia/original/3X/1/8/18cd281cd27a29f90cb536789c8995e0ab245ae9.jpeg)

---

<div class="post-metadata">

**Author:** ![ShaneCCC](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/shaneccc/32/14043_2.png) [@ShaneCCC](https://forums.developer.nvidia.com/u/ShaneCCC)\
**Post date:** [April 8, 2022, 8:18am UTC](https://forums.developer.nvidia.com/t/the-jetson-nano-does-not-have-40pin-header-python-driver/210556/3 "2022-04-08T08:18:03Z")

</div>

Have reference to below topic to modify the device tree manually for EMMC module.

> [@About using spi on Jetson NANO](https://forums.developer.nvidia.com/t/about-using-spi-on-jetson-nano/210372/8):
>
> Hello, I can see the spi node. Codes that open and access spi are also executed normally. However, I can’t check the waveform change with the oscilloscope. What’s the problem? Thank you.

> [@NANO EMMC SPI signal seen on the scope is abnormal](https://forums.developer.nvidia.com/t/194309):
>
> After modify these files ，the nano can receive data by jump MOSI and MISO. ./hardware/nvidia/platform/t210/porg/kernel-dts/tegra210-porg-p3448-common.dtsi ./hardware/nvidia/platform/t210/porg/kernel-dts/porg-platforms/tegra210-porg-gpio-p3448-0002-b00.dtsi ./kernel/kernel-4.9/drivers/spi/spi-tegra114.c ./kernel/kernel-4.9/drivers/gpio/gpio-tegra.c nvidia@nvidia:~$ cat /etc/nv\_tegra\_release | head -n 1 # R32 (release), REVISION: 6.1, GCID: 27863751, BOARD: t210ref, EABI: aarch64, DATE: Mon Jul …

---

<div class="post-metadata">

**Author:** ![zhoujunquan](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@zhoujunquan](https://forums.developer.nvidia.com/u/zhoujunquan)\
**Post date:** [April 12, 2022, 8:39am UTC](https://forums.developer.nvidia.com/t/the-jetson-nano-does-not-have-40pin-header-python-driver/210556/4 "2022-04-12T08:39:40Z")

</div>

Thanks for your replay.  
But this tpoic can’t solve my problem。Now,I can’t configure the SPI pin and I can’t see the spi node，also I can’t find these files ：  
./hardware/nvidia/platform/t210/porg/kernel-dts/tegra210-porg-p3448-common.dtsi  
./hardware/nvidia/platform/t210/porg/kernel-dts/porg-platforms/tegra210-porg-gpio-p3448-0002-b00.dtsi  
./kernel/kernel-4.9/drivers/spi/spi-tegra114.c  
./kernel/kernel-4.9/drivers/gpio/gpio-tegra.c  
mentioned in the above topic。

My problem now is what should I do to make “configure Jeston 40pin header”option appear when running jetson-io.py。

---

<div class="post-metadata">

**Author:** ![ShaneCCC](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/shaneccc/32/14043_2.png) [@ShaneCCC](https://forums.developer.nvidia.com/u/ShaneCCC)\
**Post date:** [April 12, 2022, 9:16am UTC](https://forums.developer.nvidia.com/t/the-jetson-nano-does-not-have-40pin-header-python-driver/210556/5 "2022-04-12T09:16:16Z")

</div>

For your module need manually configure those pins.  
Below link tell how to get the kernel source and how to build it.

[https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3261/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/kernel\_custom.html#](https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3261/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/kernel_custom.html#)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [May 4, 2022, 6:24am UTC](https://forums.developer.nvidia.com/t/the-jetson-nano-does-not-have-40pin-header-python-driver/210556/7 "2022-05-04T06:24:54Z")

</div>

Closed on May 4, 2022, 6:24am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
