Transmit Data Registers (Txh:txm:txl); Host-Side Registers After Reset - Freescale Semiconductor DSP56311 User Manual

24-bit digital signal processor (dsp)
Hide thumbs Also See for DSP56311:
Table of Contents

Advertisement

Host Interface (HI08)
Note:
The external host should never read the RXH:RXM:RXL registers if the ISR[RXDF]
bit is cleared.

6.7.6 Transmit Data Registers (TXH:TXM:TXL)

The host processor views the transmit byte registers as three 8-bit write-only registers. 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 HRX register and are selected by the external host address inputs, HA[2–0],
during a host processor write operation.
If ICR[HLEND] is set, the TXH register is located at address $7, the TXM register at $6, and the
TXL register at $5. If the HLEND bit in the ICR is cleared, the TXH register is located at address
$5, the TXM register at $6, and the TXL register at $7.
Data can be written into the transmit byte registers when the ISR transmit data register empty
(TXDE) bit is set. The host processor can program the ICR[TREQ] bit to assert the external
HREQ/HTRQ signal when ISR[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 ISR[TXDE] bit.
The contents of the transmit byte registers are transferred as 24-bit data to the HRX register when
both ISR[TXDE] and HSR[HRDF] are cleared. This transfer operation sets HSR[TXDE] and
HSR[HRDF]. The external host should never write to the TXH:TXM:TXL registers if the
ISR[TXDE] bit is cleared.
Note:
When data is written to a peripheral device, there is a two-cycle pipeline delay until
any status bits affected by this operation are updated. If you read any of those status
bits within the next two cycles, the bit will not reflect its current status. For details, see
Section 6.4.1, Software Polling, on page 6-6.

6.7.7 Host-Side Registers After Reset

Table 6-18 shows the result of the four kinds of reset on bits in each of the HI08 registers seen by
the host processor. To cause a hardware reset, assert the
execute the RESET instruction. To reset the HEN bit individually, clear the HPCR[HEN] bit. To
cause a stop reset, execute the STOP instruction.
Register
Register
Name
ICR
CVR
HV[0–6]
6-28
Table 6-18. Host-Side Registers After Reset
HW
Data
Reset
All bits
0
HC
0
$32
DSP56311 User's Manual, Rev. 2
signal. To cause a software reset,
RESET
Reset Type
SW
Individual Reset
Reset
0
0
0
$32
STOP
0
Freescale Semiconductor

Advertisement

Table of Contents
loading

Table of Contents