Cypress CY7C67300 manual HPI Breakpoint Register HPI Registers Register Name Address

Models: CY7C67300

1 99
Download 99 pages 31.04 Kb
Page 61
Image 61

CY7C67300

HPI Registers

There are five registers dedicated to HPI operation. In addition, there is an HPI status port which can be addressed over HPI. Each of these registers is covered in this section and are summa- rized in Table 98.

HPI Breakpoint Register [0x0140] [R]

Table 99. HPI Breakpoint Register

Table 98. HPI Registers

Register Name

Address

R/W

HPI Breakpoint Register

0x0140

R

Interrupt Routing Register

0x0142

R

SIE1msg Register

0x0144

W

SIE2msg Register

0x0148

W

HPI Mailbox Register

0xC0C6

R/W

Bit #

15

14

13

12

 

11

10

9

8

Field

 

 

 

 

Address...

 

 

 

Read/Write

R

R

R

R

 

R

R

R

R

Default

0

0

0

0

 

0

0

0

0

 

 

 

 

 

 

 

 

 

 

Bit #

7

6

5

4

 

3

2

1

0

Field

 

 

 

 

...Address

 

 

 

Read/Write

R

R

R

R

 

R

R

R

R

Default

0

0

0

0

 

0

0

0

0

 

 

 

 

 

 

 

 

 

 

Register Description

The HPI Breakpoint register is a special on-chip memory location that the external processor can access using normal HPI memory read/write cycles. This register is read only by the CPU but is read/write by the HPI port. The contents of this register have the same effect as the Breakpoint register [0xC014]. This special Breakpoint register is used by software debuggers that interface through the HPI port instead of the serial port.

Interrupt Routing Register [0x0142] [R]

Table 100. Interrupt Routing Register

When the program counter matches the Breakpoint Address, the INT127 interrupt triggers. To clear this interrupt, write a zero a to this register.

Address (Bits [15:0])

The Address field is a 16-bit field containing the breakpoint address.

Bit #

15

14

13

12

11

10

9

8

Field

VBUS to HPI

ID to HPI

SOF/EOP2 to

SOF/EOP2 to

SOF/EOP1 to

SOF/EOP1 to

Reset2 to HPI

HPI Swap 1

Enable

Enable

HPI Enable

CPU Enable

HPI Enable

CPU Enable

Enable

Enable

Read/Write

-

-

-

-

-

-

-

-

Default

0

0

0

1

0

1

0

0

 

 

 

 

 

 

 

 

 

Bit #

7

6

5

 

4

3

2

1

0

Field

Resume2 to

Resume1 to

 

Reserved

Done2 to HPI

Done1 to HPI

Reset1 to HPI

HPI Swap 0

HPI Enable

HPI Enable

 

 

 

Enable

Enable

Enable

Enable

Read/Write

-

-

-

 

-

-

-

-

-

Default

0

0

0

 

0

0

0

0

0

 

 

 

 

 

 

 

 

 

 

Register Description

The Interrupt Routing register allows the HPI port to take over some or all of the SIE interrupts that usually go to the on-chip CPU. This register is read only by the CPU but is read/write by the HPI port. By setting the appropriate bit to ‘1’, the SIE interrupt is routed to the HPI port to become the HPI_INTR signal and also readable in the HPI Status register. The bits in this register select

where the interrupts are routed. The individual interrupt enable is handled in the SIE interrupt enable register.

VBUS to HPI Enable (Bit 15)

The VBUS to HPI Enable bit routes the OTG VBUS interrupt to the HPI port instead of the on-chip CPU.

1:Route signal to HPI port

0:Do not route signal to HPI port

Document #: 38-08015 Rev. *J

Page 61 of 99

[+] Feedback

Page 61
Image 61
Cypress CY7C67300 manual HPI Breakpoint Register HPI Registers Register Name Address, Interrupt Routing Register