Hi All,
We are using sgtl5000 audio codec in iMX6 customised board.
We are facing problem with MIC.
.wav file and MIC working fine individually,but while playing .wav file with help of aplay, MIC is not working says resource busy.
Actual requirement is, if any interrupts comes from mic, wav file should stop and mic should work(MIC as high priority).
Can you please give some inputs to solve this issue.
Thanks & Regards.
Sankar.
Hello Weidong Sun,
Thanks for your support our issue is solved.
Thanks & Regards,
Sankar.
Hello Weidong Sun,
We are using attached schematic for audio.
In our design MIC_DET is not using,can you please check once.
NOTE : P8 1 pins connected to GND.
Thanks & Regards,
Sankar.
Hello sankar ,
I have 3 suggestions for you reference, see below, please!
1. Hardware
Please compare your design with the schematic of imx6q-sabrelite board,and confirme if the usage of SGTL5000 is correct.
2. software
Refer to linux or android BSP for iMX6Q sabrelite board, please! Particularly settings in device tree.
3. Test on command line by tinyplay on Android platform.
If you are using android , before playing it on command line by tinyplay, you should run "stop media". after testing, then "start media"
Have a nice day!
Best Regards,
Weidong Sun