Microprocessor (Module 2) Part No. 626942 - Sailor RM2042 Technical Manual

Hide thumbs Also See for RM2042:
Table of Contents

Advertisement

5 CIRCUIT DESCRIPTION AND SCHEMATIC DIAGRAMS
RM2042

5.2 MICROPROCESSOR (MODULE 2) PART NO. 626942

The microprocessor module contains a micro computer, build round a general purpose microprocessor
with its basic external control logic, memory banks and timers. Furthermore the microprocessor module
contains a syncronus receiver, and three 8 bit ports.
MICROPROCESSOR UNIT
The microprocessor unit U6 is a 16 bit MC68HC000 general purpose microprocessor.
8.000 MHz OSCILLATOR
The 8 MHz oscillator is build as a gate oscillator round U16, with the crystal X1 to control the oscillation
frequency. The output is used as clock input to the microprocessor U6.
CONTROL LOGIC
The control logic consist of three major blocks. A reset circuit, a DTACK and VPA generator, and interrupt
control logic.
The reset circuit build round U13.3 is used to insure correct initialization of the microprocessor during
power-on. The microprocessors RESET and HALT inputs must be kept at a logical low level for at least
100 ms, after Vcc has reached 5V. If this fails the microprocessor goes into a double bus fault state and
halts (HALT pin is low while RESET is high). R3 and C14 determines the power-on reset time constant.
The microprocessor uses an asyncronus databus to communicate with all peripherals. This means that
the peripherals have to supply the data acknowledge signal (DTACK) to the microprocessor in order to
tell when they have finished reading the databus, or when data placed on the bus by the peripherals is
valid. If a peripheral does not assert the DTACK signal, the microprocessor will continue to insert wait-
states, or ultimately issue a bus error and halt the system.
The used memory and peripheral devices do not have an acknowledge signal. The DTACK is instead
generated by the binary counter U14, controlled by the 8 MHz clock and the upper and lower data strobes
(UDS and LDS) on the microprocessor. When U14-CT1 is used as output, the microprocessor inserts 1
wait-state in each read/write cycle. This means that the maximum access time for the memory chips and
peripheral devices are 250 ns.
One device, i.e. the LCD dot-matrix display, uses a 1
s bus cycle which is equivalent to the bus cycle used
U
by M6800 devices. The M6800 bus cycle is supported by the MC68HC000 microprocessor if the VPA
(valid peripheral address) signal is asserted instead of the DTACK signal. This is done each time the
display is accessed, by gating output no. 7 on U24, i.e. the displays chip select, back to the VPA input
on the microprocessor (via U10.5, U9.3 and U10.1), and at the same time use it to inhibit the generation
of DTACK (U9.4, pin 12 is at a logic high level).
The interrupt logic consists of U17 that encodes the interrupts, and U23 that clears the presently served
interrupt. A logical low input to U17 indicates that an interrupt needs to be served. The microprocessors
interrupt decoder is level sensitive, but inputs to U17 is latched on D-type Flip-Flops, in order to make the
interrupts from the peripheral devices edge triggered instead of level triggered.
The interrupt source, i.e. the D-type Flip-Flop that has latched the interrupt signal, is cleared during an
interrupt acknowledge cycle. The interrupt acknowledge cycle is recognized when the microprocessors
function code outputs (FC0 - FC3) are high. In order to tell the microprocessor that the interrupt
acknowledge cycle has been recognized, the VPA signal must be asserted. An interrupt acknowledge
cycle is under execution when output from U11.2 is high, this output is gated to the microprocessor in order
to assert VPA.
9716
PAGE 5-7

Advertisement

Table of Contents
loading

Table of Contents