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
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.
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.