Address offset: 0x400
Host Configuration Register
This register is used to configure the controller in Host mode.
| Bit number | 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 | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ID | E | D | D | D | D | D | D | D | D | C | B | A | A | ||||||||||||||||||||||
| Reset 0x00000200 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||
| ID | R/W | Field | Value ID | Value | Description | ||||||||||||||||||||||||||||||
| A |
RW |
FSLSPCLKSEL |
FS/LS PHY Clock Select (FSLSPclkSel) When the core is in FS Host mode When the core is in LS Host mode Notes: - When Core in FS mode, the internal and external clocks have the same frequency. - When Core in LS mode, -- If FSLSPclkSel = 2'b00: Internal and external clocks have the same frequency -- If FSLSPclkSel = 2'b10: Internal clock is the divided by eight version of external 48 MHz clock |
||||||||||||||||||||||||||||||||
|
CLK3060 |
0 |
PHY clock is running at 30/60 MHz |
|||||||||||||||||||||||||||||||||
|
CLK48 |
1 |
PHY clock is running at 48 MHz |
|||||||||||||||||||||||||||||||||
|
CLK6 |
2 |
PHY clock is running at 6 MHz |
|||||||||||||||||||||||||||||||||
| B |
RW |
FSLSSUPP |
FS- and LS-Only Support (FSLSSupp) The application uses this bit to control the core's enumeration speed. Using this bit, the application can make the core enumerate as a FS host, even If the connected device supports HS traffic. Do not make changes to this field after initial programming. |
||||||||||||||||||||||||||||||||
|
HSFSLS |
0 |
HS/FS/LS, based on the maximum speed supported by the connected device |
|||||||||||||||||||||||||||||||||
|
FSLS |
1 |
FS/LS-only, even if the connected device can support HS |
|||||||||||||||||||||||||||||||||
| C |
RW |
ENA32KHZS |
Enable 32 KHz Suspend mode (Ena32KHzS) This bit can be set only in FS PHY interface is selected. Else, this bit needs to be set to zero. When FS PHY interface is chosen and this bit is set, the core expects that the PHY clock during Suspend is switched from 48 MHz to 32 KHz. |
||||||||||||||||||||||||||||||||
|
DISABLED |
0 |
32 KHz Suspend mode disabled |
|||||||||||||||||||||||||||||||||
|
ENABLED |
1 |
32 KHz Suspend mode enabled |
|||||||||||||||||||||||||||||||||
| D |
RW |
RESVALID |
Resume Validation Period (ResValid) This field is effective only when HCFG.Ena32KHzS is set. It controls the resume period when the core resumes from suspend. The core counts for 'ResValid' number of clock cycles to detect a valid resume when this is set. |
||||||||||||||||||||||||||||||||
| E |
RW |
MODECHTIMEN |
Mode Change Ready Timer Enable (ModeChTimEn) This bit is used to enable/disable the Host core to wait 200 PHY clock cycles at the end of Resume to change the opmode signal to the PHY to 00 after Suspend or LPM. |
||||||||||||||||||||||||||||||||
|
ENABLED |
0 |
The Host core waits for either 200 PHY clock cycles or a linestate of SE0 at the end of resume to change the opmode from 0x2 to 0x0 |
|||||||||||||||||||||||||||||||||
|
DISABLED |
1 |
The Host core waits only for a linestate of SE0 at the end of resume to change the opmode from 0x2 to 0x0 |
|||||||||||||||||||||||||||||||||