|
|
|
|
|
|
|
|
| SL811HS | |
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
Table 5. |
|
|
|
| ||||||
|
|
|
|
|
|
|
|
| ||
Bit 7 | Bit 6 |
| Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 | ||
HBL7 | HBL6 |
| HBL5 | HBL4 | HBL3 | HBL2 | HBL1 | HBL0 | ||
|
|
|
|
|
|
|
|
|
|
|
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
Table 6.
Bit 7 | Bit 6 |
| Bit 5 |
| Bit 4 |
| Bit 3 | Bit 2 | Bit 1 |
| Bit 0 | ||
STALL | NAK | Overflow |
| Setup |
| Sequence | Error |
| ACK | ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bit Position |
| Bit Name |
| Function |
|
|
|
|
|
|
|
| |
7 |
| STALL |
| Slave device returned a STALL. |
|
|
|
|
| ||||
6 |
| NAK |
| Slave device returned a NAK. |
|
|
|
|
|
| |||
5 |
| Overflow |
| Overflow condition - maximum length exceeded during receives. For underflow, see |
| ||||||||
|
|
|
|
| |||||||||
|
|
|
| 0Ch] on page 7. |
|
|
|
|
|
|
|
| |
4 |
| Setup |
| This bit is not applicable for Host operation since a SETUP packet is generated by the host. |
| ||||||||
|
|
|
|
|
|
|
|
|
| ||||
3 |
| Sequence |
| Sequence bit. ’0’ if DATA0, ’1’ if DATA1. |
|
|
|
|
| ||||
|
|
|
|
|
| ||||||||
2 |
|
| Timeout occurred. A timeout is defined as |
| |||||||||
|
|
|
| speed). |
|
|
|
|
|
|
|
| |
1 |
| Error |
| Error detected in transmission. This includes CRC5, CRC16, and PID errors. |
|
| |||||||
0 |
| ACK |
| Transmission Acknowledge. |
|
|
|
|
|
|
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.
| Bit 7 | Bit 6 | Bit 5 | Bit 4 |
| Bit 3 |
| Bit 2 | Bit 1 | Bit 0 | |
| PID3 | PID2 | PID1 | PID0 |
| EP3 |
| EP2 | EP1 | EP0 | |
|
|
|
|
|
|
|
|
|
|
| |
| PID[3:0]: |
|
|
| |||||||
|
|
|
|
|
|
|
|
| |||
| PID TYPE |
|
|
|
|
|
|
| |||
| 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) |
|
|
| ||
|
|
|
|
|
|
|
|
|
|
| |
Document |
|
|
|
|
|
|
|
| Page 6 of 32 |