欢迎访问ic37.com |
会员登录 免费注册
发布采购

SL811HST-AXC 参数 Datasheet PDF下载

SL811HST-AXC图片预览
型号: SL811HST-AXC
PDF下载: 下载PDF文件 查看货源
内容描述: 嵌入式USB主/从控制器 [Embedded USB Host/Slave Controller]
分类和应用: 控制器
文件页数/大小: 32 页 / 617 K
品牌: CYPRESS [ CYPRESS SEMICONDUCTOR ]
 浏览型号SL811HST-AXC的Datasheet PDF文件第9页浏览型号SL811HST-AXC的Datasheet PDF文件第10页浏览型号SL811HST-AXC的Datasheet PDF文件第11页浏览型号SL811HST-AXC的Datasheet PDF文件第12页浏览型号SL811HST-AXC的Datasheet PDF文件第14页浏览型号SL811HST-AXC的Datasheet PDF文件第15页浏览型号SL811HST-AXC的Datasheet PDF文件第16页浏览型号SL811HST-AXC的Datasheet PDF文件第17页  
SL811HS
Table 16. SOF Counter LOW Address when Written [Address 0Eh]
Bit 7
SOF7
Bit 6
SOF6
Bit 5
SOF5
Bit 4
SOF4
Bit 3
SOF3
Bit 2
SOF2
Bit 1
SOF1
Bit 0
SOF0
Example:
To set up SOF for 1 ms interval, SOF counter register 0Eh should be set to E0h.
SOF Counter High/Control Register 2 [Address = 0Fh].
When read, this register returns the value of the SOF counter divided by
64. The software must use this register to determine the available bandwidth in the current frame before initiating any USB transfer.
In this way, the user is able to avoid babble conditions on the USB. For example, to determine the available bandwidth left in a frame
do the following.
Maximum number of clock ticks in 1 ms time frame is 12000 (1 count per 12 MHz clock period, or approximately 84 ns.) The value
read back in Register 0FH is the (count × 64) × 84 ns = time remaining in current frame. USB bit time = one 12 MHz period.
Value of register 0FH
Available bit times left are between
BBH
12000 bits to 11968 (187 × 64) bits
BAH
11968 bits to 11904 (186 × 64) bits
Note:
Any write to the 0Fh register clears the internal frame counter. Write register 0Fh at least once after power-up. The internal
frame counter is incremented after every SOF timer tick. The internal frame counter is an 11-bit counter, which is used to track the
frame number. The frame number is incremented after each timer tick. Its contents are transmitted to the slave every millisecond in
a SOF packet.
Table 17. SOF High Counter when Read [Address 0Fh]
Bit 7
C13
Bit 6
C12
Bit 5
C11
Bit 4
C10
Bit 3
C9
Bit 2
C8
Bit 1
C7
Bit 0
C6
When writing to this register the bits definition are defined as follows.
Table 18. Control Register 2 when Written [Address 0Fh]
Bit 7
SL811HS
Master/Slave
selection
Bit Position
7
6
5-0
Bit 6
SL811HS
D+/D– Data
Polarity Swap
Bit Name
SL811HS Master/Slave selection
SL811HS D+/D– Data Polarity Swap
SOF High Counter Register
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
SOF High Counter Register
Function
Master = 1, Slave = 0.
’1’ = change polarity (low speed)
’0’ = no change of polarity (full speed).
Write a value or read it back to SOF High Counter Register.
hardware SOF generation. To load both HIGH and LOW
registers with the proper values, the user must follow this
sequence:
1. Write E0h to register 0Eh. This sets the lower byte of the SOF
counter
2. Write AEh to register 0Fh, AEh configures the part for full
speed (no change of polarity) Host with bits 5–0 = 2Eh for
upper portion of SOF counter.
3. Enable bit 0 in register 05h. This enables hardware generation
of SOF.
4. Set the ARM bit at address 00h. This starts the SOF
generation.
Note
Any write to Control register 0Fh enables the SL811HS full
features bit. This is an internal bit of the SL811HS that enables
additional features.
The USB-B register set is used when SL811HS full feature bit is
enabled.
Example.
To set up host to generate 1 ms SOF time:
The register 0Fh contains the upper 6 bits of the SOF timer.
Register 0Eh contains the lower 8 bits of the SOF timer. The
timer is based on an internal 12 MHz clock and uses a counter,
which counts down to zero from an initial value. To set the timer
for 1 ms time, the register 0Eh is loaded with value E0h and
register 0Fh (bits 0–5) is loaded with 2Eh. To start the timer, bit
0 of register 05h (Control Register 1) is set to ’1’, which enables
Document 38-08008 Rev. *F
Page 13 of 32