SL811HS
Document #: 38-08008 Rev. *A
Page 11 of 29
5.2.4
SOF Packet Generation
The SL811HS automatically computes CRC5 by hardware. No CRC or SOF is required to be generated by external firmware for
SL811HS.
5.2.5
USB-A/USB-B Host Base Address [01H, 09H]
The USB-A/USB-B Base Address is a Pointer to the SL811HS memory buffer location for USB reads and writes. When trans-
ferring data OUT (Host to Device), the USB-A and USB-B can be set up prior to setting ARM on the USB-A or USB-B Host Control
register. See the software implementation example.
5.2.6
USB-A/USB-B Host Base Length [02H, 0AH]
The USB A/B host base register contains the maximum packet size to be transferred between the SL811HS and a slave USB
peripheral. Essentially, this designates the largest packet size that can be transferred by the SL811HS. Base Length designates
the size of data packet to be sent. For example, in Bulk mode the maximum packet length is 64 bytes. In ISO mode, the maximum
packet length is 1023, since the SL811HS only has an 8-bit length; the maximum packet size for the ISO mode using the SL811HS
is 255 – 16 bytes. When the Host Base Length register is set to zero, a Zero-Length packet will be transferred.
5.2.7
USB-A/USB-B Host PID, Device Endpoint (Write)/USB Status (Read) [03H, 0BH]
This register has two modes. When read, this register provides packet status and it contains information relative to the last packet
that has been received or transmitted. The register is defined as follows.
When written, this register provides the PID and Endpoint information to the USB SIE engine to be used in the next transaction.
All sixteen Endpoints can be addressed by the SL811HS.
PID3-0
4-bit PID Field (See Table Below)
EP3-0
4-bit Endpoint Value in Binary.
Bit Position
Bit Name
Function
0
ACK
Transmission Acknowledge
1
Error
Error detected in transmission
2
Time-out
Time-out occurred
3
Sequence
Sequence Bit. “0” if DATA0, “1” if DATA1
4
Setup
“1” indicates Setup Packet
5
Overflow
Overflow condition - maximum length exceeded during receives
6
NAK
Slave returns NAK
7
STALL
Slave set STALL bit
D7
D6
D5
D4
D3
D2
D1
D0
PID3
PID2
PID1
PID0
EP3
EP2
EP1
EP0
PID TYPE
D7-D4
SETUP
1101 (D Hex)
IN
1001 (9 Hex)
OUT
0001 (1 Hex)
SOF
0101 (5 Hex)
PREAMBLE
1100 (C Hex)
NAK
1010 (A Hex)
STALL
1110 (E Hex)
DATA0
0011 (3 Hex)
DATA1
1011 (B Hex)