SDAA199 December   2025 AM620-Q1 , AM625 , AM625-Q1 , AM62A3 , AM62A3-Q1 , AM62A7 , AM62A7-Q1 , AM62P , AM62P-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. Introduction
  5. Software Architecture
  6. Sound Card Information
  7. McASP - External Signals
  8. MCASP Clock Generation and Configurations
  9. Dummy Sound Card DTS Changes
  10. Single DAI Link or a Single Sound Card
  11. Multiple DAI Links - Single Card but Multiple Sub-Devices
  12. MCASP - Practical Examples
  13. 10McASP as a Receiver
    1. 10.1 ADC or Codec as Clock Master
    2. 10.2 Device Tree Changes - Codec as Master and MCASP as Slave
  14. 11MCASP as Transmitter
    1. 11.1 Device Tree Changes - With Codec as Slave and MCASP as Master
  15. 12References

McASP - External Signals

  • Data Pins: McASP may have up to 16 serializers. These serializers are connected to data pins, referred to as AXR pins. They are named as such ("audio transmit/receive" = "AXR") because any McASP data pin can be configured to functions as an input or as an output. Note that if an AXR pin is running as a transmitter, it is necessary to re-initialize the McASP in order to re-configure it as a receiver. Dynamically switching direction during operation is not supported. The McASP data pin hookup is straightforward. Since any McASP AXR pin can be configured for either transmit or receive, the designer is free to choose whichever pins are most convenient for the system.
  • Mute Pins: McASP can have up to two mute pins:
  • AMUTEIN – This is an input. Some external devices have a mute output pin; such a signal can be connected to AMUTEIN. McASP can be configured to mute I2S output under this condition.
  • AMUTE – This is an output that McASP can be configured to drive under specific error conditions. For more details, see the device-specific TRM. Mute pin hookup is also straightforward. Configuration of the AMUTE pin’s behavior takes some planning (see your device-specific TRM), but it is easy to figure out where to connect it. If the downstream device has a mute input pin, that is what AMUTE should be connected to.
  • Clock Pins: McASP may have up to six clock pins, all (and any) of which can be generated internally or sourced externally. There are three types of clock signals on McASP: high frequency (AHCLK), bit (ACLK), and frame sync (AFS). However, each has a transmit version (X, for example, AHCLKX) and a receive version(R, for example, AFSR). Every McASP has a receive clocking section and a transmit clocking section. These are sometimes referred to as the receive port and the transmit port, and each clock port constitutes a clock zone. Therefore, each McASP has two potential clock zones. These can be run asynchronously with respect to each other, but in some cases, synchronous operation is appropriate.
  • AHCLKX and AHCLKR – These are high-frequency clocks pins, sometimes referred to as master clocks (often referred to on audio codecs as MCLK). McASP uses a master clock for one purpose: to divide it down and generate a bit clock. There are several cases where a master clock is not required.
  • ACLKX and ACLKR – These are bit clocks, often referred to on audio devices as BCK. Data is clocked in and out with respect to bit clock edges. Furthermore, much of McASP’s internal logic (state machines, and so forth) runs off of the bit clock, so a bit clock is ALWAYS required.
  • AFSX and AFSR – These are the frame sync clocks, often referred to as word clocks, or more commonly as left-right clocks (LRCK). The “left-right” terminology comes from stereo audio in the I2S format, in which the edges of the frame sync clock denote the bits corresponding to the left and right channels. The frame sync clocks run at the audio stream’s sample rate.

The following figure is a simplified representation of McASP’s external signals, omitting the mute pins.

 MCASP External Signals Figure 4-1 MCASP External Signals