# I2s microphone hardware setup

**URL:** <https://forums.developer.nvidia.com/t/i2s-microphone-hardware-setup/187909>\
**Category:** Jetson Nano\
**Tags:** i2s, gpio\
**Created:** [August 29, 2021, 11:55am UTC](https://forums.developer.nvidia.com/t/i2s-microphone-hardware-setup/187909 "2021-08-29T11:55:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shfanfan](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@shfanfan](https://forums.developer.nvidia.com/u/shfanfan)\
**Post date:** [August 29, 2021, 11:55am UTC](https://forums.developer.nvidia.com/t/i2s-microphone-hardware-setup/187909/1 "2021-08-29T11:55:36Z")

</div>

Hi,  
I am trying to connect the ICS-43434 mems digital microphone to a Jetson Nano. I have successfully connected this mic to both RPI4 and esp32 so I know the mic works and that I got the wiring OK. I know how to operate linux but a total NOOB on the jetson.

I have connected the microphone using the following pinout:  
Pin1 = 3V  
Pin12 = BCLK  
Pin35 = LRCL  
Pin38 = DOUT  
Pin39 = GND

running  
arecord -D hw:tegrasndt210ref,0 -r 48000 -f S16\_LE -c 1 -d 10 test.wav  
I get an empty test.wav file

I looked at [this](https://forums.developer.nvidia.com/t/i2s-microphone-no-sound/77328) post that seem to have the same issue (solved) but couldn’t make out what steps to take to get to the same solution.  
I tried running :  
amixer -c tegrasndt210ref cset name=‘ADMAIF1 Mux’ I2S4

I have looked at this [post](https://forums.developer.nvidia.com/t/enabling-i2s-audio-output-on-40-pin-connector/74625#5340573) that was supposed to solve this i2s GPIO configuration but couldn’t understand the solution - do I really need to re-build my kernel for this to work?  
i2s is very basic stuff. I wonder how come there is no 1,2,3 step guide to make this work on an out-of-the-box jetson nano?

I’ll appreciate any help and direction you could give me…

---

<div class="post-metadata">

**Author:** ![kayccc](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kayccc/32/14043_2.png) [@kayccc](https://forums.developer.nvidia.com/u/kayccc)\
**Post date:** [September 8, 2021, 5:46am UTC](https://forums.developer.nvidia.com/t/i2s-microphone-hardware-setup/187909/3 "2021-09-08T05:46:30Z")

</div>

Sorry for the late response, we will do the investigation and update soon.

---

<div class="post-metadata">

**Author:** ![jonathanh](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/jonathanh/32/14043_2.png) [@jonathanh](https://forums.developer.nvidia.com/u/jonathanh)\
**Post date:** [September 8, 2021, 10:17am UTC](https://forums.developer.nvidia.com/t/i2s-microphone-hardware-setup/187909/4 "2021-09-08T10:17:34Z")

</div>

Hello!

There is a [chapter](https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/asoc_driver.19.2.html#wwpID0E0EX0HA) in the Jetson documentation for audio on the 40-pin expansion header (although maybe not easy to find). Long story short, the pins on the 40-pin expansion header are configured as GPIO by default and therefore, the pinmux needs to be re-configured to use them as I2S. Per the section on the 40-pin header in the audio section, there is a tool provided to do this. Details on this tool can be from [here](https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/hw_setup_jetson_io.html#).

Please try running the following commands and see if this helps …

```auto
$ sudo /opt/nvidia/jetson-io/config-by-function.py -o dtb i2s4
$ sudo reboot

```

Regards,  
Jon

---

<div class="post-metadata">

**Author:** ![nadeemm](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nadeemm/32/367020_2.png) [@nadeemm](https://forums.developer.nvidia.com/u/nadeemm)\
**Post date:** [October 15, 2021, 3:19am UTC](https://forums.developer.nvidia.com/t/i2s-microphone-hardware-setup/187909/6 "2021-10-15T03:19:52Z")

</div>

Closed on October 15, 2021, 3:19am UTC


