AM275 FreeRTOS SDK  10.01.00
MCASP Stereo Playback

Introduction

This example demostrates the McASP configured for stereo audio playback mode of operation. Audio can be inputed from the 3.5mm audio line in jack (J2 Top) and audio out can be heard from audio line out jack (J3 Top).

  • Mcasp RX is configured in TDM2 mode to receive from the PCM6240
  • Mcasp TX is configured in I2S mode to transmit to TAD5212
  • Mcasp is configured as the clock master with external clock sourced from CDCE6214

Supported Combinations

Parameter Value
CPU + OS r5fss0-0 freertos
c75ss0-0 freertos
Toolchain ti-arm-clang
ti-c7000
Board am275x-evm
Example folder examples/drivers/mcasp/mcasp_stereo_playback

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