5
µ
PD75518(A)
CONTENTS
1. PIN FUNCTIONS ........................................................................................................................ 7
1.1 PORT PINS ...................................................................................................................................... 7
1.2 NON-PORT PINS ............................................................................................................................ 9
1.3 PIN INPUT/OUTPUT CIRCUITS .................................................................................................... 10
1.4 CONNECTION OF UNUSED PINS ................................................................................................ 13
1.5 SELECTION OF A MASK OPTION ................................................................................................ 14
2. ARCHITECTURE AND MEMORY MAP OF THE µPD75518(A) .............................................. 15
2.1 DATA MEMORY BANK CONFIGURATION AND ADDRESSING MODES ................................ 15
2.2 GENERAL REGISTER BANK CONFIGURATION.......................................................................... 19
2.3 MEMORY-MAPPED I/O ................................................................................................................. 22
3. INTERNAL CPU FUNCTIONS .................................................................................................... 27
3.1 PROGRAM COUNTER (PC) ........................................................................................................... 27
3.2 PROGRAM MEMORY (ROM) ........................................................................................................ 27
3.3 DATA MEMORY (RAM) ................................................................................................................. 29
3.4 GENERAL REGISTERS ................................................................................................................... 31
3.5 ACCUMULATORS .......................................................................................................................... 32
3.6 STACK POINTER (SP) AND STACK BANK SELECT REGISTER (SBS) ..................................... 32
3.7 PROGRAM STATUS WORD (PSW) .............................................................................................. 35
3.8 BANK SELECT REGISTER (BS) ..................................................................................................... 38
4. PERIPHERAL HARDWARE FUNCTIONS .................................................................................. 39
4.1 DIGITAL I/O PORTS ....................................................................................................................... 39
4.2 CLOCK GENERATOR...................................................................................................................... 51
4.3 CLOCK OUTPUT CIRCUIT ............................................................................................................. 60
4.4 BASIC INTERVAL TIMER ............................................................................................................... 63
4.5 CLOCK TIMER ................................................................................................................................. 67
4.6 TIMER/EVENT COUNTER ............................................................................................................. 69
4.7 TIMER/PULSE GENERATOR ......................................................................................................... 75
4.8 SERIAL INTERFACE (CHANNEL 0) ............................................................................................... 83
4.8.1 Serial Interface (Channel 0) Functions ........................................................................ 84
4.8.2 Configuration of Serial Interface (Channel 0) ............................................................ 84
4.8.3 Register Functions ......................................................................................................... 86
4.8.4 Signals ............................................................................................................................. 94
4.8.5 Serial Interface (Channel 0) Operation ....................................................................... 100
4.8.6 Transfer Start in Each Mode ........................................................................................ 110
4.8.7 Manipulation of SCK0 Pin Output ............................................................................... 111