NEC 78K0S/KB1+ Manuals

Manuals and User Guides for NEC 78K0S/KB1+. We have 1 NEC 78K0S/KB1+ manual available for free PDF download: User Manual

NEC 78K0S/KB1+ User Manual

NEC 78K0S/KB1+ User Manual (406 pages)

8-bit Single-Chip Microcontrollers  
Brand: NEC | Category: Microcontrollers | Size: 3.97 MB
Table of contents
User's Manual U17446ej3v1ud5................................................................................................................................................................
Table Of Contents8................................................................................................................................................................
Chapter 1 Overview14................................................................................................................................................................
Ordering Information15................................................................................................................................................................
Pin Configuration (top View)16................................................................................................................................................................
K0s/kx1+ Product Lineup17................................................................................................................................................................
Block Diagram18................................................................................................................................................................
Functional Outline19................................................................................................................................................................
Chapter 2 Pin Functions20................................................................................................................................................................
Pin Functions22................................................................................................................................................................
Reset23................................................................................................................................................................
Av Ref24................................................................................................................................................................
Pin I/o Circuits And Connection Of Unused Pins25................................................................................................................................................................
Chapter 3 Cpu Architecture27................................................................................................................................................................
Internal Program Memory Space29................................................................................................................................................................
Special Function Register (sfr) Area30................................................................................................................................................................
Processor Registers32................................................................................................................................................................
General-purpose Registers35................................................................................................................................................................
Special Function Registers (sfrs)36................................................................................................................................................................
Instruction Address Addressing39................................................................................................................................................................
Immediate Addressing40................................................................................................................................................................
Register Addressing41................................................................................................................................................................
Operand Address Addressing42................................................................................................................................................................
Short Direct Addressing43................................................................................................................................................................
Special Function Register (sfr) Addressing44................................................................................................................................................................
Register Indirect Addressing46................................................................................................................................................................
Based Addressing47................................................................................................................................................................
Stack Addressing48................................................................................................................................................................
Chapter 4 Port Functions49................................................................................................................................................................
Port Configuration51................................................................................................................................................................
Port 052................................................................................................................................................................
Port 253................................................................................................................................................................
Port 354................................................................................................................................................................
Port 457................................................................................................................................................................
Port 1260................................................................................................................................................................
Port 1362................................................................................................................................................................
Registers Controlling Port Functions63................................................................................................................................................................
Operation Of Port Function68................................................................................................................................................................
Chapter 5 Clock Generators69................................................................................................................................................................
Configuration Of Clock Generators70................................................................................................................................................................
Registers Controlling Clock Generators72................................................................................................................................................................
System Clock Oscillators75................................................................................................................................................................
External Clock Input Circuit77................................................................................................................................................................
Operation Of Cpu Clock Generator78................................................................................................................................................................
Operation Of Clock Generator Supplying Clock To Peripheral Hardware83................................................................................................................................................................
Chapter 6 16-bit Timer/event Counter 0085................................................................................................................................................................
Configuration Of 16-bit Timer/event Counter 0086................................................................................................................................................................
Registers To Control 16-bit Timer/event Counter 0090................................................................................................................................................................
Operation Of 16-bit Timer/event Counter 0096................................................................................................................................................................
External Event Counter Operation98................................................................................................................................................................
Pulse Width Measurement Operations101................................................................................................................................................................
Square-wave Output Operation109................................................................................................................................................................
Ppg Output Operations111................................................................................................................................................................
One-shot Pulse Output Operation114................................................................................................................................................................
Cautions Related To 16-bit Timer/event Counter 00119................................................................................................................................................................
Chapter 7 8-bit Timer 80126................................................................................................................................................................
Configuration Of 8-bit Timer 80127................................................................................................................................................................
Register Controlling 8-bit Timer 80129................................................................................................................................................................
Operation Of 8-bit Timer 80130................................................................................................................................................................
Notes On 8-bit Timer 80132................................................................................................................................................................
Chapter 8 8-bit Timer H1133................................................................................................................................................................
Registers Controlling 8-bit Timer H1136................................................................................................................................................................
Operation Of 8-bit Timer H1139................................................................................................................................................................
Operation As Pwm Output Mode142................................................................................................................................................................
Chapter 9 Watchdog Timer148................................................................................................................................................................
Configuration Of Watchdog Timer150................................................................................................................................................................
Registers Controlling Watchdog Timer151................................................................................................................................................................
Operation Of Watchdog Timer153................................................................................................................................................................
Watchdog Timer Operation When "low-speed Internal Oscillator Can Be Stopped By Software Is Selected By Option Byte155................................................................................................................................................................
Watchdog Timer Operation In Stop Mode (when "low-speed Internal Oscillator Can Be Stopped By Software" Is Selected By Option Byte)157................................................................................................................................................................
Watchdog Timer Operation In Halt Mode (when "low-speed Internal Oscillator Can Be Stopped By Software" Is Selected By Option Byte)159................................................................................................................................................................
Chapter 10 A/d Converter160................................................................................................................................................................
Configuration Of A/d Converter162................................................................................................................................................................
Registers Used By A/d Converter164................................................................................................................................................................
A/d Converter Operations169................................................................................................................................................................
Input Voltage And Conversion Results171................................................................................................................................................................
A/d Converter Operation Mode172................................................................................................................................................................
How To Read A/d Converter Characteristics Table174................................................................................................................................................................
Cautions For A/d Converter176................................................................................................................................................................
Chapter 11 Serial Interface Uart6179................................................................................................................................................................
Configuration Of Serial Interface Uart6183................................................................................................................................................................
Registers Controlling Serial Interface Uart6186................................................................................................................................................................
Operation Of Serial Interface Uart6195................................................................................................................................................................
Asynchronous Serial Interface (uart) Mode196................................................................................................................................................................
Dedicated Baud Rate Generator210................................................................................................................................................................
Chapter 12 Multiplier217................................................................................................................................................................
Multiplier Control Register219................................................................................................................................................................
Multiplier Operation220................................................................................................................................................................
Chapter 13 Interrupt Functions222................................................................................................................................................................
Interrupt Sources And Configuration223................................................................................................................................................................
Interrupt Function Control Registers225................................................................................................................................................................
Interrupt Servicing Operation230................................................................................................................................................................
Multiple Interrupt Servicing232................................................................................................................................................................
Interrupt Request Pending234................................................................................................................................................................
Chapter 14 Standby Function235................................................................................................................................................................
Registers Used During Standby237................................................................................................................................................................
Standby Function Operation238................................................................................................................................................................
Stop Mode241................................................................................................................................................................
Chapter 15 Reset Function245................................................................................................................................................................
Register For Confirming Reset Source252................................................................................................................................................................
Chapter 16 Power-on-clear Circuit253................................................................................................................................................................
Configuration Of Power-on-clear Circuit254................................................................................................................................................................
Cautions For Power-on-clear Circuit255................................................................................................................................................................
Chapter 17 Low-voltage Detector257................................................................................................................................................................
Registers Controlling Low-voltage Detector258................................................................................................................................................................
Operation Of Low-voltage Detector260................................................................................................................................................................
Cautions For Low-voltage Detector263................................................................................................................................................................
Chapter 18 Option Byte266................................................................................................................................................................
Format Of Option Byte267................................................................................................................................................................
Caution When The Reset Pin Is Used As An Input-only Port Pin (p34)268................................................................................................................................................................
Chapter 19 Flash Memory269................................................................................................................................................................
Memory Configuration270................................................................................................................................................................
Writing With Flash Memory Programmer272................................................................................................................................................................
Programming Environment273................................................................................................................................................................
Pin Connection On Board275................................................................................................................................................................
Reset Pin276................................................................................................................................................................
Port Pins277................................................................................................................................................................
On-board And Off-board Flash Memory Programming278................................................................................................................................................................
Security Settings279................................................................................................................................................................
Flash Memory Programming By Self Writing280................................................................................................................................................................
Cautions On Self Programming Function283................................................................................................................................................................
Example Of Shifting Normal Mode To Self Programming Mode291................................................................................................................................................................
Example Of Shifting Self Programming Mode To Normal Mode294................................................................................................................................................................
Example Of Block Erase Operation In Self Programming Mode297................................................................................................................................................................
Example Of Block Blank Check Operation In Self Programming Mode300................................................................................................................................................................
Example Of Byte Write Operation In Self Programming Mode303................................................................................................................................................................
Examples Of Internal Verify Operation In Self Programming Mode306................................................................................................................................................................
Examples Of Operation When Command Execution Time Should Be Minimized In Self Programming Mode310................................................................................................................................................................
Examples Of Operation When Interrupt-disabled Time Should Be Minimized In Self Programming Mode317................................................................................................................................................................
Chapter 20 Instruction Set Overview328................................................................................................................................................................
Description Of "operation" Column329................................................................................................................................................................
Operation List330................................................................................................................................................................
Instructions Listed By Addressing Type335................................................................................................................................................................
Chapter 21 Electrical Specifications (standard Product, (a) Grade Product)338................................................................................................................................................................
Chapter 22 Electrical Specifications (target Values) ((a2) Grade Product)350................................................................................................................................................................
Chapter 23 Package Drawing364................................................................................................................................................................
Chapter 24 Recommended Soldering Conditions365................................................................................................................................................................
Appendix A Development Tools367................................................................................................................................................................
A.1 Software Package370................................................................................................................................................................
A.3 Control Software371................................................................................................................................................................
A.4 Flash Memory Writing Tools372................................................................................................................................................................
A.5.2 When Using In-circuit Emulator Qb-mini2373................................................................................................................................................................
A.6 Debugging Tools (software)374................................................................................................................................................................
Appendix B Notes On Target System Design375................................................................................................................................................................
Appendix C Register Index377................................................................................................................................................................
C.2 Register Index (symbol)380................................................................................................................................................................
Appendix D List Of Cautions383................................................................................................................................................................
Appendix E Revision History402................................................................................................................................................................
E.2 Revision History Up To Previous Editions404................................................................................................................................................................

Advertisement

Share and save

Advertisement