Download 8XC196EA Microcontroller User`s Manual

Transcript
8XC196EA USER’S MANUAL
If the microcontroller is reset while in hold, bus contention can occur. For example, a device without internal ROM would try to fetch the chip configuration byte from external memory after
RESET# was brought high. Bus contention would occur because both the external device and the
microcontroller would attempt to access memory. One solution is to use the RESET# signal as
the system reset; then all bus masters (including the microcontroller) are reset at once. Chapter
14, “Special Operating Modes,”shows system reset circuit examples.
15.8 WRITE-CONTROL MODES
The microcontroller has two write-control modes: the standard mode, which uses the WR# and
BHE# signals; and the write strobe mode, which uses the WRL# and WRH# signals. Otherwise,
the two modes are identical. The modes are selected by chip configuration register 0 (Figure 15-6
on page 15-17.)
Figure 15-16 shows the waveforms of the asserted write-control signals in the two modes. Note
that only BHE# is valid throughout the bus cycle.
Standard Mode
ALE
Write Strobe Mode
ALE
WR#
WRL#
Active for low- or high-byte write.
BHE#
Active for low-byte write.
WRH#
Active for high-byte write.
Active for high-byte write.
A2472-02
Figure 15-16. Write-control Signal Waveforms
compares the values of the write-control signals for write operations in the standard mode and
the write strobe mode. The table lists values of WR# and BHE# and values of WRL# and WRH#
for byte and word writes on a 16-bit and an 8-bit bus.
15-36