HPI Registers
7-16
7.3
HPI Registers
Table 7–5 summarizes the three registers that the HPI uses for communication
between the host device and the CPU. HPID contains the data that was read from
the memory accessed by the HPI if the current access is a read or the data that
is written to the memory if the current access is a write. HPIA contains the address
of the memory accessed by the HPI at which the current access occurs. This
address as a 30-bit-word address, so the two LSBs are unaffected by HPIA
writes and are always read as 0.
Table 7–5. HPI Registers
Register
Abbreviation
Register
Name
Host
Read/Write
Access
CPU
Read/Write
Access
CPU Read/Write
(Hex Byte Address)
HPID
HPI data
RW
–
–
HPIA
HPI address
RW
–
–
HPIC
HPI control
RW
RW
0188 0000h
7.3.1
HPI Control Register (HPIC)
The HPIC, shown in Figure 7–10 and summarized in Table 7–6, is normally the
first register accessed to set configuration bits and initialize the interface. The
HPIC is organized as a 32-bit register whose high halfword and low halfword con-
tents are the same. On a host write, both halfwords must be identical. The low
halfword and the high halfword are actually the same storage locations. No stor-
age is allocated for the read-only reserved values. Only CPU writes to the lower
halfword affect HPIC values and HPI operation.