I2s Jetson nano Developer Kit

Hello,

I am currently trying to set up a jetson nano developer kit to work with an INMP441 Microphone (https://invensense.tdk.com/wp-content/uploads/2015/02/INMP441.pdf).

I have set up the GPIO Pins in I2s using the GPIO config python file however, when looking at the I2S pins using an oscilloscope, the I2s clock (GPIO Pin 12) doesn’t appear to be outputting anything despite being setup for I2S. I have tested it both while the board is sitting idle and while running amixer to record a wav file.

Edit: I have identified the issue as the nano developer kit not generating an I2S clock signal, it therefore gives me this error when running arecord: arecord: pcm_read:2103: read error: Input/output error jetson nano.

Any help would be much appreciated, thanks in advance

Please check NVIDIA Jetson Linux Developer Guide : Audio Setup and Development | NVIDIA Docs to see if can help.

Hi Kayccc,

I have read through that link a few times and tried to solve the problem. The project I am attempting requires that I can take a single sample (as in 1 audio sample not a single bit) at a time from the I2S interface and pass this sample to another program to allow for real time processing. I can successfully write to and read the relevant I2S pins using the physical memory locations however, the default arecord still does not work.

It doesn’t appear to give any error anymore however the SCLK pin does not generate a clock signal and the resulting wav file is empty.

I am sure that the device is configured in I2S as I set up the pins using the python file.

If there is an easier way for me to get this sample by sample to work beyond writing the program from scratch please let me know.

Thanks.

Could you set the pin by jetson-io to try?

Hi,

I’ve managed to solve the issue using this post: Enabling I2S Audio on Jetson Nano GPIO Header .

If anyone encounters a similar issue this post explains how to implement the above in simpler terms: How exactly do I change bootcmd as in another topic?

The board now generates a clock and word select signal as desired. My issue is now with the microphone itself dragging the clock signal down, I will however make another post about this if it still gives me issue to avoid cluttering this post.

Thanks.

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