AM62x MCU+ SDK  10.01.00
MCASP Playback

Introduction

This example demostrates the McASP configured for an audio playback mode of operation. A headset with mic needs to be connected to the auido jack on am62x-sk. The audio from the microphone will be played back to both the headset (Left & Right).

  • Mcasp is configured in I2S mode
  • Data transfer is on both channels (Left and Right)

Supported Combinations

Parameter Value
CPU + OS a53ss0-0 freertos
Toolchain arm.gnu.aarch64-none
Board am62x-sk, am62x-sk-lp, am62x-sip-sk
Example folder examples/drivers/mcasp/mcasp_playback_codec_aic32

Steps to Run the Example

  • When using CCS projects to build, import the CCS project for the required combination and build it using the CCS project menu (see Using SDK with CCS Projects).
  • When using makefiles to build, note the required combination and build using make command (see Using SDK with Makefiles)
  • Connect audio devices as mentioned in the introduction
  • Launch a CCS debug session and run the executable, see CCS Launch, Load and Run

See Also

MCASP

Sample Output

Shown below is a sample output when the application is run,

[MCASP] Audio playback example started.
Enter your response on UART terminal
Stop the demo? (y/n) : y