Host Port Control Register (Hpcr) - Motorola DSP56367 User Manual

24-bit digital signal processor
Table of Contents

Advertisement

8.5.6

HOST PORT CONTROL REGISTER (HPCR)

The HPCR is a 16-bit read/write control register used by the DSP to control the HDI08
operating mode. The initialization values for the HPCR bits are described in Section 8.5.9.
The HPCR bits are described in the following paragraphs.
Figure 8-6 Host Port Control Register (HPCR) (X:$FFFFC4)
15
14
13
12
HAP
HRP
HCSP HDDS HMUX HASP HDSP HROD
- Reserved bit. Read as 0. Should be written with 0, for future compatibility.
Note:
To assure proper operation of the HDI08, the HPCR bits HAP, HRP, HCSP,
HDDS, HMUX, HASP, HDSP, HROD, HAEN and HREN should be changed
only if HEN is cleared. Also, the HPCR bits HAP, HRP, HCSP, HDDS, HMUX,
HASP, HDSP, HROD, HAEN, HREN, HCSEN, HA9EN and HA8EN should not
be set when HEN is set or simultaneously with setting HEN.
8.5.6.1
HPCR Host GPIO Port Enable (HGEN) Bit 0
If the HGEN bit is set, pins configured as GPIO are enabled. If this bit is cleared, pins
configured as GPIO are disconnected: outputs are high impedance, inputs are electrically
disconnected. Pins configured as HDI08 are not affected by the state of HGEN.
8.5.6.2
HPCR Host Address Line 8 Enable (HA8EN) Bit 1
If the HA8EN bit is set and the HDI08 is used in multiplexed bus mode, then HA8/HA1 is
used as host address line 8 (HA8). If this bit is cleared and the HDI08 is used in multiplexed
bus mode, then HA8/HA1 is configured as GPIO pin according to the value of HDDR and
HDR registers. HA8EN is ignored when the HDI08 is not in the multiplexed bus mode
(HMUX=0).
8.5.6.3
HPCR Host Address Line 9 Enable (HA9EN) Bit 2
If the HA9EN bit is set and the HDI08 is used in multiplexed bus mode, then HA9/HA2 is
used as host address line 9 (HA9). If this bit is cleared and the HDI08 is used in multiplexed
bus mode, then HA9/HA2 is configured as GPIO pin according to the value of HDDR and
HDR registers. HA9EN is ignored when the HDI08 is not in the multiplexed bus mode
(HMUX=0).
8.5.6.4
HPCR Host Chip Select Enable (HCSEN) Bit 3
If the HCSEN bit is set, then HCS/HA10 is used as host chip select (HCS) in the
non-multiplexed bus mode (HMUX=0), and as host address line 10 (HA10) in the multiplexed
bus mode (HMUX=1). If this bit is cleared, then HCS/HA10 is configured as GPIO pin
according to the value of HDDR and HDR registers.
MOTOROLA
11
10
9
8
DSP56367
HDI08 – DSP-Side Programmer's Model
7
6
5
4
HEN
HAEN HREN HCSEN HA9EN HA8EN HGEN
Host Interface (HDI08)
3
2
1
0
8-13

Advertisement

Table of Contents
loading

Table of Contents