AM62x MCU+ SDK  09.02.01
MCASP Loopback External HCLK

Introduction

This example demonstrates the McASP in loopback mode operation with an external HCLK source

  • Mcasp is configured in TDM mode
  • Transfers data on single channel

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_loopback_ext_hclk

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)
  • External HCLK source needs to be supplied to the pin 15 of J3 header. The frequency of the supplied source is specified in syscfg
  • 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] Loopback example started. Testing 2560 bytes ...
All bytes match!!
All tests have passed!!