NEC 78K0S/KA1+ Manuals

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

NEC 78K0S/KA1+ User Manual

NEC 78K0S/KA1+ User Manual (410 pages)

8-Bit Single-Chip Microcontrollers  
Brand: NEC | Category: Microcontrollers | Size: 4.62 MB
Table of contents
Table Of Contents9................................................................................................................................................................
Chapter 1 Overview15................................................................................................................................................................
Ordering Information16................................................................................................................................................................
Pin Configuration (top View)17................................................................................................................................................................
K0s/kx1+ Product Lineup18................................................................................................................................................................
Block Diagram19................................................................................................................................................................
Functional Outline20................................................................................................................................................................
Chapter 2 Pin Functions21................................................................................................................................................................
Pin Functions23................................................................................................................................................................
P40 To P45 (port 4)24................................................................................................................................................................
Av Ref25................................................................................................................................................................
Chapter 3 Cpu Architecture27................................................................................................................................................................
Internal Program Memory Space29................................................................................................................................................................
Special Function Register (sfr) Area30................................................................................................................................................................
Processor Registers32................................................................................................................................................................
General-purpose Registers34................................................................................................................................................................
Special Function Registers (sfrs)35................................................................................................................................................................
Instruction Address Addressing38................................................................................................................................................................
Immediate Addressing39................................................................................................................................................................
Register Addressing40................................................................................................................................................................
Operand Address Addressing41................................................................................................................................................................
Short Direct Addressing42................................................................................................................................................................
Special Function Register (sfr) Addressing43................................................................................................................................................................
Register Indirect Addressing45................................................................................................................................................................
Based Addressing46................................................................................................................................................................
Stack Addressing47................................................................................................................................................................
Chapter 4 Port Functions48................................................................................................................................................................
Port Configuration49................................................................................................................................................................
Port 250................................................................................................................................................................
Port 351................................................................................................................................................................
Port 453................................................................................................................................................................
Port 1258................................................................................................................................................................
Port 1360................................................................................................................................................................
Operation Of Port Function65................................................................................................................................................................
Chapter 5 Clock Generators66................................................................................................................................................................
Configuration Of Clock Generators67................................................................................................................................................................
Registers Controlling Clock Generators69................................................................................................................................................................
System Clock Oscillators72................................................................................................................................................................
External Clock Input Circuit74................................................................................................................................................................
Operation Of Cpu Clock Generator75................................................................................................................................................................
Operation Of Clock Generator Supplying Clock To Peripheral Hardware80................................................................................................................................................................
Chapter 6 16-bit Timer/event Counter 0082................................................................................................................................................................
Configuration Of 16-bit Timer/event Counter 0083................................................................................................................................................................
Registers To Control 16-bit Timer/event Counter 0087................................................................................................................................................................
Operation Of 16-bit Timer/event Counter 0093................................................................................................................................................................
External Event Counter Operation95................................................................................................................................................................
Pulse Width Measurement Operations98................................................................................................................................................................
Square-wave Output Operation106................................................................................................................................................................
Ppg Output Operations108................................................................................................................................................................
One-shot Pulse Output Operation111................................................................................................................................................................
Cautions Related To 16-bit Timer/event Counter 00116................................................................................................................................................................
Chapter 7 8-bit Timer 80122................................................................................................................................................................
Configuration Of 8-bit Timer 80123................................................................................................................................................................
Register Controlling 8-bit Timer 80125................................................................................................................................................................
Operation Of 8-bit Timer 80126................................................................................................................................................................
Notes On 8-bit Timer 80128................................................................................................................................................................
Chapter 8 8-bit Timer H1129................................................................................................................................................................
Registers Controlling 8-bit Timer H1132................................................................................................................................................................
Operation Of 8-bit Timer H1135................................................................................................................................................................
Operation As Pwm Output Mode138................................................................................................................................................................
Chapter 9 Watchdog Timer144................................................................................................................................................................
Configuration Of Watchdog Timer146................................................................................................................................................................
Registers Controlling Watchdog Timer147................................................................................................................................................................
Operation Of Watchdog Timer149................................................................................................................................................................
Watchdog Timer Operation When "low-speed Internal Oscillator Can Be Stopped By Software" Is Selected By Option Byte151................................................................................................................................................................
Watchdog Timer Operation In Stop Mode (when "low-speed Internal Oscillator Can Be Stopped By Software" Is Selected By Option Byte)153................................................................................................................................................................
Watchdog Timer Operation In Halt Mode (when "low-speed Internal Oscillator Can Be Stopped By Software" Is Selected By Option Byte)155................................................................................................................................................................
Chapter 10 A/d Converter156................................................................................................................................................................
Configuration Of A/d Converter158................................................................................................................................................................
Registers Used By A/d Converter160................................................................................................................................................................
A/d Converter Operations165................................................................................................................................................................
Input Voltage And Conversion Results167................................................................................................................................................................
A/d Converter Operation Mode168................................................................................................................................................................
How To Read A/d Converter Characteristics Table170................................................................................................................................................................
Cautions For A/d Converter172................................................................................................................................................................
Chapter 11 Serial Interface Uart6176................................................................................................................................................................
Configuration Of Serial Interface Uart6180................................................................................................................................................................
Registers Controlling Serial Interface Uart6183................................................................................................................................................................
Operation Of Serial Interface Uart6192................................................................................................................................................................
Asynchronous Serial Interface (uart) Mode193................................................................................................................................................................
Dedicated Baud Rate Generator207................................................................................................................................................................
Chapter 12 Interrupt Functions214................................................................................................................................................................
Interrupt Function Control Registers217................................................................................................................................................................
Interrupt Servicing Operation222................................................................................................................................................................
Multiple Interrupt Servicing224................................................................................................................................................................
Interrupt Request Pending226................................................................................................................................................................
Chapter 13 Standby Function227................................................................................................................................................................
Registers Used During Standby229................................................................................................................................................................
Standby Function Operation230................................................................................................................................................................
Stop Mode233................................................................................................................................................................
Chapter 14 Reset Function237................................................................................................................................................................
Register For Confirming Reset Source244................................................................................................................................................................
Chapter 15 Power-on-clear Circuit245................................................................................................................................................................
Configuration Of Power-on-clear Circuit246................................................................................................................................................................
Cautions For Power-on-clear Circuit247................................................................................................................................................................
Chapter 16 Low-voltage Detector249................................................................................................................................................................
Registers Controlling Low-voltage Detector250................................................................................................................................................................
Operation Of Low-voltage Detector252................................................................................................................................................................
Cautions For Low-voltage Detector256................................................................................................................................................................
Chapter 17 Option Byte259................................................................................................................................................................
Format Of Option Byte260................................................................................................................................................................
Chapter 18 Flash Memory262................................................................................................................................................................
Memory Configuration263................................................................................................................................................................
Writing With Flash Programmer265................................................................................................................................................................
Programming Environment266................................................................................................................................................................
Pin Connection On Board268................................................................................................................................................................
Reset Pin269................................................................................................................................................................
Port Pins270................................................................................................................................................................
On-board And Off-board Flash Memory Programming271................................................................................................................................................................
Security Settings272................................................................................................................................................................
Flash Memory Programming By Self Writing273................................................................................................................................................................
Cautions On Self Programming Function276................................................................................................................................................................
Example Of Shifting Normal Mode To Self Programming Mode284................................................................................................................................................................
Example Of Shifting Self Programming Mode To Normal Mode287................................................................................................................................................................
Example Of Block Erase Operation In Self Programming Mode290................................................................................................................................................................
Example Of Block Blank Check Operation In Self Programming Mode293................................................................................................................................................................
Example Of Byte Write Operation In Self Programming Mode296................................................................................................................................................................
Example Of Internal Verify Operation In Self Programming Mode299................................................................................................................................................................
Examples Of Operation When Command Execution Time Should Be Minimized In Self Programming Mode302................................................................................................................................................................
Examples Of Operation When Interrupt-disabled Time Should Be Minimized In Self Programming Mode309................................................................................................................................................................
Chapter 19 Instruction Set Overview320................................................................................................................................................................
Description Of "operation" Column321................................................................................................................................................................
Operation List322................................................................................................................................................................
Instructions Listed By Addressing Type327................................................................................................................................................................
Chapter 20 Electrical Specifications ((t) Product, (s) Product, (r) Product, (a) Product330................................................................................................................................................................
Chapter 21 Electrical Specifications (target Values) ((t2) Product)342................................................................................................................................................................
Chapter 22 Electrical Specifications (target Values) ((a2) Product)356................................................................................................................................................................
Chapter 23 Package Drawing370................................................................................................................................................................
Chapter 24 Package Marking Information371................................................................................................................................................................
Chapter 25 Recommended Soldering Conditions372................................................................................................................................................................
Appendix A Development Tools374................................................................................................................................................................
A.1 Software Package377................................................................................................................................................................
A.3 Control Software378................................................................................................................................................................
A.5 Debugging Tools (hardware)379................................................................................................................................................................
A.6 Debugging Tools (software)380................................................................................................................................................................
Appendix B Notes On Target System Design381................................................................................................................................................................
Appendix C Register Index383................................................................................................................................................................
C.2 Register Index (symbol)385................................................................................................................................................................
Appendix D List Of Cautions387................................................................................................................................................................
E.1 Major Revisions In This Edition404................................................................................................................................................................
E.2 Revision History Up To Previous Editions407................................................................................................................................................................

Advertisement

Share and save

Advertisement