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

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
Endpoint Packet Status [Address a = (EP# * 10h)+3, b = (EP# * 10h)+Bh]. The packet status contains information relative to
the packet that is received or transmitted. The register is defined as follows:
Table 25. Endpoint Packet Status Reg [Address EP0a/b:03h/0Bh, EP1a/b:13h/1Bh, EP2a/b:23h/2Bh, EP3a/b:33h/3Bh]
Endpoint Transfer Count [Address a = (EP# * 10h)+4, b =
(EP# * 10h)+Ch]. As a peripheral device, the Endpoint
Transfer Count register is only important with OUT tokens
(host sending the slave data). When a host sends the
peripheral data, the Transfer Count register contains the
difference between the Endpoint Base Length and the actual
number of bytes received in the last packet. In other words, if
Table 26. Endpoint Transfer Count Reg [Address EP0a/b:04h/0Ch, EP1a/b:14h/1Ch, EP2a/b:24h/2Ch, EP3a/b:34h/3Ch]
USB Control Registers
The USB Control registers manage communication and data
flow on the USB. Each USB device is composed of a collection
of independently operating endpoints. Each endpoint has a
The Control and Status registers are mapped as follows:
Table 27. Control and Status Register Map
Bit Position
Control Register 1
Interrupt Enable Register
USB Address Register
Interrupt Status Register
Current Data Set Register
Control Register 2
SOF Low Byte Register
SOF High Byte Register
DMA Total Count Low Byte Register
DMA Total Count High Byte Register
Register Name
EPxCNT7
Reserved
7
6
5
4
3
2
1
0
7
7
Reserved
Reserved
Overflow
Setup
Sequence
Time-out
Error
ACK
Bit Name
EPxCNT6
Reserved
6
6
EPxCNT5
Overflow
Not applicable.
Not applicable.
Overflow condition - maximum length exceeded during receives. This is considered a
serious error. The maximum number of bytes that can be received by an endpoint is deter-
mined by the Endpoint Base Length register for each endpoint. The Overflow bit is only
relevant during OUT Tokens from the host.
'1' indicates Setup Packet. If this bit is set, the last packet received was a setup packet.
This bit indicates if the last packet was a DATA0 (0) or DATA1 (1).
This bit is not used in slave mode.
Error detected in transmission, this includes CRC5/16 and PID errors.
Transmission Acknowledge.
Function
5
5
EPxCNT4
Setup
4
4
the Endpoint Base Length register was set for 64 (40h) bytes
and an OUT token was sent to the endpoint that only had 16
(10h) bytes, the Endpoint Transfer Count register has a value
of 48 (30h). If more bytes were sent in an OUT token then the
Endpoint Base Length register was programmed for, the
overflow flag is set in the Endpoint Packet Status register and
is considered a serious error.
unique identifier, which is the Endpoint Number. For more
details about USB endpoints, refer to the USB Specification
1.1, Section 5.3.1.
Sequence
EPxCNT3
3
3
EPxCNT2
Time-out
2
2
Address (in Hex)
0Dh
05h
06h
07h
0Eh
0Fh
15h
16h
35h
36h
EPxCNT1
Error
1
1
SL811HS
Page 14 of 32
EPxCNT0
ACK
0
0
[+] Feedback
[+] Feedback

Related parts for SL811HS_07