
Universal Serial Bus Interface – On-The-Go Module
Freescale Semiconductor
21-29
21.3.3.12 ULPI Register Access (ULPI_VIEWPORT)
The register provides indirect access to the ULPI PHY register set. Although the controller modules
perform access to the ULPI PHY register set, there may be circumstances where software may need direct
access.
NOTE
Be advised that writes to the ULPI through the ULPI viewport can
substantially harm standard USB operations. Currently no usage model has
been defined where software should need to execute writes directly to the
ULPI. Executing read operations though the ULPI viewport should have no
harmful side effects to standard USB operations. Also, if the ULPI interface
is not enabled, this register is always read cleared.
12–8
TXSCHHEALTH
Scheduler health counter. These bits increment when the host controller fails to fill the TX latency FIFO to the
level programmed by TXFIFOTHRES before running out of time to send the packet before the next SOF.
This health counter measures the number of times this occurs to provide feedback to selecting a proper
TXSCHOH. Writing to this register clears the counter and this counter stops counting after reaching the
maximum of 31.
7–0
TXSCHOH
Scheduler overhead. These bits add an additional fixed offset to the schedule time estimator described as T
ff
.
As an approximation, the value chosen for this register should limit the number of back-off events captured in
the TXSCHHEALTH field to less than 10 per second in a highly utilized bus. Choosing a value too high for this
register is not desired as it can needlessly reduce USB utilization.
The time unit represented in this register is 1.267
μ
s when a device connects in high-speed mode.
The time unit represented in this register is 6.333
μ
s when a device connects in low-/full-speed mode.
For most applications, TXSCHOH can be set to 4 or less. A good value to begin with is:
Eqn. 21-1
Always rounded to the next higher integer. TimeUnit is 1.267 or 6.333 as noted earlier in this description. For
example, if TXFIFOTHRES is 5 and BURSTSIZE is 8, set TXSCHOH to 5
×
(8
×
4)/(40
×
1.267) equals 4 for a
high-speed link. If this value of TXSCHOH results in a TXSCHHEALTH count of 0 per second, low the value
by 1 if optimizing performance is desired. If TXSCHHEALTH exceeds 10 per second, raise the value by 1.
If streaming mode is disabled via the USBMODE register, treat TXFIFOTHRES as the maximum value for
purposes of the TXSCHOH calculation.
Address: 0xFC0B_0170 (ULPI_VIEWPORT)
Access: User read/write
31
30
29
28
27
26 25 24 23 22 21 20 19 18 17 16 15 14 13 12
11
10
9
8
7
6
5
4
3
2
1
0
R ULPI_
WU
ULPI_
RUN
ULPI_
RW
0 ULPI_
SS
ULPI_
PORT
ULPI_ADDR
ULPI_DATRD
ULPI_DATWR
W
Reset
0
0
0
0
0
0
0
0 0 0 0 0 0 0 0 0 0 0 0
0
0
0
0
0
0 0 0 0 0 0 0 0
Figure 21-26. ULPI Register Access (ULPI VIEWPORT)
Table 21-28. TXFILLTUNING Field Descriptions (continued)
Field
Description
TXFIFOTHRES
BURSTSIZE
4
×
(
)
×
40
TimeUnit
×
--------------------------------------------------------------------------------------------
MCF5329 Reference Manual, Rev 3
Summary of Contents for MCF5329
Page 106: ...ColdFire Core 3 32 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 148: ...Cache 5 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 154: ...Static RAM SRAM 6 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 184: ...Power Management 8 18 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 204: ...Reset Controller Module 10 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 220: ...System Control Module SCM 11 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 228: ...Crossbar Switch XBS 12 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 268: ...General Purpose I O Module 13 40 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 392: ...SDRAM Controller SDRAMC 18 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 436: ...Fast Ethernet Controller FEC 19 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 594: ...FlexCAN 23 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 678: ...Pulse Width Modulation PWM Module 26 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 684: ...Watchdog Timer Module 27 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 704: ...DMA Timers DTIM0 DTIM3 29 12 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 754: ...UART Modules 31 34 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 770: ...I2 C Interface 32 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 866: ...Debug Module 36 50 Freescale Semiconductor MCF5329 Reference Manual Rev 3...