We are trying to verify the audio acquisition functionality in the armstoneMX8MP board.
Reading the document "F&S i.MX8M-Plus Linux" in the Audio section the command "arecord -c 1 -r 8000 -f s16_le -d <duration> <file.wav>" is indicated to acquire audio from the microphone, but this functionality directly fails on your default image "sdcard-fsimx8mp-Y2023.03.tar.bz2 ". Using our own compilation using Yocto Kirkstone the execution works correctly but we do not acquire anything, neither through capsule or LineIn.
In the documentation of this board, commands like "amixer sset 'Capture Mux' LINE_IN" are indicated but they are not applicable to the IMX8MPlus, I think they are to the IMX8MMini. From what we have been able to observe, the IMX8MP uses the WM8960 codec that does not have these controls.
The microphone has been connected between PIN41 (AUDIO_MICIN) and PIN42 (GND) of the "Feature connector". The 0dB line inputs have been connected to PIN44 (AUDIO_LIN_R)+PIN46(GND) and PIN48 (AUDIO_LIN_L)+PIN47(GND).
Playback works fine.
Can you indicates how can we use this functionality and how are routed AUDIO_MICIN, AUDIO_LIN_R & AUDIO_LIN_L to WM8960 codec.
Regards,
Marc.