Sign In
Upload
Manuals
Brands
NEC Manuals
Microcontrollers
mPD78F0531
NEC mPD78F0531 Manuals
Manuals and User Guides for NEC mPD78F0531. We have
1
NEC mPD78F0531 manual available for free PDF download: User Manual
NEC mPD78F0531 User Manual (644 pages)
8-Bit Single-Chip Microcontrollers
Brand:
NEC
| Category:
Microcontrollers
| Size: 3.76 MB
Table of Contents
Table of Contents
9
Chapter 1 Outline
17
Features
17
Applications
18
Ordering Information
19
Pin Configuration (Top View)
23
78K0/Kx2 Series Lineup
26
Block Diagram
29
Outline of Functions
30
Chapter 2 Pin Functions
32
Pin Function List
32
Description of Pin Functions
36
P00 to P06 (Port 0)
36
P10 to P17 (Port 1)
37
P20 to P27 (Port 2)
38
P30 to P33 (Port 3)
38
P40 to P43 (Port 4)
39
P50 to P53 (Port 5)
39
P60 to P63 (Port 6)
39
P70 to P77 (Port 7)
39
P120 to P124 (Port 12)
40
P130 (Port 13)
40
P140, P141 (Port 14)
41
Av Ref
41
Av Ss
41
Reset
41
Regc
41
VDD and EV DD
42
VSS and EV SS
42
Flmd0
42
Pin I/O Circuits and Recommended Connection of Unused Pins
43
Chapter 3 Cpu Architecture
47
Memory Space
47
Internal Program Memory Space
56
Memory Bank ( Μ PD78F0536, 78F0537, and 78F0537D Only)
58
Internal Data Memory Space
58
Special Function Register (SFR) Area
59
Data Memory Addressing
59
Processor Registers
67
Control Registers
67
General-Purpose Registers
71
Special Function Registers (Sfrs)
72
Functions of Clock Generator
134
Configuration of Clock Generator
135
Registers Controlling Clock Generator
137
System Clock Oscillator
146
X1 Oscillator
146
XT1 Oscillator
146
When Subsystem Clock Is Not Used
149
Internal High-Speed Oscillator
149
Internal Low-Speed Oscillator
149
Prescaler
149
Clock Generator Operation
150
Controlling Clock
153
Controlling High-Speed System Clock
153
Example of Controlling Internal High-Speed Oscillation Clock
156
Example of Controlling Subsystem Clock
158
Example of Controlling Internal Low-Speed Oscillation Clock
160
Clocks Supplied to CPU and Peripheral Hardware
160
CPU Clock Status Transition Diagram
161
Condition before Changing CPU Clock and Processing after Changing CPU Clock
166
Time Required for Switchover of CPU Clock and Main System Clock
167
Conditions before Clock Oscillation Is Stopped
168
Peripheral Hardware and Source Clocks
169
Chapter 7 16-Bit Timer/Event Counters 00 and 01
170
Functions of 16-Bit Timer/Event Counters 00 and 01
170
Configuration of 16-Bit Timer/Event Counters 00 and 01
171
Registers Controlling 16-Bit Timer/Event Counters 00 and 01
176
Operation of 16-Bit Timer/Event Counters 00 and 01
188
Interval Timer Operation
188
Square Wave Output Operation
191
External Event Counter Operation
194
Operation in Clear & Start Mode Entered by Ti00N Pin Valid Edge Input
197
Free-Running Timer Operation
213
PPG Output Operation
222
One-Shot Pulse Output Operation
225
Pulse Width Measurement Operation
230
Special Use of Tm0N
239
Rewriting Cr01N During Tm0N Operation
239
Setting Lvs0N and Lvr0N
239
Cautions for 16-Bit Timer/Event Counters 00 and 01
241
Chapter 8 8-Bit Timer/Event Counters 50 and 51
245
Functions of 8-Bit Timer/Event Counters 50 and 51
245
Configuration of 8-Bit Timer/Event Counters 50 and 51
245
Registers Controlling 8-Bit Timer/Event Counters 50 and 51
248
Operations of 8-Bit Timer/Event Counters 50 and 51
253
Operation as Interval Timer
253
Operation as External Event Counter
255
Square-Wave Output Operation
256
PWM Output Operation
257
Cautions for 8-Bit Timer/Event Counters 50 and 51
261
Chapter 9 8-Bit Timers H0 and H1
262
Functions of 8-Bit Timers H0 and H1
262
Configuration of 8-Bit Timers H0 and H1
262
Registers Controlling 8-Bit Timers H0 and H1
266
Operation of 8-Bit Timers H0 and H1
271
Operation as Interval Timer/Square-Wave Output
271
Operation as PWM Output
274
Carrier Generator Operation (8-Bit Timer H1 Only)
280
Chapter 10 Watch Timer
287
Functions of Watch Timer
287
Configuration of Watch Timer
288
Register Controlling Watch Timer
289
Watch Timer Operations
291
Watch Timer Operation
291
Interval Timer Operation
291
Cautions for Watch Timer
292
Chapter 11 Watchdog Timer
293
Functions of Watchdog Timer
293
Configuration of Watchdog Timer
294
Register Controlling Watchdog Timer
295
Operation of Watchdog Timer
296
Controlling Operation of Watchdog Timer
296
Setting Overflow Time of Watchdog Timer
297
Setting Window Open Period of Watchdog Timer
298
Chapter 12 Clock Output/Buzzer Output Controller
300
Functions of Clock Output/Buzzer Output Controller
300
Configuration of Clock Output/Buzzer Output Controller
301
Registers Controlling Clock Output/Buzzer Output Controller
301
Operations of Clock Output/Buzzer Output Controller
303
Operation as Clock Output
303
Operation as Buzzer Output
303
Chapter 13 A/D Converter
304
Function of A/D Converter
304
Configuration of A/D Converter
305
Registers Used in A/D Converter
307
A/D Converter Operations
315
Basic Operations of A/D Converter
315
Input Voltage and Conversion Results
317
A/D Converter Operation Mode
318
How to Read A/D Converter Characteristics Table
320
Cautions for A/D Converter
322
Chapter 14 Serial Interface Uart0
326
Functions of Serial Interface UART0
326
Configuration of Serial Interface UART0
327
Registers Controlling Serial Interface UART0
330
Operation of Serial Interface UART0
335
Operation Stop Mode
335
Asynchronous Serial Interface (UART) Mode
336
Dedicated Baud Rate Generator
342
Chapter 15 Serial Interface Uart6
347
Functions of Serial Interface UART6
347
Configuration of Serial Interface UART6
351
Registers Controlling Serial Interface UART6
354
Operation of Serial Interface UART6
363
Operation Stop Mode
363
Asynchronous Serial Interface (UART) Mode
364
Dedicated Baud Rate Generator
377
Chapter 16 Serial Interfaces Csi10 and Csi11
384
Functions of Serial Interfaces CSI10 and CSI11
384
Configuration of Serial Interfaces CSI10 and CSI11
385
Registers Controlling Serial Interfaces CSI10 and CSI11
388
Operation of Serial Interfaces CSI10 and CSI11
393
Operation Stop Mode
393
3-Wire Serial I/O Mode
394
Chapter 17 Serial Interface Iic0
406
Functions of Serial Interface IIC0
406
Configuration of Serial Interface IIC0
409
Registers to Control Serial Interface IIC0
412
I C Bus Mode Functions
425
Pin Configuration
425
I C Bus Definitions and Control Methods
426
Start Conditions
426
Addresses
427
Transfer Direction Specification
427
Acknowledge (ACK)
428
Stop Condition
429
Wait
430
Canceling Wait
432
Interrupt Request (INTIIC0) Generation Timing and Wait Control
432
Address Match Detection Method
433
Error Detection
433
Extension Code
434
Arbitration
435
Wakeup Function
436
Communication Reservation
437
Other Cautions
440
Communication Operations
442
Timing of I 2 C Interrupt Request (INTIIC0) Occurrence
449
Timing Charts
470
Chapter 18 Multiplier/Divider Pd78F0534, 78F0535, 78F0536, 78F0537, and 78F0537D Only)
477
( Μ PD78F0534, 78F0535, 78F0536, 78F0537, and 78F0537D ONLY)
477
Functions of Multiplier/Divider
477
Configuration of Multiplier/Divider
477
Register Controlling Multiplier/Divider
481
Operations of Multiplier/Divider
482
Multiplication Operation
482
Division Operation
484
Chapter 19 Interrupt Functions
486
Interrupt Function Types
486
Interrupt Sources and Configuration
486
Registers Controlling Interrupt Functions
491
Interrupt Servicing Operations
499
Maskable Interrupt Acknowledgement
499
Software Interrupt Request Acknowledgement
501
Multiple Interrupt Servicing
502
Interrupt Request Hold
505
Chapter 20 Key Interrupt Function
506
Functions of Key Interrupt
506
Configuration of Key Interrupt
506
Register Controlling Key Interrupt
507
Chapter 21 Standby Function
508
Standby Function and Configuration
508
Standby Function
508
Registers Controlling Standby Function
508
Standby Function Operation
511
HALT Mode
511
STOP Mode
516
Chapter 22 Reset Function
521
Register for Confirming Reset Source
529
Chapter 23 Power-On-Clear Circuit
530
Functions of Power-On-Clear Circuit
530
Configuration of Power-On-Clear Circuit
531
Operation of Power-On-Clear Circuit
531
Cautions for Power-On-Clear Circuit
534
Chapter 24 Low-Voltage Detector
536
Functions of Low-Voltage Detector
536
Configuration of Low-Voltage Detector
536
Registers Controlling Low-Voltage Detector
537
Operation of Low-Voltage Detector
540
When Used as Reset
541
When Used as Interrupt
546
Cautions for Low-Voltage Detector
551
Chapter 25 Option Byte
554
Functions of Option Bytes
554
Format of Option Byte
555
Chapter 26 Flash Memory
558
Internal Memory Size Switching Register
558
Internal Expansion RAM Size Switching Register
560
Writing with Flash Programmer
561
Programming Environment
564
Communication Mode
564
Handling of Pins on Board
566
FLMD0 Pin
566
Serial Interface Pins
566
RESET Pin
568
Port Pins
568
REGC Pin
568
Other Signal Pins
568
Description of Operation Column
581
Description of Flag Operation Column
581
Operation List
582
Instructions Listed by Addressing Type
590
Chapter 29 Electrical Specifications (Target)
593
Chapter 30 Package Drawings
612
Chapter 31 Cautions for Wait
617
Cautions for Wait
617
Peripheral Hardware that Generates Wait
618
Appendix A Development Tools
619
Software Package
622
Language Processing Software
622
Control Software
623
Flash Memory Writing Tools
623
Debugging Tools (Hardware)
624
When Using In-Circuit Emulator QB-78K0KX2
624
When Using On-Chip Debug Emulator QB-78K0MINI
625
Debugging Tools (Software)
625
Appendix B Notes on Target System Design
626
Appendix C Register Index
628
Register Index (in Alphabetical Order with Respect to Register Names)
628
Register Index (in Alphabetical Order with Respect to Register Symbol)
632
Appendix D Revision History
636
Major Revisions in this Edition
636
Revisions History up to Previous Edition
643
Advertisement
Advertisement
Related Products
NEC mPD78F0532
NEC mPD78F0533
NEC mPD78F0534
NEC mPD78F0535
NEC mPD78F0536
NEC mPD78F0537
NEC mPD78F0537D
NEC mPD78F0124
NEC mPD78F0354
NEC mPD78F0354Y
NEC Categories
Monitor
Projector
Server
Telephone
Computer Hardware
More NEC Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL