HD Audio mono microphone capture examples don't work

If I run either of the mono mic capture examples from:

https://docs.nvidia.com/jetson/archives/r36.4/DeveloperGuide/SD/Communications/AudioSetupAndDevelopment.html#microphone-capture

It results in error:

arecord: pcm_read:2221: read error: Input/output error

However, I can run the stereo mic capture example without issue.

This is on a Jetson AGX Orin Developer Kit with Jetpack 6.1 installed and running Tegra:

R36 (release), REVISION: 4.0, GCID: 37537400, BOARD: generic, EABI: aarch64, DATE: Fri Sep 13 04:36:44 UTC 2024

Hi Andrew,

Since we are using I2S mode, the minimum clocking must be set for 2 channels due to the LRCK mode. For mono use cases, it’s necessary to adjust the clock accordingly.

Please run the following mixer control setting to ensure proper functionality:
amixer -c APE cset name='I2S1 BCLK Ratio' 2

We will also update the BSP documentation to incorporate this

Hi Sheetal,

Many thanks, that did the trick.

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