AN 702: Interfacing a USB PHY to the Hard Processor System USB 2.0 OTG Controller

ID 683601
Date 9/22/2017
Public
Document Table of Contents

1.3.1.2.1. USB Controller to PHY Setup Timing Analysis

To determine if your configuration meets setup timing requirements at the PHY, you must calculate the worst case setup time to verify that it falls within limits. To meet setup time requirements, the data arrival time must be less than or equal to the time at which data is required. The inequality below evaluates the data arrival and data required time using values in USB Controller and PHY timing characteristic USB Controller and PHY, respectively. By replacing each side of the inequality with the timing expressions that represent data arrival and data required time, you can verify if the setup timing requirements are met.
Data Arrival ≤ Data Required

Launch_Edge + ClkTrace Td_max + MAC Td_max + DTrace Td_max ≤ (Latch_Edge - Clock Tu)- PHY Tsu

If you assume that Launch_Edge= 0 ns and Latch_Edge= Tclk, then the equation can be simplified:

ClkTrace Td_max + MAC Td_max + DTrace Td_max ≤ (Tclk - Clock Tu)- PHY Tsu

Isolate PHY Tsu by moving parameter terms to one side of the inequality. Replace the parameters with specific timing characteristic values to determine if the worst case setup time for your configuration is greater than or equal to the minimum required setup time:

(Tclk - Clock Tu) - ClkTrace Td_max - MAC Td_max - DTrace Td_max  ≥  PHY Tsu

(16.67 - 0.3) - 0.1 - 11.0 - 0.1  ≥ 5.0

5.17 ns ≥ 5.0 ns