Host n pid register [w – Cypress EZ-OTG CY7C67200 User Manual

Page 23

Advertising
background image

CY7C67200

Document #: 38-08014 Rev. *G

Page 23 of 78

ACK Flag (Bit 0)

The ACK Flag bit indicates two different conditions depending
on the transfer type. For non-Isochronous transfers, this bit
represents a transaction ending by receiving or sending an
ACK packet. For Isochronous transfers, this bit represents a
successful transaction that will not be represented by an ACK
packet.

1: For non-Isochronous transfers, the transaction was ACKed.
For Isochronous transfers, the transaction was completed
successfully.

0: For non-Isochronous transfers, the transaction was not
ACKed. For Isochronous transfers, the transaction was not
completed successfully.

Host n PID Register [W]

• Host 1 PID Register 0xC086

• Host 2 PID Register 0xC0A6

Figure 22. Host n PID Register

Register Description

The Host n PID register is a write-only register that provides
the PID and Endpoint information to the USB SIE to be used
in the next transaction.

PID Select (Bits [7:4])

The PID Select field defined as in

Table 26

. ACK and NAK

tokens are automatically sent based on settings in the Host n
Control register and do not need to be written in this register.

Endpoint Select (Bits [3:0])

The Endpoint field allows addressing of up to 16 different
endpoints.

Reserved

All reserved bits must be written as ‘0’.

Bit #

15

14

13

12

11

10

9

8

Field

Reserved

Read/Write

-

-

-

-

-

-

-

-

Default

0

0

0

0

0

0

0

0

Bit #

7

6

5

4

3

2

1

0

Field

PID Select

Endpoint Select

Read/Write

W

W

W

W

W

W

W

W

Default

0

0

0

0

0

0

0

0

Table 26.PID Select Definition

PID TYPE

PID Select [7:4]

set-up

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)

Table 26.PID Select Definition (continued)

PID TYPE

PID Select [7:4]

[+] Feedback

Advertising