NEC ?PD70F3302 Manuals

Manuals and User Guides for NEC ?PD70F3302. We have 1 NEC ?PD70F3302 manual available for free PDF download: User Manual

NEC ?PD70F3302 User Manual

NEC ?PD70F3302 User Manual (709 pages)

32-bit Single-Chip Microcontrollers  
Brand: NEC | Category: Microcontrollers | Size: 4.03 MB
Table of contents
Table Of Contents8................................................................................................................................................................
Chapter 1 Introduction17................................................................................................................................................................
K0/kx1+, 78k0/kx1 Products Lineup20................................................................................................................................................................
Features23................................................................................................................................................................
Applications24................................................................................................................................................................
Pin Configuration (top View)25................................................................................................................................................................
Function Block Configuration27................................................................................................................................................................
Overview Of Functions31................................................................................................................................................................
Chapter 2 Pin Functions32................................................................................................................................................................
Pin I/o Circuits And Recommended Connection Of Unused Pins36................................................................................................................................................................
Pin I/o Circuits38................................................................................................................................................................
Chapter 3 Cpu Functions40................................................................................................................................................................
Cpu Register Set41................................................................................................................................................................
Program Register Set42................................................................................................................................................................
System Register Set43................................................................................................................................................................
Operating Modes49................................................................................................................................................................
Address Space50................................................................................................................................................................
Wraparound Of Cpu Address Space51................................................................................................................................................................
Memory Map52................................................................................................................................................................
Areas54................................................................................................................................................................
Recommended Use Of Address Space56................................................................................................................................................................
Peripheral I/o Registers58................................................................................................................................................................
Special Registers65................................................................................................................................................................
Cautions68................................................................................................................................................................
Chapter 4 Port Functions71................................................................................................................................................................
Port Configuration72................................................................................................................................................................
Port 078................................................................................................................................................................
Port 380................................................................................................................................................................
Port 485................................................................................................................................................................
Port 587................................................................................................................................................................
Port 790................................................................................................................................................................
Port 991................................................................................................................................................................
Port Cm97................................................................................................................................................................
Port Dl99................................................................................................................................................................
Block Diagrams101................................................................................................................................................................
Port Register Setting When Alternate Function Is Used119................................................................................................................................................................
Hysteresis Characteristics124................................................................................................................................................................
Chapter 5 Clock Generation Function125................................................................................................................................................................
Configuration126................................................................................................................................................................
Registers128................................................................................................................................................................
Operation133................................................................................................................................................................
Pll Function134................................................................................................................................................................
Usage135................................................................................................................................................................
Chapter 6 16-bit Timer/event Counter P (tmp)136................................................................................................................................................................
Timer Output Operations220................................................................................................................................................................
Eliminating Noise On Capture Trigger Input Pin (tip0a)221................................................................................................................................................................
Chapter 7 16-bit Timer/event Counter 0224................................................................................................................................................................
Square Wave Output Operation241................................................................................................................................................................
External Event Counter Operation244................................................................................................................................................................
Operation In Clear & Start Mode Entered By Ti010 Pin Valid Edge Input247................................................................................................................................................................
Free-running Timer Operation262................................................................................................................................................................
Ppg Output Operation271................................................................................................................................................................
One-shot Pulse Output Operation274................................................................................................................................................................
Pulse Width Measurement Operation279................................................................................................................................................................
Special Use Of Tm01287................................................................................................................................................................
Chapter 8 8-bit Timer/event Counter 5293................................................................................................................................................................
Operation As External Event Counter302................................................................................................................................................................
Square-wave Output Operation303................................................................................................................................................................
Bit Pwm Output Operation305................................................................................................................................................................
Operation As Interval Timer (16 Bits)308................................................................................................................................................................
Operation As External Event Counter (16 Bits)310................................................................................................................................................................
Square-wave Output Operation (16-bit Resolution)311................................................................................................................................................................
Chapter 9 8-bit Timer H313................................................................................................................................................................
Pwm Output Mode Operation323................................................................................................................................................................
Carrier Generator Mode Operation329................................................................................................................................................................
Chapter 10 Interval Timer, Watch Timer336................................................................................................................................................................
Watch Timer341................................................................................................................................................................
Register342................................................................................................................................................................
Chapter 11 Watchdog Timer Functions347................................................................................................................................................................
Watchdog Timer 2353................................................................................................................................................................
Function357................................................................................................................................................................
Security Function363................................................................................................................................................................
Overview365................................................................................................................................................................
Trigger Modes378................................................................................................................................................................
Operation Modes379................................................................................................................................................................
Power Fail Detection Function382................................................................................................................................................................
Setting Method383................................................................................................................................................................
How To Read A/d Converter Characteristics Table391................................................................................................................................................................
Interrupt Request Signals407................................................................................................................................................................
Transmit Operation409................................................................................................................................................................
Continuous Transmission Operation411................................................................................................................................................................
Receive Operation415................................................................................................................................................................
Reception Error417................................................................................................................................................................
Parity Types And Corresponding Operation418................................................................................................................................................................
Receive Data Noise Filter419................................................................................................................................................................
Sbf Transmission/reception (uart0 Only)420................................................................................................................................................................
Dedicated Baud Rate Generator N (brgn)424................................................................................................................................................................
Serial Clock Generation425................................................................................................................................................................
Baud Rate Setting Example428................................................................................................................................................................
Allowable Baud Rate Range During Reception429................................................................................................................................................................
Transfer Rate During Continuous Transmission431................................................................................................................................................................
Chapter 15 Clocked Serial Interface 0 (csi0)432................................................................................................................................................................
Single Transfer Mode447................................................................................................................................................................
Continuous Transfer Mode450................................................................................................................................................................
Output Pins458................................................................................................................................................................
Functions477................................................................................................................................................................
Start Condition478................................................................................................................................................................
Addresses479................................................................................................................................................................
Stop Condition481................................................................................................................................................................
Wait State482................................................................................................................................................................
Master Device Operation486................................................................................................................................................................
Slave Device Operation (when Receiving Slave Address (match With Address))489................................................................................................................................................................
Slave Device Operation (when Receiving Extension Code)493................................................................................................................................................................
Operation Without Communication497................................................................................................................................................................
Operation When Arbitration Loss Occurs (no Communication After Arbitration Loss)499................................................................................................................................................................
Interrupt Request Signal (intiic0) Generation Timing And Wait Control506................................................................................................................................................................
Address Match Detection Method507................................................................................................................................................................
Extension Code508................................................................................................................................................................
Arbitration509................................................................................................................................................................
Wakeup Function510................................................................................................................................................................
Communication Reservation511................................................................................................................................................................
When Communication Reservation Function Is Disabled (iicf0.iicrsv0 Bit514................................................................................................................................................................
Communication Operations516................................................................................................................................................................
Master Operation In Single Master System517................................................................................................................................................................
Master Operation In Multimaster System518................................................................................................................................................................
Slave Operation521................................................................................................................................................................
Timing Of Data Communication524................................................................................................................................................................
Chapter 17 Interrupt/exception Processing Function531................................................................................................................................................................
Non-maskable Interrupts534................................................................................................................................................................
Restore538................................................................................................................................................................
Np Flag539................................................................................................................................................................
Maskable Interrupts540................................................................................................................................................................
Priorities Of Maskable Interrupts543................................................................................................................................................................
Interrupt Control Register (xxlcn)547................................................................................................................................................................
Interrupt Mask Registers 0, 1, 3 (imr0, Imr1, Imr3)549................................................................................................................................................................
In-service Priority Register (ispr)550................................................................................................................................................................
Id Flag551................................................................................................................................................................
Watchdog Timer Mode Register 1 (wdtm1)552................................................................................................................................................................
External Interrupt Request Input Pins (nmi, Intp0 To Intp7)553................................................................................................................................................................
Edge Detection555................................................................................................................................................................
Software Exceptions559................................................................................................................................................................
Ep Flag561................................................................................................................................................................
Exception Trap562................................................................................................................................................................
Debug Trap564................................................................................................................................................................
Multiple Interrupt Servicing Control566................................................................................................................................................................
Interrupt Response Time568................................................................................................................................................................
Periods In Which Interrupts Are Not Acknowledged By Cpu569................................................................................................................................................................
Chapter 18 Key Interrupt Function570................................................................................................................................................................
Chapter 19 Standby Function572................................................................................................................................................................
Halt Mode578................................................................................................................................................................
Idle Mode580................................................................................................................................................................
Stop Mode582................................................................................................................................................................
Securing Oscillation Stabilization Time When Stop Mode Is Released584................................................................................................................................................................
Subclock Operation Mode585................................................................................................................................................................
Sub-idle Mode587................................................................................................................................................................
Chapter 20 Reset Function589................................................................................................................................................................
Register To Check Reset Source590................................................................................................................................................................
Reset Sources591................................................................................................................................................................
Reset Operation By Wdtres1 Signal595................................................................................................................................................................
Reset Operation By Wdtres2 Signal596................................................................................................................................................................
Power-on-clear Reset Operation597................................................................................................................................................................
Reset Operation By Low-voltage Detector600................................................................................................................................................................
Reset Operation By Clock Monitor601................................................................................................................................................................
Reset Output Function602................................................................................................................................................................
Chapter 21 Clock Monitor603................................................................................................................................................................
Internal Oscillation Clock Operation Mode608................................................................................................................................................................
Internal Oscillation Halt Mode611................................................................................................................................................................
Chapter 22 Low-voltage Detector613................................................................................................................................................................
Chapter 23 Power-on-clear Circuit618................................................................................................................................................................
Chapter 24 Rom Correction Function620................................................................................................................................................................
Control Registers621................................................................................................................................................................
Correction Control Register (corcn)622................................................................................................................................................................
Chapter 25 Mask Option/option Byte624................................................................................................................................................................
Option Byte (flash Memory Versions)625................................................................................................................................................................
Chapter 26 Flash Memory626................................................................................................................................................................
Memory Configuration627................................................................................................................................................................
Functional Outline628................................................................................................................................................................
Rewriting By Dedicated Flash Programmer632................................................................................................................................................................
Communication Mode633................................................................................................................................................................
Flash Memory Control638................................................................................................................................................................
Selection Of Communication Mode639................................................................................................................................................................
Communication Commands640................................................................................................................................................................
Pin Connection641................................................................................................................................................................
Rewriting By Self Programming646................................................................................................................................................................
Standard Self Programming Flow648................................................................................................................................................................
Flash Functions649................................................................................................................................................................
Internal Resources Used650................................................................................................................................................................
Rom Security Function651................................................................................................................................................................
Setting652................................................................................................................................................................
Chapter 28 Electrical Specifications654................................................................................................................................................................
Chapter 29 Package Drawings676................................................................................................................................................................
Appendix A Development Tools680................................................................................................................................................................
A.1 Software Package683................................................................................................................................................................
A.4 Debugging Tools (hardware)684................................................................................................................................................................
A.5 Debugging Tools (software)688................................................................................................................................................................
A.6 Embedded Software689................................................................................................................................................................
Appendix B Instruction Set List690................................................................................................................................................................
B.2 Instruction Set (in Alphabetical Order)693................................................................................................................................................................
Appendix C Register Index700................................................................................................................................................................
D.1 Major Revisions In This Edition706................................................................................................................................................................

Advertisement

Share and save

Advertisement