Cypress CY7C67300 HPI Status Port, Vbus Flag Bit, ID Flag Bit, SOF/EOP2 Flag Bit, Reset2 Flag Bit

Models: CY7C67300

1 99
Download 99 pages 31.04 Kb
Page 64
Image 64

 

 

 

 

 

 

 

 

 

 

 

CY7C67300

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

HPI Status Port [] [HPI: R]

 

 

 

 

 

 

 

 

 

 

 

 

Table 103. HPI Status Port

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit #

15

 

14

13

12

11

10

9

 

8

 

 

Field

VBUS

 

 

 

ID

Reserved

SOF/EOP2

Reserved

SOF/EOP1

Reset2

 

Mailbox In

 

 

Flag

 

 

 

Flag

 

Flag

 

Flag

Flag

 

Flag

 

Read/Write

R

 

 

 

R

-

R

-

R

R

 

R

 

 

Default

X

 

 

 

X

X

X

X

X

X

 

X

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit #

7

 

6

5

4

3

2

1

 

0

 

 

Field

Resume2

 

Resume1

SIE2msg

SIE1msg

Done2

Done1

Reset1

 

Mailbox Out

 

 

Flag

 

 

 

Flag

 

 

Flag

Flag

Flag

 

Flag

 

Read/Write

R

 

 

 

R

R

R

R

R

R

 

R

 

 

Default

X

 

 

 

X

X

X

X

X

X

 

X

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Register Description

The HPI Status Port provides the external host processor with the MailBox status bits plus several SIE status bits. This register is not accessible from the on-chip CPU. The additional SIE status bits are provided to aid external device driver firmware devel- opment, and are not recommended for applications that do not have an intimate relationship with the on-chip BIOS.

Reading from the HPI Status Port does not result in a CPU HPI interface memory access cycle. The external host may continu- ously poll this register without degrading the CPU or DMA perfor- mance.

VBUS Flag (Bit 15)

The VBUS Flag bit is a read only bit that indicates whether OTG VBus is greater than 4.4V. After turning on VBUS, firmware must wait at least 10 µs before this reading this bit.

1:OTG VBus is greater than 4.4V

0:OTG VBus is less than 4.4V

ID Flag (Bit 14)

The ID Flag bit is a read only bit that indicates the state of the OTG ID pin.

SOF/EOP2 Flag (Bit 12)

The SOF/EOP2 Flag bit is a read only bit that indicates if a SOF/EOP interrupt occurs on either Host/Device 2.

1:Interrupt triggered

0:Interrupt did not trigger

SOF/EOP1 Flag (Bit 10)

The SOF/EOP1 Flag bit is a read only bit that indicates if a SOF/EOP interrupt occurs on either Host/Device 1.

1:Interrupt triggered

0:Interrupt did not trigger

Reset2 Flag (Bit 9)

The Reset2 Flag bit is a read only bit that indicates if a USB Reset interrupt occurs on either Host/Device 2.

1:Interrupt triggered

0:Interrupt did not trigger

Mailbox In Flag (Bit 8)

The Mailbox In Flag bit is a read only bit that indicates if a message is ready in the incoming mailbox. This interrupt clears when the on-chip CPU reads from the HPI Mailbox register.

1:Interrupt triggered

0:Interrupt did not trigger

Resume2 Flag (Bit 7)

The Resume2 Flag bit is a read only bit that indicates if a USB resume interrupt occurs on either Host/Device 2.

1:Interrupt triggered

0:Interrupt did not trigger

Resume1 Flag (Bit 6)

The Resume1 Flag bit is a read only bit that indicates if a USB resume interrupt occurs on either Host/Device 1.

1:Interrupt triggered

0:Interrupt did not trigger

SIE2msg (Bit 5)

The SIE2msg Flag bit is a read only bit that indicates if the CY7C67300 CPU wrote to the SIE2msg register. This bit is cleared on an HPI read.

1:The SIE2msg register was written by the CY7C67300 CPU

0:The SIE2msg register was not written by the CY7C67300 CPU

SIE1msg (Bit 4)

The SIE1msg Flag bit is a read only bit that indicates if the CY7C67300 CPU wrote to the SIE1msg register. This bit is cleared on an HPI read.

1:The SIE1msg register was written by the CY7C67300 CPU

0:The SIE1msg register was not written by the CY7C67300 CPU

Done2 Flag (Bit 3)

In host mode the Done2 Flag bit is a read only bit that indicates if a host packet done interrupt occurs on Host 2. In device mode this read only bit indicates if an any of the endpoint interrupts occur on Device 2. Firmware needs to determine which endpoint interrupt occurred.

1:Interrupt triggered

0:Interrupt did not trigger

Document #: 38-08015 Rev. *J

Page 64 of 99

[+] Feedback

Page 64
Image 64
Cypress CY7C67300 manual HPI Status Port, Vbus Flag Bit, ID Flag Bit, SOF/EOP2 Flag Bit, SOF/EOP1 Flag Bit, Reset2 Flag Bit