HT45B0K Holtek Semiconductor, HT45B0K Datasheet - Page 8

no-image

HT45B0K

Manufacturer Part Number
HT45B0K
Description
SPI to USB Bridge
Manufacturer
Holtek Semiconductor
Datasheet
Rev 1.00
0CH~0FH Unused
16H~1FH
Address
0AH
0BH
00H
01H
02H
03H
04H
05H
06H
07H
08H
09H
10H
11H
12H
13H
14H
15H
USB Register Summary
USC Register
Name
POR
R/W
Bit
SWRST
Unused
Unused
STALL
SETIO
FIFO0
FIFO1
FIFO2
FIFO3
FIFO4
FIFO5
Name
MISC
AWR
SIES
PIPE
The USC register contains the status bits for USB suspend, resume and reset indications. It also
contains the bits used to control the Remote Wake-up, V33O output and PLL functions. Further
explanation on each bit is given below:
USC Register
Bit 7~6
Bit 5
Bit 4
Bit 3
USC
USR
UCC
UIC
POR state
0000 0000 UAD6
0100 0000
--00 0000
--00 0000
-0-0 0000
--00 0000
0x1- -000
0-00 000- SUSPC
XXXX XXXX
XXXX XXXX
XXXX XXXX
XXXX XXXX
XXXX XXXX
XXXX XXXX
--11 1110
--11 1110
---- ---0
V33C: V33O output enable control
1: USB device receives the resume signal and is going to leave the suspend mode.
---- ----
---- ----
---- ----
Unimplemented, read as “0”.
PLL: PLL enable control
0: turn on the PLL
1: turn off the PLL
0: turn off the V33O output
1: turn on the V33O output
RESUME: USB resume indication fl ag
0: USB device does not receive the resume signal or has left the suspend mode.
When the USB device receives the resume signal, this bit is set to 1 by SIE. This bit will
appear for about 20ms, waiting for the MCU to detect it. When the RESUME is set by
SIE, an interrupt will be generated to wake up the MCU. In order to detect the suspend
state, MCU should set the USBCKEN bit to 1 and clear the PLL and SUSPC bits to 0 to
enable the SIE and PHY functions. The RESUME bit will be cleared when the SUSP bit
7
LEN0
Bit 7
NMI
6
SYSCLK
READY SETCMD
UAD5
Bit 6
EOT
R/W
PLL
5
0
SETIO5 SETIO4
EP5IF
CRCF
UAD4
EP5E
STL5
EU5I
Bit 5
PLL
8
V33C
R/W
4
0
SUSP2 USBCKEN EPS2
EP4IF
Data for endpoint 0
Data for endpoint 1
Data for endpoint 2
Data for endpoint 3
Data for endpoint 4
Data for endpoint 5
UAD3
V33C
EP4E
STL4
Bit 4
EU4I
NAK
Reserved
Reserved
Reserved
RESUME
RESUME
SETIO3
R
3
0
EP3IF
UAD2
EP3E
STL3
SPI to USB Bridge
Bit 3
EU3I
IN
URST
SETIO2 SETIO1 DATATG
CLEAR
R
EP2IF
2
0
URST
UAD1
EP2E
STL2
Bit 2
EU2I
OUT
RMWK
RMWK
HT45B0K
EP1IF
EPS1
UAD0
EP1E
STL1
R/W
Bit 1
ERR
EU1I
TX
1
0
March 22, 2010
REQUEST
www.DataSheet4U.com
RESET
WKEN
SUSP
EP0IF
EPS0
ASET
STL0
SUSP
EU0I
Bit 0
R
0
0

Related parts for HT45B0K