SPRY352 October   2025 AM263P4-Q1 , TAS67524-Q1 , TAS6754-Q1

 

  1.   1
  2.   Overview
  3.   At a glance
  4.   Introduction
  5.   5
    1.     Enabling real-time control and time-sensitive data
    2.     Ethernet topologies: Ring vs. star
    3.     Ethernet ring architecture implementation
    4.     Adding audio playback to an Ethernet backbone with AVB
    5.     Audio in zone architectures
    6.     Implementing AVB in the ZCM
  6.   Conclusion
  7.   Additional resources

Implementing AVB in the ZCM

An Ethernet network typically includes an MCU, an Ethernet switch and an Ethernet PHY, often with some integration. These components achieve media clock synchronization (Figure 9) through:

  • Ethernet MAC.
  • Ethernet PHY.
  • IEEE802.1AS (gPTP).
  • IEEE1722 media clock recovery.
  • Media clock generation.
 Diagram of media clock synchronization
          solution Figure 9 Diagram of media clock synchronization solution

The Ethernet PHY is responsible for transmitting and receiving Ethernet packets. The Ethernet MAC manages data transmission by encapsulating and decapsulating packets. The gPTP protocol synchronizes local clocks across all network devices to maintain a consistent time base. IEEE 1722 media clock recovery uses embedded timing information in Ethernet packets to adjust the audio media clocks: an audio sample clock known as frame synchronization (FSYNC) and an audio data serializer bit clock (SCLK).

Figure 10 shows possible component figurations for an AVB implementation.

 Achieving media clock synchronization
          in an MCU, Ethernet switch and Ethernet PHY Figure 10 Achieving media clock synchronization in an MCU, Ethernet switch and Ethernet PHY

TI's solution uses the DP83TG721-Q1 with integrated media clock recovery to resynchronize the local media clock based on the incoming Ethernet stream. The PHY generates the media clock (FSYNC) for audio sample rates and the bit clock (SCLK) in hardware. The PHY hardware also manages the audio packet presentation time handling. The AM263P4-Q1 MCU emulates I2S audio data through its programmable real-time unit to communicate with the TAS6754-Q1 audio amplifier. Figure 11 shows this solution.

 TI's AVB solution using the
          AM263P4-Q1, DP83TG721-Q1 and TAS6754-Q1 Figure 11 TI's AVB solution using the AM263P4-Q1, DP83TG721-Q1 and TAS6754-Q1

Table 3 lists protocols for an Ethernet ring architecture and AVB.

Table 3 List of protocols for an Ethernet ring architecture and AVB
Protocol Description
IEEE802.1AS Defines synchronization of local clocks to a grandmaster clock (gPTP)
IEEE802.1Qav AVB stack and traffic scheduling for TSN
IEEE1588

Two-way exchange of time stamped messages

Precision Time Protocol

Best master clock algorithm

IEEE802.1Qbv Enhancements for traffic scheduling
IEEE802.1cb

Packet duplication

Packet forwarding

Duplicate package rejection

Ring termination

IEEE1722 AVB transport protocol for media clock recovery