Tool/software:
Question:
How can I enable audio input and output for the "Playback" sample code?
Environment:
Hardware: SK-AM62B-P1
OS:FreeRTOS
SDK: AM62x
Link: https://www.ti.com/tool/ja-jp/download/MCU-PLUS-SDK-AM62X
Expectation:
Audio should be output through a headset connected to the 3.5mm jack.
Current Situation: The execution log is output normally, but there is no audio output.
[MCASP] Audio playback example started. Enter your response on UART terminal Stop the demo? (y/n) : y
Link: https://dev.ti.com/tirex/explore/content/mcu_plus_sdk_am62x_10_01_00_33/docs/api_guide_am62x/EXAMPLES_DRIVERS_MCASP_PLAYBACK.html
Steps:
- Connect the headset to the 3.5mm jack.
- Build the "Playback" sample code using the same steps as the "Hello World" sample (link).
- Continuously input audio into the microphone.
- Execute the code.
- The log is output normally.
- ★ No audio input from the speaker.
Additional Information:
I have embedded logs at the beginning of the callback functions (mcasp_txcb(), mcasp_rxcb()) that receive from mcasp, but they are not output.
Therefore, I suspect that one of the reasons is that the callback is not being returned.