Nec PD78F9488 User Manual

Browse online or download User Manual for Hardware Nec PD78F9488. NEC PD78F9488 User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 388
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews

Summary of Contents

Page 1 - PD789489 Subseries

User’s Manual µPD789488 µPD789489 µPD78F9488 µPD78F9489 µPD789489 Subseries 8-Bit Single-Chip Microcontrollers Printed in Japan

Page 2

10 User’s Manual U15331EJ4V1UD Documents Related to Flash Memory Writing Document Name Document No. PG-FP3 Flash Memory Programmer User’s Manual U

Page 3 - NOTES FOR CMOS DEVICES

CHAPTER 5 CLOCK GENERATOR 100 User’s Manual U15331EJ4V1UD (4) Subclock selection register (SSCK) (µPD78F9488, 78F9489 only) This register is us

Page 4

CHAPTER 5 CLOCK GENERATOR User’s Manual U15331EJ4V1UD 101 5.4 System Clock Oscillators 5.4.1 Main system clock oscillator The main system cl

Page 5 - M8E 02. 11-1

CHAPTER 5 CLOCK GENERATOR 102 User’s Manual U15331EJ4V1UD 5.4.2 Subsystem clock oscillator The subsystem clock oscillator is oscillated by the

Page 6 - Regional Information

CHAPTER 5 CLOCK GENERATOR User’s Manual U15331EJ4V1UD 103 5.4.3 Example of incorrect resonator connection Figure 5-9 shows examples of incorre

Page 7

CHAPTER 5 CLOCK GENERATOR 104 User’s Manual U15331EJ4V1UD Figure 5-9. Examples of Incorrect Resonator Connection (2/2) (e) Signal is fetched

Page 8 - INTRODUCTION

CHAPTER 5 CLOCK GENERATOR User’s Manual U15331EJ4V1UD 105 5.5 Clock Generator Operation The clock generator generates the following clocks and

Page 9

CHAPTER 5 CLOCK GENERATOR 106 User’s Manual U15331EJ4V1UD 5.6 Changing Setting of System Clock and CPU Clock 5.6.1 Time required for switching

Page 10 - User’s Manual U15331EJ4V1UD

CHAPTER 5 CLOCK GENERATOR User’s Manual U15331EJ4V1UD 107 5.6.2 Switching between system clock and CPU clock The following figure illustrates

Page 11

108 User’s Manual U15331EJ4V1UD CHAPTER 6 16-BIT TIMER 20 6.1 16-Bit Timer 20 Functions 16-bit timer 20 has the following functions. • Time

Page 12

CHAPTER 6 16-BIT TIMER 20 User’s Manual U15331EJ4V1UD 109 Figure 6-1. Block Diagram of 16-Bit Timer 20 CPT20/TO20/INTP3/P33Internal busInte

Page 13

User’s Manual U15331EJ4V1UD 11 CONTENTS CHAPTER 1 GENERAL ...

Page 14

CHAPTER 6 16-BIT TIMER 20 110 User’s Manual U15331EJ4V1UD (4) 16-bit counter read buffer 20 This buffer is used to latch and hold the count v

Page 15

CHAPTER 6 16-BIT TIMER 20 User’s Manual U15331EJ4V1UD 111 Figure 6-2. Format of 16-Bit Timer Mode Control Register 20 Symbol <7> <

Page 16

CHAPTER 6 16-BIT TIMER 20 112 User’s Manual U15331EJ4V1UD (2) Port mode register 3 (PM3) This register is used to set the I/O mode of port 3

Page 17 - LIST OF FIGURES (1/6)

CHAPTER 6 16-BIT TIMER 20 User’s Manual U15331EJ4V1UD 113 6.4 16-Bit Timer 20 Operation 6.4.1 Operation as timer interrupt 16-bit timer 20

Page 18 - LIST OF FIGURES (2/6)

CHAPTER 6 16-BIT TIMER 20 114 User’s Manual U15331EJ4V1UD Figure 6-5. Timing of Timer Interrupt Operation CR20INTTM20TO20TOF20NN N NNt0000HNF

Page 19 - LIST OF FIGURES (3/6)

CHAPTER 6 16-BIT TIMER 20 User’s Manual U15331EJ4V1UD 115 6.4.2 Operation as timer output 16-bit timer 20 can invert the timer output repeat

Page 20 - LIST OF FIGURES (4/6)

CHAPTER 6 16-BIT TIMER 20 116 User’s Manual U15331EJ4V1UD 6.4.3 Capture operation The capture operation consists of latching the count value

Page 21 - LIST OF FIGURES (5/6)

CHAPTER 6 16-BIT TIMER 20 User’s Manual U15331EJ4V1UD 117 6.4.4 16-bit timer counter 20 readout The count value of 16-bit timer counter 20 (

Page 22 - LIST OF FIGURES (6/6)

CHAPTER 6 16-BIT TIMER 20 118 User’s Manual U15331EJ4V1UD 6.5 Cautions on Using 16-Bit Timer 20 6.5.1 Restrictions when rewriting 16-bit com

Page 23 - LIST OF TABLES (1/3)

CHAPTER 6 16-BIT TIMER 20 User’s Manual U15331EJ4V1UD 119 <Countermeasure B> When rewriting using 16-bit access <1> Disable inte

Page 24 - LIST OF TABLES (2/3)

12 User’s Manual U15331EJ4V1UD 3.1.4 Data memory addressing ...

Page 25 - LIST OF TABLES (3/3)

120 User’s Manual U15331EJ4V1UD CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 7.1 Functions of 8-Bit Timers 50, 60, and 61 One 8-bit timer channe

Page 26 - 1.2 Applications

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 121 (5) PPG output mode (PPG: Programmable Pulse Generator) Pulses are

Page 27 - 1.3 Ordering Information

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 122 7.2 Configuration of 8-Bit Timers 50, 60, and 61 8-bit timers 50, 6

Page 28

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 123Figure 7-2. Block Diagram of Timer 50 TEG50TCL500TCL5018-bit timer m

Page 29

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 124 TCE60TCL602 TCL601 TCL600TMD601TMD600 TOE6008-bit timer mode control

Page 30

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 125TCE61TCL612 TCL611 TCL610TMD611TMD610 TOE6108-bit timer mode controlr

Page 31 - 1.5 78K/0S Series Lineup

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 126 Figure 7-5. Block Diagram of Output Controller (Timer 60) F/FRMC60

Page 32 - DD Function

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 127(4) 8-bit H width compare registers 60 and 61 (CRH60, CRH61) In carr

Page 33

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 128 7.3 Control Registers for 8-Bit Timers 50, 60, and 61 8-bit timers

Page 34 - 1.6 Block Diagram

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 129Figure 7-6. Format of 8-Bit Timer Mode Control Register 50 (2/2) Sym

Page 35 - DD = 2.7 to 5.5 V)

User’s Manual U15331EJ4V1UD 13 5.4.5 When subsystem clock is not used ...

Page 36

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 130 Figure 7-7. Format of 8-Bit Timer Mode Control Register 60 Symbol &

Page 37 - 2.1 List of Pin Functions

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 131(3) Carrier generator output control register 60 (TCA60) This regist

Page 38

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 132 (4) 8-bit timer mode control register 61 (TMC61) 8-bit timer mode c

Page 39

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 133(5) Port mode register 3 (PM3) This register is used to set the I/O

Page 40

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 134 7.4 Operation of 8-Bit Timers 50, 60, and 61 7.4.1 Operation as 8-

Page 41

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 135Table 7-3. Interval Time of Timer 50 TCL502 TCL501 TCL500 Minimum I

Page 42

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 136 Figure 7-11. Timing of Interval Timer Operation with 8-Bit Resoluti

Page 43

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 137Figure 7-13. Timing of Interval Timer Operation with 8-Bit Resolutio

Page 44 - Keep short

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 138 Figure 7-15. Timing of Interval Timer Operation with 8-Bit Resoluti

Page 45

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 139Figure 7-16. Timing of Interval Timer Operation with 8-Bit Resolutio

Page 46

14 User’s Manual U15331EJ4V1UD 9.4.1 Operation as watchdog timer ...

Page 47 - Type 17 Type 18

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 140 (2) Operation as external event counter with 8-bit resolution (time

Page 48 - 3.1 Memory Space

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 141(3) Operation as square-wave output with 8-bit resolution Square wav

Page 49

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 142 Table 7-7. Square-Wave Output Range of Timer 60 TCL602 TCL601 TCL

Page 50 - PD789489)

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 1437.4.2 Operation as 16-bit timer counter Timer 50 and timer 60 can be

Page 51 - PD78F9489)

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 144 Table 7-9. Interval Time with 16-Bit Resolution TCL602 TCL601 TCL60

Page 52

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 145Interval timeCount clockTM60 count valueCR60TCE60INTTM60TO60FFH 00H7F

Page 53

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 146 (2) Operation as external event counter with 16-bit resolution The

Page 54

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 147TMI60 pin inputTM60 count valueCR60TCE60INTTM60FFH 00H7FH00HN00HNN N

Page 55 - PD78F9488)

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 148 (3) Operation as square-wave output with 16-bit resolution Square w

Page 56

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 149 Count clockTM60 count valueCR60TCE60INTTM60TO60NoteFFH 00H7FH00HN00H

Page 57

User’s Manual U15331EJ4V1UD 15 14.1 Multiplier Function...

Page 58 - 3.2 Processor Registers

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 150 7.4.3 Operation as carrier generator An arbitrary carrier clock gen

Page 59

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 151Figure 7-22. Timing of Carrier Generator Operation (When CR60 = N, C

Page 60

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 152 Figure 7-23. Timing of Carrier Generator Operation (When CR60 = N,

Page 61

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 153Figure 7-24. Timing of Carrier Generator Operation (When CR60 = CRH6

Page 62

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 154 7.4.4 PWM output mode operation (timer 50) In the PWM output mode,

Page 63

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 155Figure 7-26. Operation Timing When Overwriting CR50 (When Rising Edg

Page 64

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 156 Figure 7-27. Operation Timing in PWM Output Mode (When Both Edges A

Page 65

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 157Figure 7-28. Operation Timing in PWM Output Mode (When Both Edges Ar

Page 66

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 158 7.4.5 PPG output mode operation (timer 60 and timer 61) In the PPG

Page 67

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 159Figure 7-29. PPG Output Mode Timing (Basic Operation) Count clockTM6

Page 68

16 User’s Manual U15331EJ4V1UD CHAPTER 20 MASK OPTIONS ...

Page 69 - 11111110

CHAPTER 7 8-BIT TIMERS 50, 60, AND 61 User’s Manual U15331EJ4V1UD 160 7.5 Cautions on Using 8-Bit Timers 50, 60, and 61 (1) Error on sta

Page 70 - Identifier Description

User’s Manual U15331EJ4V1UD 161 CHAPTER 8 WATCH TIMER 8.1 Watch Timer Functions The watch timer has the following functions. • Watch timer •

Page 71

CHAPTER 8 WATCH TIMER 162 User’s Manual U15331EJ4V1UD (1) Watch timer An interrupt request (INTWT) occurs at an interval of 0.5 second when usi

Page 72 - Register specification code

CHAPTER 8 WATCH TIMER User’s Manual U15331EJ4V1UD 163 8.3 Control Registers for Watch Timer The watch timer is controlled by the following r

Page 73 - Instruction code 00101011

CHAPTER 8 WATCH TIMER 164 User’s Manual U15331EJ4V1UD (2) Watch timer interrupt time selection register (WTIM) This register is used to set th

Page 74 - Instruction code 10101010

CHAPTER 8 WATCH TIMER User’s Manual U15331EJ4V1UD 165 8.4 Watch Timer Operation 8.4.1 Operation as watch timer The main system clock (4.19

Page 75 - 4.1 Port Functions

CHAPTER 8 WATCH TIMER 166 User’s Manual U15331EJ4V1UD Figure 8-4. Watch Timer/Interval Timer Operation Timing 0HStartOverflow Overflow5-bit co

Page 76 - 4.2 Port Configuration

User’s Manual U15331EJ4V1UD 167 CHAPTER 9 WATCHDOG TIMER 9.1 Watchdog Timer Functions The watchdog timer has the following functions. • Watc

Page 77

CHAPTER 9 WATCHDOG TIMER 168 User’s Manual U15331EJ4V1UD 9.2 Watchdog Timer Configuration The watchdog timer includes the following hardware.

Page 78

CHAPTER 9 WATCHDOG TIMER User’s Manual U15331EJ4V1UD 169 9.3 Watchdog Timer Control Registers The watchdog timer is controlled by the follo

Page 79

User’s Manual U15331EJ4V1UD 17 LIST OF FIGURES (1/6) Figure No. Title Page 2-1 I/O Circuit Types ...

Page 80

CHAPTER 9 WATCHDOG TIMER 170 User’s Manual U15331EJ4V1UD (2) Watchdog timer mode register (WDTM) This register sets the operation mode of the

Page 81

CHAPTER 9 WATCHDOG TIMER User’s Manual U15331EJ4V1UD 171 9.4 Watchdog Timer Operation 9.4.1 Operation as watchdog timer The watchdog timer

Page 82

CHAPTER 9 WATCHDOG TIMER 172 User’s Manual U15331EJ4V1UD 9.4.2 Operation as interval timer When bits 4 and 3 (WDTM4, WDTM3) of the watchdog ti

Page 83

User’s Manual U15331EJ4V1UD 173CHAPTER 10 10-BIT A/D CONVERTER 10.1 10-Bit A/D Converter Functions The 10-bit A/D converter is a 10-bit res

Page 84

CHAPTER 10 10-BIT A/D CONVERTER 174 User’s Manual U15331EJ4V1UD Figure 10-1. Block Diagram of 10-Bit A/D Converter ANI3/P63Sample & hold

Page 85

CHAPTER 10 10-BIT A/D CONVERTER User’s Manual U15331EJ4V1UD 175(3) Sample & hold circuit The sample & hold circuit samples consecu

Page 86

CHAPTER 10 10-BIT A/D CONVERTER 176 User’s Manual U15331EJ4V1UD 10.3 10-Bit A/D Converter Control Registers The 10-bit A/D converter is cont

Page 87

CHAPTER 10 10-BIT A/D CONVERTER User’s Manual U15331EJ4V1UD 177Cautions 1. Start conversion (ADCS0 = 1) after 14 µs have elapsed followin

Page 88

CHAPTER 10 10-BIT A/D CONVERTER 178 User’s Manual U15331EJ4V1UD 10.4 10-Bit A/D Converter Operation 10.4.1 Basic operation of 10-bit A/D con

Page 89 - P70 to P73

CHAPTER 10 10-BIT A/D CONVERTER User’s Manual U15331EJ4V1UD 179Figure 10-4. Basic Operation of 10-Bit A/D Converter Conversion timeSamplin

Page 90

18 User’s Manual U15331EJ4V1UD LIST OF FIGURES (2/6) Figure No. Title Page 5-5 Format of Subclock Control Register...

Page 91

CHAPTER 10 10-BIT A/D CONVERTER 180 User’s Manual U15331EJ4V1UD Figure 10-5. Relationship Between Analog Input Voltage and A/D Conversion Res

Page 92

CHAPTER 10 10-BIT A/D CONVERTER User’s Manual U15331EJ4V1UD 18110.4.3 Operation mode of 10-bit A/D converter The A/D converter is initiall

Page 93

CHAPTER 10 10-BIT A/D CONVERTER 182 User’s Manual U15331EJ4V1UD 10.5 Cautions Related to 10-Bit A/D Converter (1) Current consumption in sta

Page 94

CHAPTER 10 10-BIT A/D CONVERTER User’s Manual U15331EJ4V1UD 183(5) Timing of undefined A/D conversion result The A/D conversion value may

Page 95

CHAPTER 10 10-BIT A/D CONVERTER 184 User’s Manual U15331EJ4V1UD (6) Noise prevention To maintain a resolution of 10 bits, watch for noise at t

Page 96

CHAPTER 10 10-BIT A/D CONVERTER User’s Manual U15331EJ4V1UD 185(9) Interrupt request flag (ADIF0) Changing the contents of A/D converter m

Page 97

186 User’s Manual U15331EJ4V1UD CHAPTER 11 SERIAL INTERFACE 20 11.1 Serial Interface 20 Functions Serial interface 20 has the following three

Page 98

CHAPTER 11 SERIAL INTERFACE 20 User’s Manual U15331EJ4V1UD 187 Internal busReceive buffer register 20 (RXB20)Switch of the first bitAsynchro

Page 99

CHAPTER 11 SERIAL INTERFACE 20 188 User’s Manual U15331EJ4V1UD Clock for receive detectionTransmit shift clockReceive shift clockReceive dete

Page 100

CHAPTER 11 SERIAL INTERFACE 20 User’s Manual U15331EJ4V1UD 189 (1) Transmit shift register 20 (TXS20) TXS20 is a register in which transmit

Page 101 - External

User’s Manual U15331EJ4V1UD 19 LIST OF FIGURES (3/6) Figure No. Title Page 7-21 Timing of Square-Wave Output with 16-Bit Resolution ...

Page 102

CHAPTER 11 SERIAL INTERFACE 20 190 User’s Manual U15331EJ4V1UD 11.3 Serial Interface 20 Control Registers Serial interface 20 is controlled b

Page 103 - (n = 0 to 3, 5)

CHAPTER 11 SERIAL INTERFACE 20 User’s Manual U15331EJ4V1UD 191 (2) Asynchronous serial interface mode register 20 (ASIM20) ASIM20 is used t

Page 104

CHAPTER 11 SERIAL INTERFACE 20 192 User’s Manual U15331EJ4V1UD Table 11-2. Serial Interface 20 Operation Mode Settings (1) Operation stop mo

Page 105

CHAPTER 11 SERIAL INTERFACE 20 User’s Manual U15331EJ4V1UD 193 (3) Asynchronous serial interface status register 20 (ASIS20) ASIS20 indicat

Page 106 - X/2fXT clocks

CHAPTER 11 SERIAL INTERFACE 20 194 User’s Manual U15331EJ4V1UD (4) Baud rate generator control register 20 (BRGC20) BRGC20 is used to specify

Page 107 - X) is automatically secured

CHAPTER 11 SERIAL INTERFACE 20 User’s Manual U15331EJ4V1UD 195 The baud rate transmit/receive clock to be generated is either a divided syst

Page 108

CHAPTER 11 SERIAL INTERFACE 20 196 User’s Manual U15331EJ4V1UD (b) Generation of UART baud rate transmit/receive clock from external clock in

Page 109 - Selector

CHAPTER 11 SERIAL INTERFACE 20 User’s Manual U15331EJ4V1UD 197 11.4 Serial Interface 20 Operation Serial interface 20 provides the followin

Page 110

CHAPTER 11 SERIAL INTERFACE 20 198 User’s Manual U15331EJ4V1UD (b) Asynchronous serial interface mode register 20 (ASIM20) ASIM20 is set with

Page 111 - X = 5.0 MHz

CHAPTER 11 SERIAL INTERFACE 20 User’s Manual U15331EJ4V1UD 199 11.4.2 Asynchronous serial interface (UART) mode In this mode, the one-byte

Page 112

2 User’s Manual U15331EJ4V1UD [MEMO]

Page 113

20 User’s Manual U15331EJ4V1UD LIST OF FIGURES (4/6) Figure No. Title Page 11-4 Format of Asynchronous Serial Interface Mode Register 20 ...

Page 114

CHAPTER 11 SERIAL INTERFACE 20 200 User’s Manual U15331EJ4V1UD (b) Asynchronous serial interface mode register 20 (ASIM20) ASIM20 is set with

Page 115

CHAPTER 11 SERIAL INTERFACE 20 User’s Manual U15331EJ4V1UD 201 (c) Asynchronous serial interface status register 20 (ASIS20) ASIS20 is set

Page 116

CHAPTER 11 SERIAL INTERFACE 20 202 User’s Manual U15331EJ4V1UD (d) Baud rate generator control register 20 (BRGC20) BRGC20 is set with an 8-b

Page 117

CHAPTER 11 SERIAL INTERFACE 20 User’s Manual U15331EJ4V1UD 203 Table 11-5. Example of Relationship Between System Clock and Baud Rate Error

Page 118

CHAPTER 11 SERIAL INTERFACE 20 204 User’s Manual U15331EJ4V1UD (2) Communication operation (a) Data format The transmit/receive data format i

Page 119 - X, CPU clock = fX)

CHAPTER 11 SERIAL INTERFACE 20 User’s Manual U15331EJ4V1UD 205 (b) Parity types and operation The parity bit is used to detect a bit error

Page 120

CHAPTER 11 SERIAL INTERFACE 20 206 User’s Manual U15331EJ4V1UD (c) Transmission A transmit operation is started by writing transmit data to tr

Page 121

CHAPTER 11 SERIAL INTERFACE 20 User’s Manual U15331EJ4V1UD 207 (d) Reception When bit 6 (RXE20) of asynchronous serial interface mode regist

Page 122

CHAPTER 11 SERIAL INTERFACE 20 208 User’s Manual U15331EJ4V1UD (e) Receive errors The following three errors may occur during a receive operat

Page 123

CHAPTER 11 SERIAL INTERFACE 20 User’s Manual U15331EJ4V1UD 209 (f) Reading receive data When the reception completion interrupt (INTSR20)

Page 124 - Prescaler

User’s Manual U15331EJ4V1UD 21 LIST OF FIGURES (5/6) Figure No. Title Page 13-12 Four-Time-Slice LCD Display Pattern and Electrode Connection

Page 125

CHAPTER 11 SERIAL INTERFACE 20 210 User’s Manual U15331EJ4V1UD (3) Cautions related to UART mode (a) When bit 7 (TXE20) of asynchronous ser

Page 126

CHAPTER 11 SERIAL INTERFACE 20 User’s Manual U15331EJ4V1UD 211 11.4.3 3-wire serial I/O mode The 3-wire serial I/O mode is useful for conne

Page 127

CHAPTER 11 SERIAL INTERFACE 20 212 User’s Manual U15331EJ4V1UD (b) Asynchronous serial interface mode register 20 (ASIM20) ASIM20 is set with

Page 128

CHAPTER 11 SERIAL INTERFACE 20 User’s Manual U15331EJ4V1UD 213 (c) Baud rate generator control register 20 (BRGC20) BRGC20 is set with an 8

Page 129

CHAPTER 11 SERIAL INTERFACE 20 214 User’s Manual U15331EJ4V1UD (2) Communication operation In 3-wire serial I/O mode, data transmission/recept

Page 130

CHAPTER 11 SERIAL INTERFACE 20 User’s Manual U15331EJ4V1UD 215 Figure 11-11. 3-Wire Serial I/O Mode Timing (2/2) (ii) Slave operation timi

Page 131

216 User’s Manual U15331EJ4V1UD CHAPTER 12 SERIAL INTERFACE 1A0 12.1 Function of Serial Interface 1A0 Serial interface 1A0 has the following t

Page 132

CHAPTER 12 SERIAL INTERFACE 1A0 User’s Manual U15331EJ4V1UD 217 12.2 Configuration of Serial Interface 1A0 Serial interface 1A0 includes th

Page 133

CHAPTER 12 SERIAL INTERFACE 1A0 218 User’s Manual U15331EJ4V1UD (1) Serial I/O shift register 1A0 (SIO1A0) This is an 8-bit register used to

Page 134

CHAPTER 12 SERIAL INTERFACE 1A0 User’s Manual U15331EJ4V1UD 219 12.3 Control Registers for Serial Interface 1A0 Serial interface 1A0 is con

Page 135

22 User’s Manual U15331EJ4V1UD LIST OF FIGURES (6/6) Figure No. Title Page 17-3 Releasing HALT Mode by RESET Input...

Page 136

CHAPTER 12 SERIAL INTERFACE 1A0 220 User’s Manual U15331EJ4V1UD Figure 12-2. Format of Serial Operation Mode Register 1A0 Symbol <7> 6

Page 137

CHAPTER 12 SERIAL INTERFACE 1A0 User’s Manual U15331EJ4V1UD 221 (2) Automatic data transmit/receive control register 0 (ADTC0) This registe

Page 138

CHAPTER 12 SERIAL INTERFACE 1A0 222 User’s Manual U15331EJ4V1UD (3) Automatic data transmit/receive interval specification register 0 (ADTI0)

Page 139

CHAPTER 12 SERIAL INTERFACE 1A0 User’s Manual U15331EJ4V1UD 223 Figure 12-4. Format of Automatic Data Transmit/Receive Interval Specificati

Page 140

CHAPTER 12 SERIAL INTERFACE 1A0 224 User’s Manual U15331EJ4V1UD 12.4 Serial Interface 1A0 Operation Serial interface 1A0 provides the followi

Page 141

CHAPTER 12 SERIAL INTERFACE 1A0 User’s Manual U15331EJ4V1UD 225 12.4.2 3-wire serial I/O mode The 3-wire serial I/O mode is useful for conn

Page 142

CHAPTER 12 SERIAL INTERFACE 1A0 226 User’s Manual U15331EJ4V1UD Symbol <7> 6 <5> <4> 3 2 1 0 Address After reset R/W CSI

Page 143

CHAPTER 12 SERIAL INTERFACE 1A0 User’s Manual U15331EJ4V1UD 227 (2) Communication operation In 3-wire serial I/O mode, data transmission/rec

Page 144

CHAPTER 12 SERIAL INTERFACE 1A0 228 User’s Manual U15331EJ4V1UD Figure 12-5. 3-Wire Serial I/O Mode Timing (2/2) (ii) Slave operation timing

Page 145

CHAPTER 12 SERIAL INTERFACE 1A0 User’s Manual U15331EJ4V1UD 229 (3) MSB/LSB switching as the start bit In the 3-wire serial I/O mode, trans

Page 146

User’s Manual U15331EJ4V1UD 23 LIST OF TABLES (1/3) Table No. Title Page 2-1 Types of Pin I/O Circuits ...

Page 147

CHAPTER 12 SERIAL INTERFACE 1A0 230 User’s Manual U15331EJ4V1UD 12.4.3 3-wire serial I/O mode with automatic transmit/receive function This 3

Page 148

CHAPTER 12 SERIAL INTERFACE 1A0 User’s Manual U15331EJ4V1UD 231 Symbol <7> 6 <5> <4> 3 2 1 0 Address After reset R/W C

Page 149

CHAPTER 12 SERIAL INTERFACE 1A0 232 User’s Manual U15331EJ4V1UD (b) Automatic data transmit/receive control register 0 (ADTC0) ADTC0 is set v

Page 150

CHAPTER 12 SERIAL INTERFACE 1A0 User’s Manual U15331EJ4V1UD 233 (c) Automatic data transmit/receive interval specification register 0 (ADTI

Page 151

CHAPTER 12 SERIAL INTERFACE 1A0 234 User’s Manual U15331EJ4V1UD Symbol <7> 6 5 <4> <3> <2> <1> <0> Add

Page 152

CHAPTER 12 SERIAL INTERFACE 1A0 User’s Manual U15331EJ4V1UD 235 (2) Automatic transmit/receive data setting (a) Transmit data setting

Page 153

CHAPTER 12 SERIAL INTERFACE 1A0 236 User’s Manual U15331EJ4V1UD (3) Communication operation (a) Basic transmit/receive mode This transmit/r

Page 154

CHAPTER 12 SERIAL INTERFACE 1A0 User’s Manual U15331EJ4V1UD 237 Figure 12-8. Basic Transmit/Receive Mode Flowchart Remark ADTP0: Automa

Page 155

CHAPTER 12 SERIAL INTERFACE 1A0 238 User’s Manual U15331EJ4V1UD In 6-byte transmission/reception (bit 6 (ARLD0) and bit 7 (RE0) of automatic d

Page 156

CHAPTER 12 SERIAL INTERFACE 1A0 User’s Manual U15331EJ4V1UD 239 Figure 12-9. Buffer RAM Operation in 6-Byte Transmission/Reception

Page 157

24 User’s Manual U15331EJ4V1UD LIST OF TABLES (2/3) Table No. Title Page 10-1 Configuration of 10-Bit A/D Converter ...

Page 158

CHAPTER 12 SERIAL INTERFACE 1A0 240 User’s Manual U15331EJ4V1UD (b) Basic transmit mode In this mode, the specified number of 8-bit unit data

Page 159

CHAPTER 12 SERIAL INTERFACE 1A0 User’s Manual U15331EJ4V1UD 241 Figure 12-11. Basic Transmit Mode Flowchart Remark ADTP0: Automatic dat

Page 160

CHAPTER 12 SERIAL INTERFACE 1A0 242 User’s Manual U15331EJ4V1UD In 6-byte transmission (bit 6 (ARLD0) and bit 7 (RE0) of automatic data transm

Page 161 - 8.1 Watch Timer Functions

CHAPTER 12 SERIAL INTERFACE 1A0 User’s Manual U15331EJ4V1UD 243 Figure 12-12. Buffer RAM Operation in 6-Byte Transmission (in Basic Transmi

Page 162 - XT, or fXT/2)

CHAPTER 12 SERIAL INTERFACE 1A0 244 User’s Manual U15331EJ4V1UD (c) Repeat transmit mode In this mode, data stored in the buffer RAM is trans

Page 163

CHAPTER 12 SERIAL INTERFACE 1A0 User’s Manual U15331EJ4V1UD 245 Figure 12-14. Repeat Transmit Mode Flowchart StartWrite transmit datain buf

Page 164

CHAPTER 12 SERIAL INTERFACE 1A0 246 User’s Manual U15331EJ4V1UD In 6-byte transmission (bit 6 (ARLD0) and bit 7 (RE0) of automatic data transm

Page 165 - 8.4 Watch Timer Operation

CHAPTER 12 SERIAL INTERFACE 1A0 User’s Manual U15331EJ4V1UD 247 Figure 12-15. Buffer RAM Operation in 6-Byte Transmission (in Repeat Transm

Page 166

CHAPTER 12 SERIAL INTERFACE 1A0 248 User’s Manual U15331EJ4V1UD (d) Automatic transmission/reception suspension and restart Automatic transmi

Page 167 - CHAPTER 9 WATCHDOG TIMER

CHAPTER 12 SERIAL INTERFACE 1A0 User’s Manual U15331EJ4V1UD 249 (4) Timing of interrupt request signal generation The interrupt request si

Page 168 - WDCS2 WDCS1 WDCS0

User’s Manual U15331EJ4V1UD 25 LIST OF TABLES (3/3) Table No. Title Page 21-1 Operand Identifiers and Description Methods ...

Page 169

250 User’s Manual U15331EJ4V1UD CHAPTER 13 LCD CONTROLLER/DRIVER 13.1 LCD Controller/Driver Functions The functions of the LCD controller/dri

Page 170

CHAPTER 13 LCD CONTROLLER/DRIVER User’s Manual U15331EJ4V1UD 251 The correspondence with the LCD display RAM is shown in Figure 13-1 below. Fi

Page 171

CHAPTER 13 LCD CONTROLLER/DRIVER 252 User’s Manual U15331EJ4V1UD LCDC03 LCDC02LCDC01LCDC0022fLCD26fLCD27fLCD28fLCD29LCDON0VAON0VLC0COM0 COM1 COM

Page 172

CHAPTER 13 LCD CONTROLLER/DRIVER User’s Manual U15331EJ4V1UD 253 13.3 Registers Controlling LCD Controller/Driver The LCD controller/driver is

Page 173

CHAPTER 13 LCD CONTROLLER/DRIVER 254 User’s Manual U15331EJ4V1UD (1) LCD display mode register 0 (LCDM0) LCDM0 specifies whether to enable disp

Page 174 - Tap selector

CHAPTER 13 LCD CONTROLLER/DRIVER User’s Manual U15331EJ4V1UD 255 (2) LCD clock control register 0 (LCDC0) LCDC0 specifies the LCD source clock

Page 175

CHAPTER 13 LCD CONTROLLER/DRIVER 256 User’s Manual U15331EJ4V1UD (3) LCD voltage boost control register 0 (LCDVA0) LCDVA0 controls the voltage

Page 176

CHAPTER 13 LCD CONTROLLER/DRIVER User’s Manual U15331EJ4V1UD 257 13.4 Setting LCD Controller/Driver Set the LCD controller/driver using the fo

Page 177

CHAPTER 13 LCD CONTROLLER/DRIVER 258 User’s Manual U15331EJ4V1UD 13.6 Common and Segment Signals Each pixel of the LCD panel turns on when the

Page 178

CHAPTER 13 LCD CONTROLLER/DRIVER User’s Manual U15331EJ4V1UD 259 Figure 13-7. Common Signal Waveforms COMn(Three-time-slice mode)TF = 3 × TVLC

Page 179

26 User’s Manual U15331EJ4V1UD CHAPTER 1 GENERAL 1.1 Features • ROM and RAM capacities Item Data Memory Part Number Program Memory (ROM) Int

Page 180

CHAPTER 13 LCD CONTROLLER/DRIVER 260 User’s Manual U15331EJ4V1UD 13.7 Display Modes 13.7.1 Three-time-slice display example Figure 13-10 shows

Page 181

CHAPTER 13 LCD CONTROLLER/DRIVER User’s Manual U15331EJ4V1UD 261 Figure 13-10. Example of Connecting Three-Time-Slice LCD Panel ××××××××××××××

Page 182

CHAPTER 13 LCD CONTROLLER/DRIVER 262 User’s Manual U15331EJ4V1UD Figure 13-11. Three-Time-Slice LCD Drive Waveform Examples (1/3 Bias Method) V

Page 183

CHAPTER 13 LCD CONTROLLER/DRIVER User’s Manual U15331EJ4V1UD 263 13.7.2 Four-time-slice display example Figure 13-13 shows how a 14-digit LCD

Page 184

CHAPTER 13 LCD CONTROLLER/DRIVER 264 User’s Manual U15331EJ4V1UD Figure 13-13. Example of Connecting Four-Time-Slice LCD Panel 0010100010110010

Page 185

CHAPTER 13 LCD CONTROLLER/DRIVER User’s Manual U15331EJ4V1UD 265 Figure 13-14. Four-Time-Slice LCD Drive Waveform Examples (1/3 Bias Method) T

Page 186

CHAPTER 13 LCD CONTROLLER/DRIVER 266 User’s Manual U15331EJ4V1UD 13.8 Supplying LCD Drive Voltages VLC0, VLC1, and VLC2 The µPD789489 Subseries

Page 187 - Baud rate generator control

User’s Manual U15331EJ4V1UD 267 CHAPTER 14 MULTIPLIER 14.1 Multiplier Function The multiplier has the following function. • Calculation of 8

Page 188

CHAPTER 14 MULTIPLIER 268 User’s Manual U15331EJ4V1UD Figure 14-1. Block Diagram of Multiplier Internal busSelectorCounter value3CPU clockSta

Page 189

CHAPTER 14 MULTIPLIER User’s Manual U15331EJ4V1UD 269 14.3 Multiplier Control Register The multiplier is controlled by the following register

Page 190

CHAPTER 1 GENERAL User’s Manual U15331EJ4V1UD 27 1.3 Ordering Information Part Number Package Internal ROM µPD789488GC-×××-8BT 80-pin

Page 191

CHAPTER 14 MULTIPLIER 270 User’s Manual U15331EJ4V1UD 14.4 Multiplier Operation The multiplier of the µPD789489 Subseries can execute the ca

Page 192

User’s Manual U15331EJ4V1UD 271CHAPTER 15 REMOTE CONTROLLER RECEIVER (µPD789489, 78F9489 ONLY) 15.1 Remote Controller Receiver Functions The

Page 193

CHAPTER 15 REMOTE CONTROLLER RECEIVER (µPD789489, 78F9489 ONLY) User’s Manual U15331EJ4V1UD 272 Figure 15-1. Block Diagram of Remote Controlle

Page 194

CHAPTER 15 REMOTE CONTROLLER RECEIVER (µPD789489, 78F9489 ONLY) User’s Manual U15331EJ4V1UD 273(2) Remote controller receive data register (RM

Page 195 - X = 5.0 MHz fX = 4.9152 MHz

CHAPTER 15 REMOTE CONTROLLER RECEIVER (µPD789489, 78F9489 ONLY) User’s Manual U15331EJ4V1UD 274 (4) Remote controller receive GPHS compare reg

Page 196

CHAPTER 15 REMOTE CONTROLLER RECEIVER (µPD789489, 78F9489 ONLY) User’s Manual U15331EJ4V1UD 275(8) Remote controller receive DH0S compare regi

Page 197

CHAPTER 15 REMOTE CONTROLLER RECEIVER (µPD789489, 78F9489 ONLY) User’s Manual U15331EJ4V1UD 276 (12) Remote controller receive end-width select

Page 198

CHAPTER 15 REMOTE CONTROLLER RECEIVER (µPD789489, 78F9489 ONLY) User’s Manual U15331EJ4V1UD 27715.3 Registers to Control Remote Controller Rec

Page 199

CHAPTER 15 REMOTE CONTROLLER RECEIVER (µPD789489, 78F9489 ONLY) User’s Manual U15331EJ4V1UD 278 Figure 15-3. Format of Remote Controller Recei

Page 200

CHAPTER 15 REMOTE CONTROLLER RECEIVER (µPD789489, 78F9489 ONLY) User’s Manual U15331EJ4V1UD 27915.4 Operation of Remote Controller Receiver Th

Page 201

CHAPTER 1 GENERAL 28 User’s Manual U15331EJ4V1UD 1.4 Pin Configuration (Top View) (1) µPD789488, 78F9488 80-pin plastic QFP (14 × 14) µPD78

Page 202

CHAPTER 15 REMOTE CONTROLLER RECEIVER (µPD789489, 78F9489 ONLY) User’s Manual U15331EJ4V1UD 280 Figure 15-5. Operation Flow of Type A Receptio

Page 203

CHAPTER 15 REMOTE CONTROLLER RECEIVER (µPD789489, 78F9489 ONLY) User’s Manual U15331EJ4V1UD 28115.4.3 Timing Operation varies depending on the

Page 204

CHAPTER 15 REMOTE CONTROLLER RECEIVER (µPD789489, 78F9489 ONLY) User’s Manual U15331EJ4V1UD 282 (3) Data high level width determination Rela

Page 205

CHAPTER 15 REMOTE CONTROLLER RECEIVER (µPD789489, 78F9489 ONLY) User’s Manual U15331EJ4V1UD 283(4) End width determination RINRMDLSRMDLL<1&

Page 206 - TxD20 (output)

CHAPTER 15 REMOTE CONTROLLER RECEIVER (µPD789489, 78F9489 ONLY) User’s Manual U15331EJ4V1UD 284 Figure 15-6. Setting Example (Where n1 = 1, n2

Page 207 - RxD20 (input)

CHAPTER 15 REMOTE CONTROLLER RECEIVER (µPD789489, 78F9489 ONLY) User’s Manual U15331EJ4V1UD 28515.4.5 Error interrupt generation timing After

Page 208

CHAPTER 15 REMOTE CONTROLLER RECEIVER (µPD789489, 78F9489 ONLY) User’s Manual U15331EJ4V1UD 286 Figure 15-7. Generation Timing of INTRERR Sign

Page 209

CHAPTER 15 REMOTE CONTROLLER RECEIVER (µPD789489, 78F9489 ONLY) User’s Manual U15331EJ4V1UD 28715.4.6 Noise elimination This remote controller

Page 210 - <2>

CHAPTER 15 REMOTE CONTROLLER RECEIVER (µPD789489, 78F9489 ONLY) User’s Manual U15331EJ4V1UD 288 Figure 15-8. Noise Elimination Operation Examp

Page 211

CHAPTER 15 REMOTE CONTROLLER RECEIVER (µPD789489, 78F9489 ONLY) User’s Manual U15331EJ4V1UD 289Figure 15-8. Noise Elimination Operation Exampl

Page 212

CHAPTER 1 GENERAL User’s Manual U15331EJ4V1UD 29 Cautions 1. Connect the IC (Internally Connected) pin directly to VSS. 2. Connect the A

Page 213

290 User’s Manual U15331EJ4V1UD CHAPTER 16 INTERRUPT FUNCTIONS 16.1 Interrupt Function Types The following two types of interrupt functions a

Page 214

CHAPTER 16 INTERRUPT FUNCTIONS User’s Manual U15331EJ4V1UD 291 Table 16-1. Interrupt Sources (µPD789488, 78F9488) Interrupt Source Interrupt

Page 215

CHAPTER 16 INTERRUPT FUNCTIONS 292 User’s Manual U15331EJ4V1UD Table 16-2. Interrupt Sources (µPD789489, 78F9489) Interrupt Source Interrupt T

Page 216

CHAPTER 16 INTERRUPT FUNCTIONS User’s Manual U15331EJ4V1UD 293 Figure 16-1. Basic Configuration of Interrupt Function (A) Internal non-mask

Page 217

CHAPTER 16 INTERRUPT FUNCTIONS 294 User’s Manual U15331EJ4V1UD 16.3 Registers Controlling Interrupt Function The following five types of regis

Page 218

CHAPTER 16 INTERRUPT FUNCTIONS User’s Manual U15331EJ4V1UD 295 (1) Interrupt request flag registers (IF0 to IF2) An interrupt request flag i

Page 219

CHAPTER 16 INTERRUPT FUNCTIONS 296 User’s Manual U15331EJ4V1UD (2) Interrupt mask flag registers (MK0 to MK2) Interrupt mask flags are used to

Page 220

CHAPTER 16 INTERRUPT FUNCTIONS User’s Manual U15331EJ4V1UD 297 (3) External interrupt mode registers (INTM0, INTM1) These registers are used

Page 221

CHAPTER 16 INTERRUPT FUNCTIONS 298 User’s Manual U15331EJ4V1UD (4) Program status word (PSW) The program status word is used to hold the instr

Page 222

CHAPTER 16 INTERRUPT FUNCTIONS User’s Manual U15331EJ4V1UD 299 (5) Key return mode register 00 (KRM00) This register is used to set the pin

Page 223

User’s Manual U15331EJ4V1UD 3 1234VOLTAGE APPLICATION WAVEFORM AT INPUT PINWaveform distortion due to input noise or a reflected wave may cause ma

Page 224

CHAPTER 1 GENERAL 30 User’s Manual U15331EJ4V1UD Notes 1. Whether to use these pins as input port pins (P70 to P73) or segment outputs (S16 to

Page 225

CHAPTER 16 INTERRUPT FUNCTIONS 300 User’s Manual U15331EJ4V1UD (6) Key return mode register 01 (KRM01) (µPD789489, 78F9489 only) This register

Page 226

CHAPTER 16 INTERRUPT FUNCTIONS User’s Manual U15331EJ4V1UD 301 16.4 Interrupt Servicing Operation 16.4.1 Non-maskable interrupt request ack

Page 227

CHAPTER 16 INTERRUPT FUNCTIONS 302 User’s Manual U15331EJ4V1UD Figure 16-10. Flow from Generation of Non-Maskable Interrupt Request to Acknowl

Page 228

CHAPTER 16 INTERRUPT FUNCTIONS User’s Manual U15331EJ4V1UD 303 16.4.2 Maskable interrupt request acknowledgment operation A maskable interru

Page 229

CHAPTER 16 INTERRUPT FUNCTIONS 304 User’s Manual U15331EJ4V1UD Figure 16-14. Interrupt Request Acknowledgment Timing (Example: MOV A, r) Clock

Page 230

CHAPTER 16 INTERRUPT FUNCTIONS User’s Manual U15331EJ4V1UD 305 Figure 16-16. Example of Multiple Interrupt Servicing Example 1. Acknowledg

Page 231

CHAPTER 16 INTERRUPT FUNCTIONS 306 User’s Manual U15331EJ4V1UD 16.4.4 Putting interrupt requests on hold If an interrupt request (such as a ma

Page 232

User’s Manual U15331EJ4V1UD 307 CHAPTER 17 STANDBY FUNCTION 17.1 Standby Function and Configuration 17.1.1 Standby function The standby fun

Page 233 - = 5.0 MHz, fSCK = 1.25 MHz)

CHAPTER 17 STANDBY FUNCTION 308 User’s Manual U15331EJ4V1UD 17.1.2 Register controlling standby function The wait time after the STOP mode is r

Page 234

CHAPTER 17 STANDBY FUNCTION User’s Manual U15331EJ4V1UD 309 17.2 Standby Function Operation 17.2.1 HALT mode (1) HALT mode The HALT mode is

Page 235

CHAPTER 1 GENERAL User’s Manual U15331EJ4V1UD 31 1.5 78K/0S Series Lineup The products in the 78K/0S Series are listed below. The names encl

Page 236

CHAPTER 17 STANDBY FUNCTION 310 User’s Manual U15331EJ4V1UD (2) Releasing HALT mode The HALT mode can be released by the following three sourc

Page 237

CHAPTER 17 STANDBY FUNCTION User’s Manual U15331EJ4V1UD 311 (c) Release by RESET input When the HALT mode is released by the RESET signal, e

Page 238

CHAPTER 17 STANDBY FUNCTION 312 User’s Manual U15331EJ4V1UD 17.2.2 STOP mode (1) Setting and operation status of STOP mode The STOP mode is

Page 239

CHAPTER 17 STANDBY FUNCTION User’s Manual U15331EJ4V1UD 313 (2) Releasing STOP mode The STOP mode can be released by the following two sourc

Page 240 - Interval

CHAPTER 17 STANDBY FUNCTION 314 User’s Manual U15331EJ4V1UD (b) Release by RESET input When the STOP mode is released by the RESET signal, the

Page 241

User’s Manual U15331EJ4V1UD 315 CHAPTER 18 RESET FUNCTION The following two operations are available to generate reset signals. (1) External

Page 242

CHAPTER 18 RESET FUNCTION 316 User’s Manual U15331EJ4V1UD Figure 18-2. Reset Timing by RESET Input X1RESETInternalreset signalPort pinDuring n

Page 243

CHAPTER 18 RESET FUNCTION User’s Manual U15331EJ4V1UD 317 Table 18-1. Status of Hardware After Reset (1/2) Hardware Status After Reset Progra

Page 244

CHAPTER 18 RESET FUNCTION 318 User’s Manual U15331EJ4V1UD Table 18-1. Status of Hardware After Reset (2/2) Hardware Status After Reset Operat

Page 245

User’s Manual U15331EJ4V1UD 319 CHAPTER 19 FLASH MEMORY VERSION The µPD78F9488 is available as the flash memory version of the µPD789488 (mas

Page 246

CHAPTER 1 GENERAL 32 User’s Manual U15331EJ4V1UD The major functional differences between the subseries are listed below. Series for General-pu

Page 247

CHAPTER 19 FLASH MEMORY VERSION 320 User’s Manual U15331EJ4V1UD 19.1 Flash Memory Characteristics Flash memory programming is performed by co

Page 248

CHAPTER 19 FLASH MEMORY VERSION User’s Manual U15331EJ4V1UD 321 19.1.2 Communication mode Use the communication mode shown in Table 19-2 to

Page 249 - SCK: Serial clock frequency

CHAPTER 19 FLASH MEMORY VERSION 322 User’s Manual U15331EJ4V1UD Figure 19-3. Example of Connection with Dedicated Flash Programmer (a) 3-wi

Page 250

CHAPTER 19 FLASH MEMORY VERSION User’s Manual U15331EJ4V1UD 323 If Flashpro III/Flashpro IV is used as a dedicated flash programmer, the fol

Page 251

CHAPTER 19 FLASH MEMORY VERSION 324 User’s Manual U15331EJ4V1UD 19.1.3 On-board pin processing When performing programming on the target syst

Page 252

CHAPTER 19 FLASH MEMORY VERSION User’s Manual U15331EJ4V1UD 325 (1) Signal conflict If the dedicated flash programmer (output) is connected

Page 253

CHAPTER 19 FLASH MEMORY VERSION 326 User’s Manual U15331EJ4V1UD <RESET pin> If the reset signal of the dedicated flash programmer is con

Page 254

CHAPTER 19 FLASH MEMORY VERSION User’s Manual U15331EJ4V1UD 327 19.1.4 Connection of adapter for flash writing The following figure shows a

Page 255

CHAPTER 19 FLASH MEMORY VERSION 328 User’s Manual U15331EJ4V1UD Figure 19-9. Wiring Example for Flash Writing Adapter with 3-Wire Serial I/O

Page 256

CHAPTER 19 FLASH MEMORY VERSION User’s Manual U15331EJ4V1UD 329 Figure 19-10. Wiring Example for Flash Writing Adapter with UART GNDVDDSI

Page 257

CHAPTER 1 GENERAL User’s Manual U15331EJ4V1UD 33 Series for ASSP Timer VDD Function Subseries Name ROM Capacity 8-Bit 16-Bit Watch WDT8-Bit

Page 258

CHAPTER 19 FLASH MEMORY VERSION 330 User’s Manual U15331EJ4V1UD 19.2 Cautions on µPD78F9488 and 78F9489 (1) When using HALT mode with subclo

Page 259 - F: Frame frequency

User’s Manual U15331EJ4V1UD 331 CHAPTER 20 MASK OPTIONS The µPD789488 and 789489 have the following mask options. • Pin function The segment

Page 260

332 User’s Manual U15331EJ4V1UD CHAPTER 21 INSTRUCTION SET This chapter lists the instruction set of the µPD789489 Subseries. For details of t

Page 261

CHAPTER 21 INSTRUCTION SET User’s Manual U15331EJ4V1UD 333 21.1.2 Description of “Operation” column A: A register; 8-bit accumulator X: X

Page 262

CHAPTER 21 INSTRUCTION SET 334 User’s Manual U15331EJ4V1UD 21.2 Operation List Mnemonic Operands Bytes Clocks Operation Flag Z AC CYM

Page 263 - LCD/-VLCD, is generated

CHAPTER 21 INSTRUCTION SET User’s Manual U15331EJ4V1UD 335 Mnemonic Operands Bytes Clocks Operation Flag Z AC CYMOVW rp, #word 3 6 r

Page 264

CHAPTER 21 INSTRUCTION SET 336 User’s Manual U15331EJ4V1UD Mnemonic Operands Bytes Clocks Operation Flag Z AC CYSUBC A, #byte 2 4

Page 265

CHAPTER 21 INSTRUCTION SET User’s Manual U15331EJ4V1UD 337 Mnemonic Operands Bytes Clocks Operation Flag Z AC CYCMP A, #byte 2 4 A −

Page 266 - LC1 3.0 V 2.0 V

CHAPTER 21 INSTRUCTION SET 338 User’s Manual U15331EJ4V1UD Mnemonic Operands Bytes Clocks Operation Flag Z AC CYCALL !addr16 3 6 (SP −

Page 267 - 14.1 Multiplier Function

CHAPTER 21 INSTRUCTION SET User’s Manual U15331EJ4V1UD 339 21.3 Instructions Listed by Addressing Type (1) 8-bit instructions MOV, XCH, ADD, A

Page 268 - Counter output

CHAPTER 1 GENERAL 34 User’s Manual U15331EJ4V1UD 1.6 Block Diagram 78K/0SCPU coreROM(flashmemory)RAMVDDVSSIC0(VPP)CPT20/TO20/P338-bit timer/eve

Page 269

CHAPTER 21 INSTRUCTION SET 340 User’s Manual U15331EJ4V1UD (2) 16-bit instructions MOVW, XCHW, ADDW, SUBW, CMPW, PUSH, POP, INCW, DECW 2nd Ope

Page 270 - 14.4 Multiplier Operation

CHAPTER 21 INSTRUCTION SET User’s Manual U15331EJ4V1UD 341 (4) Call instructions/branch instructions CALL, CALLT, BR, BC, BNC, BZ, BNZ, DBNZ

Page 271 - PD789489, 78F9489 ONLY)

342 User’s Manual U15331EJ4V1UD CHAPTER 22 ELECTRICAL SPECIFICATIONS (µPD789488, 78F9488, 789489, 78F9489) Absolute Maximum Ratings (TA = 25°

Page 272 - Data detection

CHAPTER 22 ELECTRICAL SPECIFICATIONS (µPD789488, 78F9488, 789489, 78F9489) User’s Manual U15331EJ4V1UD 343 Caution Product quality may suf

Page 273

CHAPTER 22 ELECTRICAL SPECIFICATIONS (µPD789488, 78F9488, 789489, 78F9489) 344 User’s Manual U15331EJ4V1UD Main System Clock Oscillator Chara

Page 274

CHAPTER 22 ELECTRICAL SPECIFICATIONS (µPD789488, 78F9488, 789489, 78F9489) User’s Manual U15331EJ4V1UD 345 Subsystem Clock Oscillator Charac

Page 275

CHAPTER 22 ELECTRICAL SPECIFICATIONS (µPD789488, 78F9488, 789489, 78F9489) 346 User’s Manual U15331EJ4V1UD DC Characteristics (TA = –40 to +8

Page 276

CHAPTER 22 ELECTRICAL SPECIFICATIONS (µPD789488, 78F9488, 789489, 78F9489) User’s Manual U15331EJ4V1UD 347 DC Characteristics (TA = –40 to

Page 277 - PRS = fREM/2)

CHAPTER 22 ELECTRICAL SPECIFICATIONS (µPD789488, 78F9488, 789489, 78F9489) 348 User’s Manual U15331EJ4V1UD DC Characteristics (TA = –40 to +8

Page 278

CHAPTER 22 ELECTRICAL SPECIFICATIONS (µPD789488, 78F9488, 789489, 78F9489) User’s Manual U15331EJ4V1UD 349 DC Characteristics (TA = –40 to +

Page 279

CHAPTER 1 GENERAL User’s Manual U15331EJ4V1UD 35 1.7 Overview of Functions (1/2) Item µPD789488 µPD78F9488 µPD789489 µPD78F9489 ROM 32 KB 3

Page 280

CHAPTER 22 ELECTRICAL SPECIFICATIONS (µPD789488, 78F9488, 789489, 78F9489) 350 User’s Manual U15331EJ4V1UD DC Characteristics (TA = –40 to +8

Page 281

CHAPTER 22 ELECTRICAL SPECIFICATIONS (µPD789488, 78F9488, 789489, 78F9489) User’s Manual U15331EJ4V1UD 351 DC Characteristics (TA = –40 to +

Page 282

CHAPTER 22 ELECTRICAL SPECIFICATIONS (µPD789488, 78F9488, 789489, 78F9489) 352 User’s Manual U15331EJ4V1UD AC Characteristics (1) Basic op

Page 283

CHAPTER 22 ELECTRICAL SPECIFICATIONS (µPD789488, 78F9488, 789489, 78F9489) User’s Manual U15331EJ4V1UD 353 (2) Serial interface 20 (SIO20)

Page 284

CHAPTER 22 ELECTRICAL SPECIFICATIONS (µPD789488, 78F9488, 789489, 78F9489) 354 User’s Manual U15331EJ4V1UD (d) UART mode (external clock inp

Page 285

CHAPTER 22 ELECTRICAL SPECIFICATIONS (µPD789488, 78F9488, 789489, 78F9489) User’s Manual U15331EJ4V1UD 355 (3) Serial interface 1A0 (SIO1A0

Page 286

CHAPTER 22 ELECTRICAL SPECIFICATIONS (µPD789488, 78F9488, 789489, 78F9489) 356 User’s Manual U15331EJ4V1UD AC Timing Measurement Points (Excl

Page 287 - REM Less than 4/fREM

CHAPTER 22 ELECTRICAL SPECIFICATIONS (µPD789488, 78F9488, 789489, 78F9489) User’s Manual U15331EJ4V1UD 357 Key Return Input Timing tKRLKR0

Page 288

CHAPTER 22 ELECTRICAL SPECIFICATIONS (µPD789488, 78F9488, 789489, 78F9489) 358 User’s Manual U15331EJ4V1UD 10-Bit A/D Converter Characteristi

Page 289

CHAPTER 22 ELECTRICAL SPECIFICATIONS (µPD789488, 78F9488, 789489, 78F9489) User’s Manual U15331EJ4V1UD 359 LCD Characteristics (TA = –40 to

Page 290

CHAPTER 1 GENERAL 36 User’s Manual U15331EJ4V1UD (2/2) Item µPD789488 µPD78F9488 µPD789489 µPD78F9489 Supply voltage VDD = 1.8 to 5.5 V Opera

Page 291

CHAPTER 22 ELECTRICAL SPECIFICATIONS (µPD789488, 78F9488, 789489, 78F9489) 360 User’s Manual U15331EJ4V1UD Data Retention Timing (STOP Mode R

Page 292

CHAPTER 22 ELECTRICAL SPECIFICATIONS (µPD789488, 78F9488, 789489, 78F9489) User’s Manual U15331EJ4V1UD 361 Flash Memory Writing and Erasing

Page 293 - Standby release signal

362 User’s Manual U15331EJ4V1UD CHAPTER 23 CHARACTERISTICS CURVES OF LCD CONTROLLER/DRIVER (REFERENCE VALUES) (1) Characteristics curves of

Page 294

CHAPTER 23 CHARACTERISTICS CURVES OF LCD CONTROLLER/DRIVER (REFERENCE VALUES) User’s Manual U15331EJ4V1UD 363 (2) Temperature characteri

Page 295

364 User’s Manual U15331EJ4V1UD CHAPTER 24 PACKAGE DRAWINGS 80-PIN PLASTIC QFP (14x14)NOTEEach lead centerline is located within 0.13 mm ofits

Page 296

CHAPTER 24 PACKAGE DRAWINGS User’s Manual U15331EJ4V1UD 365 80-PIN PLASTIC TQFP (FINE PITCH) (12x12)ITEM MILLIMETERSGH 0.22±0.051.25A 14.0±0.2C

Page 297

366 User’s Manual U15331EJ4V1UD CHAPTER 25 RECOMMENDED SOLDERING CONDITIONS The µPD789489 subseries should be soldered and mounted under the f

Page 298

CHAPTER 25 RECOMMENDED SOLDERING CONDITIONS User’s Manual U15331EJ4V1UD 367 Table 25-1. Surface Mounting Type Soldering Conditions (2/3) (3

Page 299

CHAPTER 25 RECOMMENDED SOLDERING CONDITIONS 368 User’s Manual U15331EJ4V1UD Table 25-1. Surface Mounting Type Soldering Conditions (3/3) (

Page 300

369 User’s Manual U15331EJ4V1UD APPENDIX A DEVELOPMENT TOOLS The following development tools are available for development of systems using th

Page 301

User’s Manual U15331EJ4V1UD 37 CHAPTER 2 PIN FUNCTIONS 2.1 List of Pin Functions (1) Port pins (1/2) Pin Name I/O Function After Reset

Page 302 - CPU processing

APPENDIX A DEVELOPMENT TOOLS User’s Manual U15331EJ4V1UD 370 Figure A-1. Development Tools Language processing software· Assembler package· C

Page 303 - 9 clocks 19 clocks

APPENDIX A DEVELOPMENT TOOLS User’s Manual U15331EJ4V1UD 371 A.1 Software Package Software tools for development of the 78K/0S Series are comb

Page 304

APPENDIX A DEVELOPMENT TOOLS 372 User’s Manual U15331EJ4V1UD Remark ×××× in the part number differs depending on the host machine and operating

Page 305

APPENDIX A DEVELOPMENT TOOLS User’s Manual U15331EJ4V1UD 373 A.5 Debugging Tools (Hardware) IE-78K0S-NS In-circuit emulator In-circuit emulato

Page 306

APPENDIX A DEVELOPMENT TOOLS 374 User’s Manual U15331EJ4V1UD A.6 Debugging Tools (Software) This debugger supports the in-circuit emulators IE-

Page 307

User’s Manual U15331EJ4V1UD 375APPENDIX B NOTES ON TARGET SYSTEM DESIGN Figures B-1 to B-6 show the conditions when connecting the emulation

Page 308 - X1 pin voltage

APPENDIX B NOTES ON TARGET SYSTEM DESIGN User’s Manual U15331EJ4V1UD 376 Figure B-2. Connection Conditions of Target System (When NP-80GC-TQ

Page 309

APPENDIX B NOTES ON TARGET SYSTEM DESIGN User’s Manual U15331EJ4V1UD 377(2) NP-80GK, NP-H80GK-TQ Figure B-4. Distance Between In-Circuit Em

Page 310

APPENDIX B NOTES ON TARGET SYSTEM DESIGN User’s Manual U15331EJ4V1UD 378 Figure B-5. Connection Conditions of Target System (When NP-80GK Is

Page 311 - Oscillation

379 User’s Manual U15331EJ4V1UD APPENDIX C REGISTER INDEX C.1 Register Index (Register Names in Alphabetic Order) [A] A/D conversion result r

Page 312

CHAPTER 2 PIN FUNCTIONS User’s Manual U15331EJ4V1UD 38 (1) Port pins (2/2) Pin Name I/O Function After Reset Alternate Function P70 to P7

Page 313

APPENDIX C REGISTER INDEX 380 User’s Manual U15331EJ4V1UD [L] LCD clock control register 0 (LCDC0) ...

Page 314

APPENDIX C REGISTER INDEX User’s Manual U15331EJ4V1UD 381 Remote controller receive end width select register (RMER) ...

Page 315 - X) has elapsed (see

APPENDIX C REGISTER INDEX 382 User’s Manual U15331EJ4V1UD C.2 Register Index (Register Symbols Alphabetic Order) [A] ADCRL0: A/D conversion re

Page 316

APPENDIX C REGISTER INDEX User’s Manual U15331EJ4V1UD 383 MUL0H: 16-bit multiplication result storage register H...

Page 317

APPENDIX C REGISTER INDEX 384 User’s Manual U15331EJ4V1UD SIO1A0: Serial I/O shift register 1A0...

Page 318

User’s Manual U15331EJ4V1UD 385APPENDIX D REVISION HISTORY The following table shows the revision history up to this edition. The “Applied to:

Page 319

APPENDIX D REVISION HISTORY User’s Manual U15331EJ4V1UD 386 (2/4) Edition Major Revision from Previous Edition Applied to: Addition of desc

Page 320

APPENDIX D REVISION HISTORY User’s Manual U15331EJ4V1UD 387(3/4) Edition Major Revision from Previous Edition Applied to: Change of descripti

Page 321 - On Target Board

APPENDIX D REVISION HISTORY User’s Manual U15331EJ4V1UD 388 (4/4) Edition Major Revision from Previous Edition Applied to: Modification of d

Page 322

CHAPTER 2 PIN FUNCTIONS User’s Manual U15331EJ4V1UD 39(2) Non-port pins (2/2) Pin Name I/O Function After Reset Alternate Function S0 to

Page 323 - DD voltage generation/

4 User’s Manual U15331EJ4V1UD EEPROM and FIP are trademarks of NEC Electronics Corporation. Windows and Windows NT are either registered trademarks

Page 324 - UART RxD20, TxD20

CHAPTER 2 PIN FUNCTIONS User’s Manual U15331EJ4V1UD 40 2.2 Description of Pin Functions 2.2.1 P00 to P07 (Port 0) These pins constitute an 8

Page 325

CHAPTER 2 PIN FUNCTIONS User’s Manual U15331EJ4V1UD 412.2.4 P30 to P34 (Port 3) These pins constitute a 5-bit I/O port. In addition, they al

Page 326

CHAPTER 2 PIN FUNCTIONS User’s Manual U15331EJ4V1UD 42 2.2.6 P60 to P67 (Port 6) This is an 8-bit input-only port. In addition to a general-p

Page 327

CHAPTER 2 PIN FUNCTIONS User’s Manual U15331EJ4V1UD 432.2.13 RESET This pin inputs an active-low system reset signal. 2.2.14 X1, X2 These p

Page 328

CHAPTER 2 PIN FUNCTIONS User’s Manual U15331EJ4V1UD 44 2.2.21 IC0 (mask ROM version only) The IC0 (Internally Connected) pin is used to set t

Page 329

CHAPTER 2 PIN FUNCTIONS User’s Manual U15331EJ4V1UD 452.3 Pin I/O Circuits and Recommended Connection of Unused Pins The I/O circuit type of

Page 330 - A = −40 to +85°C 4

CHAPTER 2 PIN FUNCTIONS User’s Manual U15331EJ4V1UD 46 Table 2-1. Types of Pin I/O Circuits (2/2) Pin Name I/O Circuit Type I/O Recommende

Page 331 - CHAPTER 20 MASK OPTIONS

CHAPTER 2 PIN FUNCTIONS User’s Manual U15331EJ4V1UD 47Figure 2-1. I/O Circuit Types (2/2) Type 13-W Type 13-V DataOutputdisableInputenab

Page 332 - 21.1 Operation

48 User’s Manual U15331EJ4V1UD CHAPTER 3 CPU ARCHITECTURE 3.1 Memory Space The µPD789489 Subseries can access 64 KB of memory space. Figures

Page 333

CHAPTER 3 CPU ARCHITECTURE User’s Manual U15331EJ4V1UD 49 Figure 3-2. Memory Map (µPD78F9488) 8 0 0 0 H7 F F F HSpecial function registers256

Page 334 - 21.2 Operation List

User’s Manual U15331EJ4V1UD 5 The information in this document is current as of July, 2005. The information is subject to change withou

Page 335

CHAPTER 3 CPU ARCHITECTURE 50 User’s Manual U15331EJ4V1UD Figure 3-3. Memory Map (µPD789489) B F F F H0 0 0 0 H0 0 8 0 H0 0 7 F H0 0 4 0 H0 0 3

Page 336

CHAPTER 3 CPU ARCHITECTURE User’s Manual U15331EJ4V1UD 51 Figure 3-4. Memory Map (µPD78F9489) B F F F H0 0 0 0 H0 0 8 0 H0 0 7 F H0 0 4 0 H0 0

Page 337

CHAPTER 3 CPU ARCHITECTURE 52 User’s Manual U15331EJ4V1UD 3.1.1 Internal program memory space The internal program memory space stores programs

Page 338

CHAPTER 3 CPU ARCHITECTURE User’s Manual U15331EJ4V1UD 53 3.1.2 Internal data memory space (1) Internal high-speed RAM and internal low-speed

Page 339

CHAPTER 3 CPU ARCHITECTURE 54 User’s Manual U15331EJ4V1UD 3.1.4 Data memory addressing The µPD789489 Subseries is provided with a variety of ad

Page 340

CHAPTER 3 CPU ARCHITECTURE User’s Manual U15331EJ4V1UD 55 Figure 3-6. Data Memory Addressing (µPD78F9488) Special function registers256 × 8 bi

Page 341

CHAPTER 3 CPU ARCHITECTURE 56 User’s Manual U15331EJ4V1UD Figure 3-7. Data Memory Addressing (µPD789489) Direct addressingRegister indirect add

Page 342

CHAPTER 3 CPU ARCHITECTURE User’s Manual U15331EJ4V1UD 57 Figure 3-8. Data Memory Addressing (µPD78F9489) Direct addressingRegister indirect a

Page 343

CHAPTER 3 CPU ARCHITECTURE 58 User’s Manual U15331EJ4V1UD 3.2 Processor Registers The µPD789489 Subseries is provided with the following on-chi

Page 344

CHAPTER 3 CPU ARCHITECTURE User’s Manual U15331EJ4V1UD 59 (a) Interrupt enable flag (IE) This flag controls interrupt request acknowledgement

Page 345

6 User’s Manual U15331EJ4V1UD Regional Information• Device availability• Ordering information• Product release schedule• Availability of relat

Page 346

CHAPTER 3 CPU ARCHITECTURE 60 User’s Manual U15331EJ4V1UD (3) Stack pointer (SP) This is a 16-bit register that holds the start address of the

Page 347

CHAPTER 3 CPU ARCHITECTURE User’s Manual U15331EJ4V1UD 61 3.2.2 General-purpose registers The general-purpose registers consist of eight 8-bit

Page 348

CHAPTER 3 CPU ARCHITECTURE 62 User’s Manual U15331EJ4V1UD 3.2.3 Special function registers (SFRs) Unlike a general-purpose register, each speci

Page 349 - DD and AVDD

CHAPTER 3 CPU ARCHITECTURE User’s Manual U15331EJ4V1UD 63 Table 3-4. Special Function Registers (1/3) Bit Unit for ManipulationAddress Specia

Page 350

CHAPTER 3 CPU ARCHITECTURE 64 User’s Manual U15331EJ4V1UD Table 3-4. Special Function Registers (2/3) Bit Unit for Manipulation Address Specia

Page 351

CHAPTER 3 CPU ARCHITECTURE User’s Manual U15331EJ4V1UD 65 Table 3-4. Special Function Registers (3/3) Bit Unit for ManipulationAddress Specia

Page 352 - Cycle time T

CHAPTER 3 CPU ARCHITECTURE 66 User’s Manual U15331EJ4V1UD 3.3 Instruction Address Addressing An instruction address is determined by the progra

Page 353 - KCY1/2–150

CHAPTER 3 CPU ARCHITECTURE User’s Manual U15331EJ4V1UD 67 3.3.2 Immediate addressing [Function] Immediate data in the instruction word is tran

Page 354

CHAPTER 3 CPU ARCHITECTURE 68 User’s Manual U15331EJ4V1UD 3.3.3 Table indirect addressing [Function] Table contents (branch destination address

Page 355 - /2–150 ns

CHAPTER 3 CPU ARCHITECTURE User’s Manual U15331EJ4V1UD 69 3.4 Operand Address Addressing The following various methods are available to specif

Page 356 - INTP0 to INTP3

User’s Manual U15331EJ4V1UD 7 Major Revisions in This Edition Page Description Throughout Change of descriptions of µPD789489, 78F9489 • Change o

Page 357 - SIKm tKSIm

CHAPTER 3 CPU ARCHITECTURE 70 User’s Manual U15331EJ4V1UD 3.4.2 Short direct addressing [Function] The memory to be manipulated in the fixed sp

Page 358

CHAPTER 3 CPU ARCHITECTURE User’s Manual U15331EJ4V1UD 71 3.4.3 Special function register (SFR) addressing [Function] The memory-mapped specia

Page 359 - A = –40 to +85°C)

CHAPTER 3 CPU ARCHITECTURE 72 User’s Manual U15331EJ4V1UD 3.4.4 Register addressing [Function] In the register addressing mode, general-purpose

Page 360

CHAPTER 3 CPU ARCHITECTURE User’s Manual U15331EJ4V1UD 73 3.4.5 Register indirect addressing [Function] In the register indirect addressing mo

Page 361

CHAPTER 3 CPU ARCHITECTURE 74 User’s Manual U15331EJ4V1UD 3.4.6 Based addressing [Function] 8-bit immediate data is added to the contents of th

Page 362 - (REFERENCE VALUES)

User’s Manual U15331EJ4V1UD 75 CHAPTER 4 PORT FUNCTIONS 4.1 Port Functions The µPD789489 Subseries provides the ports shown in Figure 4-1,

Page 363 - LCD output voltage [V]

CHAPTER 4 PORT FUNCTIONS 76 User’s Manual U15331EJ4V1UD Table 4-1. Port Functions Port Name Pin Name Function Port 0 P00 to P07 I/O port.

Page 364 - 80-PIN PLASTIC QFP (14x14)

CHAPTER 4 PORT FUNCTIONS User’s Manual U15331EJ4V1UD 77 4.2.1 Port 0 This is an 8-bit I/O port with an output latch. Port 0 can be specified

Page 365

CHAPTER 4 PORT FUNCTIONS 78 User’s Manual U15331EJ4V1UD 4.2.2 Port 1 This is a 2-bit I/O port with an output latch. Port 1 can be specified in

Page 366

CHAPTER 4 PORT FUNCTIONS User’s Manual U15331EJ4V1UD 79 4.2.3 Port 2 This is a 6-bit I/O port with an output latch. Port 2 can be specified i

Page 367

8 User’s Manual U15331EJ4V1UD INTRODUCTION Target Readers This manual is intended for user engineers who wish to understand the functions of the µP

Page 368

CHAPTER 4 PORT FUNCTIONS 80 User’s Manual U15331EJ4V1UD Figure 4-5. Block Diagram of P21 Internal busVDDP21/SO20/TxD20WRPUB2RDWRPORTWRPMPUB21Al

Page 369 - • Windows™

CHAPTER 4 PORT FUNCTIONS User’s Manual U15331EJ4V1UD 81 Figure 4-6. Block Diagram of P22 and P25 P22/SI20/RxD20,P25/SI10WRPUB2RDWRPORTWRPMPUB2

Page 370

CHAPTER 4 PORT FUNCTIONS 82 User’s Manual U15331EJ4V1UD Figure 4-7. Block Diagram of P23 Internal busVDDP-chP23/SCK10WRPUB2RDWRPORTWRPMPUB23Alt

Page 371 - A.1 Software Package

CHAPTER 4 PORT FUNCTIONS User’s Manual U15331EJ4V1UD 83 Figure 4-8. Block Diagram of P24 Internal busVDDP24/SO10WRPUB2RDWRPORTWRPMPUB24Alterna

Page 372 - A.3 Control Software

CHAPTER 4 PORT FUNCTIONS 84 User’s Manual U15331EJ4V1UD 4.2.4 Port 3 This is a 5-bit I/O port with an output latch. Port 3 can be specified in

Page 373

CHAPTER 4 PORT FUNCTIONS User’s Manual U15331EJ4V1UD 85 Figure 4-10. Block Diagram of P34 (a) When µPD789488, 78F9488 is used P34WRPUB3RDWRPO

Page 374

CHAPTER 4 PORT FUNCTIONS 86 User’s Manual U15331EJ4V1UD 4.2.5 Port 5 This is a 4-bit N-ch open-drain I/O port with an output latch. Port 5 can

Page 375

CHAPTER 4 PORT FUNCTIONS User’s Manual U15331EJ4V1UD 87 4.2.6 Port 6 This is an 8-bit input-only port. This port is also used for the analog

Page 376

CHAPTER 4 PORT FUNCTIONS 88 User’s Manual U15331EJ4V1UD Figure 4-12. Block Diagram of P60 to P67 (2/2) (b) When µPD789489, 78F9489 is used VRE

Page 377

CHAPTER 4 PORT FUNCTIONS User’s Manual U15331EJ4V1UD 89 4.2.7 Port 7 This is a 4-bit input-only port. Only the bits for which the port funct

Page 378

User’s Manual U15331EJ4V1UD 9 Conventions Data significance: Higher digits on the left and lower digits on the right Active low representation:

Page 379

CHAPTER 4 PORT FUNCTIONS 90 User’s Manual U15331EJ4V1UD 4.2.8 Port 8 This is an 8-bit I/O port with an output latch. Only the bits for which th

Page 380

CHAPTER 4 PORT FUNCTIONS User’s Manual U15331EJ4V1UD 91 4.3 Registers Controlling Port Function The ports are controlled by the following thre

Page 381

CHAPTER 4 PORT FUNCTIONS 92 User’s Manual U15331EJ4V1UD Table 4-3. Port Mode Registers and Output Latch Settings When Using Alternate Functions

Page 382

CHAPTER 4 PORT FUNCTIONS User’s Manual U15331EJ4V1UD 93 (2) Pull-up resistor option registers (PUB0 to PUB3) These registers set whether to us

Page 383

CHAPTER 4 PORT FUNCTIONS 94 User’s Manual U15331EJ4V1UD 4.4 Port Function Operation The operation of a port differs depending on whether the p

Page 384

User’s Manual U15331EJ4V1UD 95 CHAPTER 5 CLOCK GENERATOR 5.1 Clock Generator Functions The clock generator generates the clock to be supplied

Page 385 - LC0, VLC1, and

CHAPTER 5 CLOCK GENERATOR 96 User’s Manual U15331EJ4V1UD Figure 5-1. Clock Generator Block Diagram (µPD789488, 789489) fXT8fXTfXTTX1X2XT1XT2fX

Page 386

CHAPTER 5 CLOCK GENERATOR User’s Manual U15331EJ4V1UD 97 Figure 5-2. Clock Generator Block Diagram (µPD78F9488, 78F9489) Subsystemclock oscill

Page 387

CHAPTER 5 CLOCK GENERATOR 98 User’s Manual U15331EJ4V1UD 5.3 Registers Controlling Clock Generator The clock generator is controlled by the fol

Page 388

CHAPTER 5 CLOCK GENERATOR User’s Manual U15331EJ4V1UD 99 (2) Subclock oscillation mode register (SCKM) SCKM selects a feedback resistor for the

Related models: PD789488 | PD789489 | PD78F9489 |

Comments to this Manuals

No comments