UPI-41A/41AH/42/42AH USER’S MANUAL
231318 – 20
Figure 2-15. External Reset Configuration
The RESET input performs the following functions:
#
Disables Interrupts
#
Clears Program Counter to Zero
#
Clears Stack Pointer
#
Clears Status Register and Flags
#
Clears Timer and Timer Flag
#
Stops Timer
#
Selects Register Bank 0
#
Sets PORTS 1 and 2 to Input Mode
DATA BUS BUFFER
Two 8-bit data bus buffer registers, DBBIN and
DBBOUT, serve as temporary buffers for commands
and data flowing between it and the master processor.
Externally, data is transmitted or received by the DBB
registers upon execution of an INput or OUTput in-
struction by the master processor. Four control signals
are used:
#
A
0
Address input signifying control or data
#
CS
Chip Select
#
RD Read Strobe
#
WR Write Strobe
Transfer can be implemented with or without UPI pro-
gram interference by enabling or disabling an internal
UPI interrupt. Internally, data transfer between the
DBB and the UPI accumulator is under software con-
trol and is completely asynchronous to the external
processor timing. This allows the UPI software to han-
dle peripheral control tasks independent of the main
processor while still maintaining a data interface with
the master system.
Configuration
Figure 2-16 illustrates the internal configuration of the
DBB registers. Data is stored in two 8-bit buffer regis-
ters, DBBIN and DBBOUT. DBBIN and DBBOUT
may be accessed by the external processor using the
WR line and the RD line, respectively. The data bus is
a bidirectional, three-state bus which can be connected
directly to an 8-bit microprocessor system. Four con-
trol lines (WR, RD, CS, A
0
) are used by the external
processor to transfer data to and from the DBBIN and
DBBOUT registers.
An 8-bit register containing status flags is used to indi-
cate the status of the DBB registers. The eight status
flags are defined as follows:
#
OBF Output Buffer Full
This flag is automatically set when the UPI-Micro-
computer loads the DBBOUT register and is cleared
when the master processor reads the data register.
#
IBF Input Buffer Full
This flag is set when the master processor writes a
character to the DBBIN register and is cleared
when the UPI INputs the data register contents to
its accumulator.
20
Содержание UPI- 41A
Страница 1: ...October 1993 Microprocessor Peripherals UPI 41A 41AH 42 42AH User s Manual Order Number 231318 006 ...
Страница 4: ......
Страница 12: ...UPI 41A 41AH 42 42AH USER S MANUAL 231318 7 Figure 2 2 Pin Configuration 231318 8 Figure 2 3 Logic Symbol 8 ...
Страница 65: ...UPI 41A 41AH 42 42AH USER S MANUAL 231318 42 Figure 5 11 Distributed Processor System 61 ...