Receive Byte Registers (Rxh:rxm:rxl) - Motorola DSP56367 User Manual

24-bit digital signal processor
Table of Contents

Advertisement

Host Interface (HDI08)
HDI08 – External Host Programmer's Model
8.6.5

RECEIVE BYTE REGISTERS (RXH:RXM:RXL)

The receive byte registers are viewed by the host processor as three 8-bit read-only registers.
These registers are the receive high register (RXH), the receive middle register (RXM) and
the receive low register (RXL). They receive data from the high, middle and low bytes,
respectively, of the HOTX register and are selected by the external host address inputs (HA2,
HA1 and HA0) during a host processor read operation.
The memory locations of the receive byte registers are determined by the HLEND bit in the
ICR. If the HLEND bit is set, the RXH is located at address $7, RXM at $6 and RXL at $5. If
the HLEND bit is cleared, the RXH is located at address $5, RXM at $6 and RXL at $7.
When data is transferred from the HOTX register to the receive byte registers, the receive data
register full (RXDF) bit is set. The host processor may program the RREQ bit to assert the
external HOREQ/HRRQ signal when RXDF is set. This indicates that the HDI08 has a full
word (either 8, 16 or 24 bits) for the host processor. When the host reads the receive byte
register at host address $7, the RXDF bit is cleared.
8.6.6
TRANSMIT BYTE REGISTERS (TXH:TXM:TXL)
The transmit byte registers are viewed as three 8-bit write-only registers by the host processor.
These registers are the transmit high register (TXH), the transmit middle register (TXM) and
the transmit low register (TXL). These registers send data to the high, middle and low bytes,
respectively, of the HORX register and are selected by the external host address inputs (HA2,
HA1 and HA0) during a host processor write operation.
If the HLEND bit in the ICR is cleared, the TXH is located at address $5, TXM at $6 and TXL
at $7. If the HLEND bit in the ICR is set, the TXH is located at address $7, TXM at $6 and
TXL at $5.
Data may be written into the transmit byte registers when the transmit data register empty
(TXDE) bit is set. The host processor may program the TREQ bit to assert the external
HOREQ/HTRQ signal when TXDE is set. This informs the host processor that the transmit
byte registers are empty. Writing to the data register at host address $7 clears the TXDE bit.
The contents of the transmit byte registers are transferred as 24-bit data to the HORX register
when both TXDE and the HRDF bit are cleared. This transfer operation sets TXDE and
HRDF.
8-28
DSP56367
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents