Preliminary User’s Manual
µPD780852
Subseries
8-Bit Single-Chip Microcontrollers
µPD780851(A)
µPD780852(A)
µPD78F0852
Document No. U14581EJ3V0UM00 (3rd edition)
Date Published October 2000 J CP(K)
©
Printed in Japan
2000
[MEMO]
2
Preliminary User’s Manual U14581EJ3V0UM00
SUMMARY OF CONTENTS
CHAPTER 1
CHAPTER 2
CHAPTER 3
CHAPTER 4
CHAPTER 5
CHAPTER 6
CHAPTER 7
CHAPTER 8
CHAPTER 9
OUTLINE .....................................................................................................................
PIN FUNCTION ...........................................................................................................
CPU ARCHITECTURE ................................................................................................
PORT FUNCTIONS .....................................................................................................
CLOCK GENERATOR ................................................................................................
27
35
47
75
91
16-BIT TIMER 0 TM0 .................................................................................................. 101
8-BIT TIMER 1 TM1 .................................................................................................... 113
8-BIT TIMER/EVENT COUNTERS 2 TM2 AND 3 TM3 .............................................. 121
WATCH TIMER ........................................................................................................... 137
CHAPTER 10 WATCHDOG TIMER ................................................................................................... 143
CHAPTER 11 CLOCK OUTPUT CONTROLLER .............................................................................. 149
CHAPTER 12 A/D CONVERTER ....................................................................................................... 153
CHAPTER 13 SERIAL INTERFACE UART ....................................................................................... 169
CHAPTER 14 SERIAL INTERFACE SIO2 ......................................................................................... 187
CHAPTER 15 SERIAL INTERFACE SIO3 ......................................................................................... 201
CHAPTER 16 LCD CONTROLLER/DRIVER ..................................................................................... 207
CHAPTER 17 SOUND GENERATOR ................................................................................................ 223
CHAPTER 18 METER CONTROLLER/DRIVER ............................................................................... 231
CHAPTER 19 INTERRUPT FUNCTIONS .......................................................................................... 241
CHAPTER 20 STANDBY FUNCTION ................................................................................................ 263
CHAPTER 21 RESET FUNCTION ..................................................................................................... 271
CHAPTER 22
µ
PD78F0852 ............................................................................................................... 275
CHAPTER 23 INSTRUCTION SET .................................................................................................... 281
APPENDIX A DEVELOPMENT TOOLS ............................................................................................ 297
APPENDIX B EMBEDDED SOFTWARE .......................................................................................... 305
APPENDIX C REGISTER INDEX ...................................................................................................... 307
APPENDIX D REVISION HISTORY ................................................................................................... 313
Preliminary User’s Manual U14581EJ3V0UM00
3
Major Revisions in This Edition
Page
p.29
p.34
p.107
p.111
p.211
p.278
Changing
1.5 Pin Configuration (Top View)
Changing description of supply voltage in
1.8 Outline of Function
Changing
6.4 (4) Port mode register 4 (PM4)
Changing
Figure 6-11 Capture Register Data Retention Timing
Adding
Caution 3
to
Figure 16-4 LCD Display Control Register (LCDC) Format
Adding
Note
to
Table 22-3 Transmission Method List
Description
The mark
shows major revised points.
4
Preliminary User’s Manual U14581EJ3V0UM00
NOTES FOR CMOS DEVICES
1
PRECAUTION AGAINST ESD FOR SEMICONDUCTORS
Note:
Strong electric field, when exposed to a MOS device, can cause destruction of the gate oxide and
ultimately degrade the device operation. Steps must be taken to stop generation of static electricity
as much as possible, and quickly dissipate it once, when it has occurred. Environmental control
must be adequate. When it is dry, humidifier should be used. It is recommended to avoid using
insulators that easily build static electricity. Semiconductor devices must be stored and transported
in an anti-static container, static shielding bag or conductive material. All test and measurement
tools including work bench and floor should be grounded. The operator should be grounded using
wrist strap. Semiconductor devices must not be touched with bare hands. Similar precautions need
to be taken for PW boards with semiconductor devices on it.
2
HANDLING OF UNUSED INPUT PINS FOR CMOS
Note:
No connection for CMOS device inputs can be cause of malfunction. If no connection is provided
to the input pins, it is possible that an internal input level may be generated due to noise, etc., hence
causing malfunction. CMOS devices behave differently than Bipolar or NMOS devices. Input levels
of CMOS devices must be fixed high or low by using a pull-up or pull-down circuitry. Each unused
pin should be connected to V
DD
or GND with a resistor, if it is considered to have a possibility of
being an output pin. All handling related to the unused pins must be judged device by device and
related specifications governing the devices.
3
STATUS BEFORE INITIALIZATION OF MOS DEVICES
Note:
Power-on does not necessarily define initial status of MOS device. Production process of MOS
does not define the initial operation status of the device. Immediately after the power source is
turned ON, the devices with reset function have not yet been initialized. Hence, power-on does
not guarantee out-pin levels, I/O settings or contents of registers. Device is not initialized until the
reset signal is received. Reset operation must be executed immediately after power-on for devices
having reset function.
IEBus is a trademark of NEC Corporation.
Windows and WindowsNT are either registered trademarks or trademarks of Microsoft Corporation in the
United States and/or other countries.
PC/AT is a trademark of International Business Machines Corporation.
HP9000 series 700 and HP-UX are trademarks of Hewlett-Packard Company.
SPARCstation is a trademark of SPARC International, Inc.
SunOS and Solaris are trademarks of Sun Microsystems, Inc.
Ethernet is a trademark of Xerox Corporation.
NEWS and NEWS-OS are trademarks of Sony Corporation.
OSF/Motif is a trademark of OpenSoftware Foundation, Inc.
TRON is an abbreviation of The Realtime Operating system Nucleus.
ITRON is an abbreviation of Industrial TRON.
Preliminary User’s Manual U14581EJ3V0UM00
5