SL811HS_07 CYPRESS [Cypress Semiconductor], SL811HS_07 Datasheet - Page 6

no-image

SL811HS_07

Manufacturer Part Number
SL811HS_07
Description
Embedded USB Host/Slave Controller
Manufacturer
CYPRESS [Cypress Semiconductor]
Datasheet
Document 38-08008 Rev. *D
USB-A/USB-B Host Base Length [Address = 02h, 0Ah].
Table 5. USB-A / USB-B Host Base Length Definition [Address 02h, 0Ah]
The USB A/B Host Base Length register contains the maximum packet size transferred between the SL811HS and a slave USB
peripheral. Essentially, this designates the largest packet size that is transferred by the SL811HS. Base Length designates the
size of data packet sent or received. For example, in full speed BULK mode, the maximum packet length is 64 bytes. In ISO
mode, the maximum packet length is 1023 bytes since the SL811HS only has an 8-bit length; the maximum packet size for the
ISO mode using the SL811HS is 255 – 16 bytes (register space). When the Host Base length register is set to zero, a Zero-Length
packet is transmitted.
USB-A/USB-B USB Packet Status (Read) and Host PID, Device Endpoint (Write) [Address = 03h, 0Bh]. This register has
two modes dependent on whether it is read or written. When read, this register provides packet status and contains information
relative to the last packet that has been received or transmitted. This register is not valid for reading until after the Done interrupt
occurs, which causes the register to update.
Table 6. USB-A/USB-B USB Packet Status Register Definition when READ [Address 03h, 0Bh]
When written, this register provides the PID and Endpoint information to the USB SIE engine used in the next transaction. All 16
Endpoints can be addressed by the SL811HS.
Table 7. USB-A / USB-B Host PID and Device Endpoint Register when WRITTEN [Address 03h, 0Bh]
PID[3:0]: 4-bit PID Field (See Table Below), EP[3:0]: 4-bit Endpoint Value in Binary.
SETUP
IN
OUT
SOF
PREAMBLE
NAK
STALL
DATA0
DATA1
Bit Position
PID TYPE
STALL
HBL7
PID3
Bit 7
Bit 7
Bit 7
7
6
5
4
3
2
1
0
STALL
NAK
Overflow
Setup
Sequence
Time-out
Error
ACK
Bit Name
HBL6
PID2
Bit 6
Bit 6
NAK
Bit 6
Overflow
Slave device returned a STALL.
Slave device returned a NAK.
Overflow condition - maximum length exceeded during receives. For underflow, see
USB-A/USB-B Host Transfer Count Register (Read), USB Address (Write) [Address = 04h,
0Ch] on page
This bit is not applicable for Host operation since a SETUP packet is generated by the host.
Sequence bit. ’0’ if DATA0, ’1’ if DATA1.
Timeout occurred. A timeout is defined as 18-bit times without a device response (in full
speed).
Error detected in transmission. This includes CRC5, CRC16, and PID errors.
Transmission Acknowledge.
HBL5
Bit 5
Bit 5
Bit 5
PID1
Function
7.
Setup
HBL4
Bit 4
Bit 4
Bit 4
PID0
1101 (D Hex)
1001 (9 Hex)
0001 (1 Hex)
0101 (5 Hex)
1100 (C Hex)
1010 (A Hex)
1110 (E Hex)
0011 (3 Hex)
1011 (B Hex)
D7-D4
Sequence
HBL3
Bit 3
Bit 3
Bit 3
EP3
Time-out
HBL2
Bit 2
Bit 2
Bit 2
EP2
HBL1
Bit 1
Bit 1
Error
Bit 1
EP1
SL811HS
Page 6 of 32
HBL0
Bit 0
Bit 0
Bit 0
ACK
EP0
[+] Feedback
[+] Feedback

Related parts for SL811HS_07