Universal Serial Bus Interface – On-The-Go Module
MCF52277 Reference Manual, Rev. 1
20-30
Freescale Semiconductor
20.3.4.12 Configure Flag Register (CONFIGFLAG)
This EHCI register is not used in this implementation. A read from this register returns a constant of a
0x0000_0001 to indicate that all port routings default to this host controller.
20.3.4.13 Port Status and Control Registers (PORTSC
n
)
The USB module contains a single PORTSC register. This register only resets when power is initially
applied or in response to a controller reset. Initial conditions of a port are:
•
No device connected
•
Port disabled
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. 20-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_0180 (CONFIGFLAG)
Access: User read-only
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 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
1
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
1
Figure 20-27. Configure Flag Register (CONFIGFLAG)
Table 20-31. CONFIGFLAG Field Descriptions
Field
Description
31–0
Reserved. (0x0000_0001, all port routings default to this host)
Table 20-30. TXFILLTUNING Field Descriptions (continued)
Field
Description
TXFIFOTHRES
BURSTSIZE 4
×
(
)
×
40
TimeUnit
×
--------------------------------------------------------------------------------------------
Содержание MCF52277
Страница 1: ...MCF52277 Reference Manual Devices Supported MCF52274 MCF52277 Document Number MCF52277RM Rev 1 04 2008...
Страница 22: ...MCF52277 Reference Manual Rev 1 Freescale Semiconductor xxii...
Страница 32: ...MCF52277 Reference Manual Rev 0 xxxii Freescale Semiconductor...
Страница 60: ...Signal Descriptions MCF52277 Reference Manual Rev 1 2 16 Freescale Semiconductor...
Страница 112: ...Enhanced Multiply Accumulate Unit EMAC MCF52277 Reference Manual Rev 1 4 20 Freescale Semiconductor...
Страница 128: ...Static RAM SRAM MCF52277 Reference Manual Rev 1 6 6 Freescale Semiconductor...
Страница 140: ...Clock Module MCF52277 Reference Manual Rev 1 7 12 Freescale Semiconductor...
Страница 172: ...Chip Configuration Module CCM MCF52277 Reference Manual Rev 1 9 16 Freescale Semiconductor...
Страница 180: ...Serial Boot Facility SBF MCF52277 Reference Manual Rev 1 10 8 Freescale Semiconductor...
Страница 188: ...Reset Controller Module MCF52277 Reference Manual Rev 1 11 8 Freescale Semiconductor...
Страница 210: ...Crossbar Switch XBS MCF52277 Reference Manual Rev 1 13 8 Freescale Semiconductor...
Страница 480: ...Liquid Crystal Display Controller LCDC MCF52277 Reference Manual Rev 1 21 44 Freescale Semiconductor...
Страница 510: ...Touchscreen Controller Analog to Digital Converter MCF52277 Reference Manual Rev 1 22 30 Freescale Semiconductor...
Страница 542: ...FlexCAN MCF52277 Reference Manual Rev 1 23 32 Freescale Semiconductor...
Страница 568: ...Pulse Width Modulation PWM Module MCF52277 Reference Manual Rev 1 24 26 Freescale Semiconductor...
Страница 640: ...Programmable Interrupt Timers PIT0 PIT1 MCF52277 Reference Manual Rev 1 27 8 Freescale Semiconductor...
Страница 690: ...DMA Serial Peripheral Interface DSPI MCF52277 Reference Manual Rev 1 29 40 Freescale Semiconductor...
Страница 724: ...UART Modules MCF52277 Reference Manual Rev 1 30 34 Freescale Semiconductor...
Страница 740: ...I2 C Interface MCF52277 Reference Manual Rev 1 31 16 Freescale Semiconductor...
Страница 790: ...Debug Module MCF52277 Reference Manual Rev 1 32 50 Freescale Semiconductor...