We’ve integrated the Microchip Timberwolf codec driver into our Jetson Nano system. We just needed to add the appropriate input and output widgets to the codec driver, the routes in the codec driver, and added the connections in the device tree. However, we’re not getting audio out when we try to play a file. Could you provide some help on how we could debug the issue.
Are there tools and utilities that we could use to understand whether our connections are correctly working when we try to play a file?
To enable support for an Audio codec in the BSP, kindly refer to the Codec porting guide to understand SW changes required in the BSP.
To understand ASoC Driver Architecture, kindly go through the BSP documentation.
DAPM trace should help understand the connections. Procedure for getting dapm trace is documented in the troubleshooting guide.
If you are encountering issues still, provide details as per Troubleshooting guide (like device tree, dmesg log, errors if any, codec driver registration information, dapm trace, pinmux settings, signal on pins, mixer settings etc…) and codec driver code.
Thanks for those links - they are very helpful. As part of the troubleshooting guide under the “Sound Not Audible or Not Recorded” section, it states to cat /sys/kernel/debug/tracing/trace_pipe | grep * to get the codec link. However, when I try to enter this command, I don’t get any output. Should I run the command while recording or playing audio ?
To be specific, when I execute the command while trying to playback audio it returns without displaying any output (whereas previously it was blocked when I didn’t playback audio while executing the command). Any advice would be appreciated.