Universal Serial Bus Interface – On-The-Go Module
MCF52277 Reference Manual, Rev. 1
20-24
Freescale Semiconductor
20.3.4.4
Frame Index Register (FRINDEX)
In host mode, the controller uses this register to index the periodic frame list. The register updates every
125 microseconds (once each microframe). Bits [N–3] select a particular entry in the periodic frame list
during periodic schedule execution. The number of bits used for the index depends on the size of the frame
list as set by system software in the USBCMD[FS] field.
This register must be a longword. Byte writes produce undefined results. This register cannot be written
unless the USB OTG controller is in halted state as the USBSTS[HCH] bit indicates. A write to this
register while the USBSTS[RS] bit is set produces undefined results. Writes to this register also affect the
SOF value.
In device mode, this register is read-only, and the USB OTG controller updates the FRINDEX[13–3] bits
from the frame number the SOF marker indicates. When the USB bus receives a SOF, FRINDEX[13–3]
checks against the SOF marker. If FRINDEX[13–3] is different from the SOF marker, FRINDEX[13–3]
is set to the SOF value and FRINDEX[2–0] is cleared (SOF for 1 ms frame). If FRINDEX[13–3] equals
the SOF value, FRINDEX[2–0] is incremented (SOF for 125
μ
sec microframe.)
3
FRE
Frame list rollover enable. When this bit and the USBSTS[FRI] bit are set, controller issues an interrupt.
Software clearing the USBSTS[FRI] bit acknowledges the interrupt. Used only in host mode.
0 Disabled
1 Enabled
2
PCE
Port change detect enable. When this bit and the USBSTS[PCI] bit are set, controller issues an interrupt.
Software clearing the USBSTS[PCI] bit acknowledges the interrupt.
0 Disabled
1 Enabled
1
UEE
USB error interrupt enable. When this bit and the USBSTS[UEI] bit are set, controller issues an interrupt at the
next interrupt threshold. Software clearing the USBSTS[UEI] bit acknowledges the interrupt.
0 Disabled
1 Enabled
0
UE
USB interrupt enable. When this bit is 1 and the USBSTS[UI] bit is set, the USB OTG controller issues an
interrupt at the next interrupt threshold. Software clearing the USBSTS[UI] bit acknowledges the interrupt.
0 Disabled
1 Enabled
Address: 0xFC0B_014C (FRINDEX)
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 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
FRINDEX
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 20-19. Frame Index Register (FRINDEX)
Table 20-21. USBINTR Field Descriptions (continued)
Field
Description
Summary of Contents for MCF52277
Page 22: ...MCF52277 Reference Manual Rev 1 Freescale Semiconductor xxii...
Page 32: ...MCF52277 Reference Manual Rev 0 xxxii Freescale Semiconductor...
Page 60: ...Signal Descriptions MCF52277 Reference Manual Rev 1 2 16 Freescale Semiconductor...
Page 128: ...Static RAM SRAM MCF52277 Reference Manual Rev 1 6 6 Freescale Semiconductor...
Page 140: ...Clock Module MCF52277 Reference Manual Rev 1 7 12 Freescale Semiconductor...
Page 172: ...Chip Configuration Module CCM MCF52277 Reference Manual Rev 1 9 16 Freescale Semiconductor...
Page 180: ...Serial Boot Facility SBF MCF52277 Reference Manual Rev 1 10 8 Freescale Semiconductor...
Page 188: ...Reset Controller Module MCF52277 Reference Manual Rev 1 11 8 Freescale Semiconductor...
Page 210: ...Crossbar Switch XBS MCF52277 Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 542: ...FlexCAN MCF52277 Reference Manual Rev 1 23 32 Freescale Semiconductor...
Page 724: ...UART Modules MCF52277 Reference Manual Rev 1 30 34 Freescale Semiconductor...
Page 740: ...I2 C Interface MCF52277 Reference Manual Rev 1 31 16 Freescale Semiconductor...
Page 790: ...Debug Module MCF52277 Reference Manual Rev 1 32 50 Freescale Semiconductor...