Microprocessor Peripherals
UPI-41A/41AH/42/42AH User’s Manual
CONTENTS
PAGE
CHAPTER 1. INTRODUCTION
ÀÀÀÀÀÀÀÀÀÀÀÀÀ 1
Interface Registers for Multiprocessor
Configurations
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 3
Powerful 8-Bit Processor
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 3
Special Instruction Set Features
ÀÀÀÀÀÀÀÀÀÀÀÀ 4
Preprogrammed UPI’s
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 5
Development Support
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 6
UPI Development Support
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 6
CHAPTER 2. FUNCTIONAL
DESCRIPTION
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 7
Pin Description
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 7
CPU Section
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 10
Program Memory
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 11
Interrupt Vectors
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 11
Data Memory
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 11
Program Counter
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 12
Program Counter Stack
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 12
Program Status Word
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 13
Conditional Branch Logic
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 13
Oscillator and Timing Circuits
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 14
Interval Timer/Event Counter
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 16
Test Inputs
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 17
Interrupts
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 18
CONTENTS
PAGE
Reset
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 19
Data Bus Buffer
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 20
System Interface
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 21
Input/Output Interface
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 22
Ports 1 and 2
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 22
Ports 4, 5, 6, and 7
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 23
CHAPTER 3. INSTRUCTION SET
ÀÀÀÀÀÀÀÀ 26
Instruction Set Description
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 28
Alphabetic Listing
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 30
CHAPTER 4. SINGLE-STEP AND
PROGRAMMING POWER-DOWN
MODES
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 53
Single-Step
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 53
External Access
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 55
Power Down Mode
(UPI-41AH/42AH Only)
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 55
CHAPTER 5. SYSTEM OPERATION
ÀÀÀÀÀÀ 56
Bus Interface
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 56
Design Examples
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 57
General Handshaking Protocol
ÀÀÀÀÀÀÀÀÀÀÀÀ 60
CHAPTER 6. APPLICATIONS
ÀÀÀÀÀÀÀÀÀÀÀÀ 62
Abstracts
ÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀÀ 62