Audio codec alc5640 recording and playback in orin nano r36.4.2(jp6.2)

Audio codec alc5640 recording and playback cannot coexist at the same time in orin nano r36.4.2(jp6.2)

After using the recording function, the playback is not working properly. Use the terminal command:
sudo cat /sys/kernel/debug/regmap/1-001c/registers > ~/codec_regdump.txt
find:
play not working var ---- play working var
122: 0059 ---- 122: 0050
137: 7c00 ---- 137: 1c00
177: 0f00 ---- 177: 1f00
17a: 0000 ----- 17a: 5043

Check the alc5640 DataSheet, the maximum number of registers is 0xff, and there are no registers greater than 0x100. Where are these registers?

Have you checked the update at Audio codec alc5640 recording in orin nano r36.4.2(jp6.2) - Jetson & Embedded Systems / Jetson Orin Nano - NVIDIA Developer Forums?

Both playback and recording function normally when used separately; However, after recording, it cannot be switched to playback. The difference is explained above
The waveform of the HPO/L pin measured is abnormal, as shown in the following figure

These are the codec private registers as mentioned in RT5640 codec driver.

Seems issue is marked as resolved. Please let me know incase of any further query. Also, would like to know what resolved the issue.

You’d better verify if there are any hardware design defects. The power on and off interval should not be less than 30 seconds,

Thanks for the inputs. This seems to be an issue with codec HPOL/R signal which was totally controlled by codec vendor driver.

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