NEC switch Manuals

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

NEC switch User Manual

NEC switch User Manual (234 pages)

NEC User's Manua switch  
Brand: NEC | Category: Network Card | Size: 2.01 MB
Table of contents
Table Of Contents10................................................................................................................................................................
Chapter 1 General21................................................................................................................................................................
Features21................................................................................................................................................................
Applications21................................................................................................................................................................
Ordering Information21................................................................................................................................................................
Pin Configuration (top View)22................................................................................................................................................................
0s Series Lineup23................................................................................................................................................................
Block Diagram26................................................................................................................................................................
Functions27................................................................................................................................................................
Chapter 2 Pin Functions28................................................................................................................................................................
List Of Pin Functions28................................................................................................................................................................
Pin Functions30................................................................................................................................................................
P00 To P07 (port 0)30................................................................................................................................................................
P10 To P17 (port 1)30................................................................................................................................................................
P20 To P26 (port 2)30................................................................................................................................................................
P40 To P47 (port 4)31................................................................................................................................................................
Reset31................................................................................................................................................................
X1, X231................................................................................................................................................................
Regc31................................................................................................................................................................
Usbdm31................................................................................................................................................................
Usbdp31................................................................................................................................................................
Vdd0 , Vdd131................................................................................................................................................................
Vss0 , Vss131................................................................................................................................................................
Vpp ( µ Pd78f9801 Only)32................................................................................................................................................................
Ic (mask Rom Version Only)32................................................................................................................................................................
Pin I/o Circuits And Recommended Connection Of Unused Pins33................................................................................................................................................................
Pin I/o Circuits34................................................................................................................................................................
Chapter 3 Cpu Architecture35................................................................................................................................................................
Memory Space35................................................................................................................................................................
Internal Program Memory Space37................................................................................................................................................................
Internal Data Memory (internal High-speed Ram) Space37................................................................................................................................................................
Special Function Register (sfr) Area37................................................................................................................................................................
Vector Table37................................................................................................................................................................
Data Memory Addressing38................................................................................................................................................................
Processor Registers40................................................................................................................................................................
Control Registers40................................................................................................................................................................
Configuration Of Program Counter40................................................................................................................................................................
Configuration Of Program Status Word40................................................................................................................................................................
Configuration Of Stack Pointer42................................................................................................................................................................
Data To Be Saved To Stack Memory42................................................................................................................................................................
Data To Be Restored From Stack Memory42................................................................................................................................................................
General-purpose Registers43................................................................................................................................................................
Special Function Registers (sfrs)44................................................................................................................................................................
Special Function Register List45................................................................................................................................................................
Instruction Address Addressing48................................................................................................................................................................
Relative Addressing48................................................................................................................................................................
Immediate Addressing49................................................................................................................................................................
Register Addressing50................................................................................................................................................................
Operand Address Addressing51................................................................................................................................................................
Direct Addressing51................................................................................................................................................................
Short Direct Addressing52................................................................................................................................................................
Special Function Register (sfr) Addressing53................................................................................................................................................................
Register Indirect Addressing55................................................................................................................................................................
Based Addressing56................................................................................................................................................................
Stack Addressing56................................................................................................................................................................
Chapter 4 Port Functions57................................................................................................................................................................
Port Functions57................................................................................................................................................................
Port Types57................................................................................................................................................................
Functions Of Ports58................................................................................................................................................................
Port Configuration59................................................................................................................................................................
Configuration Of Port59................................................................................................................................................................
Port 060................................................................................................................................................................
Block Diagram Of P00 To P0760................................................................................................................................................................
Port 161................................................................................................................................................................
Block Diagram Of P10 To P1761................................................................................................................................................................
Port 262................................................................................................................................................................
Block Diagram Of P2062................................................................................................................................................................
Block Diagram Of P2163................................................................................................................................................................
Block Diagram Of P2264................................................................................................................................................................
Block Diagram Of P23 And P2465................................................................................................................................................................
Block Diagram Of P2566................................................................................................................................................................
Block Diagram Of P2667................................................................................................................................................................
Port 468................................................................................................................................................................
Block Diagram Of P40 To P4768................................................................................................................................................................
Registers Controlling Port Function69................................................................................................................................................................
Format Of Port Mode Register69................................................................................................................................................................
Format Of Pull-up Resistor Option Register 070................................................................................................................................................................
Port Mode Register And Output Latch Settings When Using Alternate Functions70................................................................................................................................................................
Format Of Port Output Mode Register 071................................................................................................................................................................
Format Of Port Output Mode Register 171................................................................................................................................................................
Port Function Operation72................................................................................................................................................................
Writing To I/o Port72................................................................................................................................................................
Reading From I/o Port72................................................................................................................................................................
Arithmetic Operation Of I/o Port72................................................................................................................................................................
Chapter 5 Clock Generator73................................................................................................................................................................
Clock Generator Functions73................................................................................................................................................................
Clock Generator Configuration73................................................................................................................................................................
Block Diagram Of Clock Generator73................................................................................................................................................................
Configuration Of Clock Generator73................................................................................................................................................................
Register Controlling Clock Generator74................................................................................................................................................................
Format Of Processor Clock Control Register74................................................................................................................................................................
System Clock Oscillators75................................................................................................................................................................
System Clock Oscillator75................................................................................................................................................................
External Circuit Of System Clock Oscillator75................................................................................................................................................................
Examples Of Incorrect Resonator Connection76................................................................................................................................................................
Frequency Divider77................................................................................................................................................................
Clock Generator Operation77................................................................................................................................................................
Changing Setting Of Cpu Clock78................................................................................................................................................................
Time Required For Switching Cpu Clock78................................................................................................................................................................
Switching Cpu Clock78................................................................................................................................................................
Switching Of Cpu Clock78................................................................................................................................................................
Maximum Time Required For Switching Cpu Clock78................................................................................................................................................................
8-bit Timer/event Counters 00 And 0179................................................................................................................................................................
Functions Of 8-bit Timer/event Counters 00 And 0179................................................................................................................................................................
Interval Time Of 8-bit Timer 0079................................................................................................................................................................
Interval Time Of 8-bit Timer/event Counter 0179................................................................................................................................................................
Configuration Of 8-bit Timer/event Counters 00 And 0180................................................................................................................................................................
Block Diagram Of 8-bit Timer 0080................................................................................................................................................................
Square Wave Output Range Of 8-bit Timer/event Counter 0180................................................................................................................................................................
Block Diagram Of 8-bit Timer/event Counter 0181................................................................................................................................................................
Registers Controlling 8-bit Timer/event Counters 00 And 0182................................................................................................................................................................
Format Of 8-bit Timer Mode Control Register 0082................................................................................................................................................................
Format Of 8-bit Timer Mode Control Register 0183................................................................................................................................................................
Format Of Port Mode Register 284................................................................................................................................................................
Operation Of 8-bit Timer/event Counters 00 And 0185................................................................................................................................................................
Operation As Interval Timer85................................................................................................................................................................
Interval Timer Operation Timing Of 8-bit Timer 0086................................................................................................................................................................
Interval Timer Operation Timing Of 8-bit Timer/event Counter 0186................................................................................................................................................................
Operation As External Event Counter (timer 01 Only)87................................................................................................................................................................
Timing Of External Event Counter Operation (with Rising Edge Specified)87................................................................................................................................................................
Operation As Square-wave Output (timer 01 Only)88................................................................................................................................................................
Square-wave Output Range Of 8-bit Timer/event Counter 0188................................................................................................................................................................
Timing Of Square-wave Output89................................................................................................................................................................
Notes On Using 8-bit Timer/event Counters 00 And 0190................................................................................................................................................................
Start Timing Of 8-bit Timer Counter90................................................................................................................................................................
Timing Of External Event Counter Operation90................................................................................................................................................................
Chapter 7 Watchdog Timer91................................................................................................................................................................
Watchdog Timer Functions91................................................................................................................................................................
Inadvertent Loop Detection Time Of Watchdog Timer91................................................................................................................................................................
Interval Time91................................................................................................................................................................
Watchdog Timer Configuration92................................................................................................................................................................
Block Diagram Of Watchdog Timer92................................................................................................................................................................
Configuration Of Watchdog Timer92................................................................................................................................................................
Registers Controlling Watchdog Timer93................................................................................................................................................................
Format Of Timer Clock Select Register 293................................................................................................................................................................
Format Of Watchdog Timer Mode Register94................................................................................................................................................................
Watchdog Timer Operation95................................................................................................................................................................
Operation As Watchdog Timer95................................................................................................................................................................
Interval Time Of Interval Timer96................................................................................................................................................................
Chapter 8 Usb Function97................................................................................................................................................................
Usb Overview97................................................................................................................................................................
Usb Bus Topology (desktop Type Pc)97................................................................................................................................................................
Usb Function Features98................................................................................................................................................................
Usb Function Configuration98................................................................................................................................................................
Configuration Of Usb Function98................................................................................................................................................................
Block Diagram Of Usb Function99................................................................................................................................................................
Block Diagram Of Usb Timer100................................................................................................................................................................
Configuration Of Receive Token Bank102................................................................................................................................................................
Configuration Of Receive Data Bank103................................................................................................................................................................
Configuration Of Transmit Data Bank 0 (buffer 0)104................................................................................................................................................................
Configuration Of Transmit Data Bank 1 (buffer 1)105................................................................................................................................................................
Configuration Of Tidcmp And Adrcmp107................................................................................................................................................................
Configuration Of Didcmp108................................................................................................................................................................
Registers Controlling Usb Function109................................................................................................................................................................
Format Of Usb Receiver Enable Register109................................................................................................................................................................
Format Of Data/handshake Packet Receive Mode Register110................................................................................................................................................................
Format Of Packet Receive Status Register112................................................................................................................................................................
Format Of Data/handshake Packet Receive Result Store Register113................................................................................................................................................................
Flag Of Rxstat After Reception Of Usb Reset Signal And Resume Signal113................................................................................................................................................................
Format Of Token Packet Receive Result Store Register114................................................................................................................................................................
Format Of Data Packet Transmit Reservation Register115................................................................................................................................................................
Format Of Handshake Packet Transmit Reservation Register116................................................................................................................................................................
Conditions In Transmit Reservation117................................................................................................................................................................
Configuration Of Handshake Packet Transmit Reservation Register119................................................................................................................................................................
Format Of Usb Timer Start Reservation Control Register120................................................................................................................................................................
Format Of Remote Wakeup Control Register121................................................................................................................................................................
Usb Function Operation122................................................................................................................................................................
Usb Timer Operation122................................................................................................................................................................
Flowchart Of Usb Timer Operation123................................................................................................................................................................
Remote Wakeup Control Operation125................................................................................................................................................................
Flow Chart Of Remote Wakeup Control Operation125................................................................................................................................................................
Configuration Of Remote Wakeup Control126................................................................................................................................................................
Interrupt Request From Usb Function127................................................................................................................................................................
Interrupt Sources127................................................................................................................................................................
Timing Of Data/handshake Packet Receive Interrupt Request Generation127................................................................................................................................................................
List Of Sources Of Interrupts From Usb Function127................................................................................................................................................................
Timing Of Intusbre Generation128................................................................................................................................................................
Cautions When Using Interrupts129................................................................................................................................................................
Usb Function Control130................................................................................................................................................................
Relationship Between Packets And Operation Modes130................................................................................................................................................................
Interrupt Servicing Flow136................................................................................................................................................................
Usb Function Internal Circuit Operations140................................................................................................................................................................
Operation Of Transmit/receive Pointer140................................................................................................................................................................
Flowchart Of Transmit/receive Pointer Operation140................................................................................................................................................................
Receive Bank Switching Id Detection Buffer Operation147................................................................................................................................................................
Flowchart Of Receive Bank Switching Id Detection Buffer Operation147................................................................................................................................................................
Sync Detection/usbclk Detector Operation148................................................................................................................................................................
Timing Of Sync Detection/usbclk Detector Operation148................................................................................................................................................................
Timing Of Sync Detection/usbclk Generation Operation148................................................................................................................................................................
Flowchart Of Sync Detection/usbclk Detector Operation149................................................................................................................................................................
Nrzi Encoder Operation150................................................................................................................................................................
Timing Of Nrzi Encoder Operation150................................................................................................................................................................
Flow Chart Of Nrzi Encoder Operation150................................................................................................................................................................
Bit Stuffing/strip Controller Operation151................................................................................................................................................................
Timing Of Bit Stuffing/strip Controller Operation151................................................................................................................................................................
Flow Chart Of Bit Stuffing Control Operation152................................................................................................................................................................
Flow Chart Of Bit Strip Control Operation153................................................................................................................................................................
Serial Interface 10154................................................................................................................................................................
Chapter 9 Serial Interface 10154................................................................................................................................................................
Functions Of Serial Interface 10154................................................................................................................................................................
Configuration Of Serial Interface 10155................................................................................................................................................................
Block Diagram Of Serial Interface 10156................................................................................................................................................................
Register Controlling Serial Interface 10157................................................................................................................................................................
Format Of Serial Operation Mode Register 10157................................................................................................................................................................
Operating Mode Settings Of Serial Interface 10158................................................................................................................................................................
Operation Of Serial Interface 10159................................................................................................................................................................
Operation Stop Mode159................................................................................................................................................................
3-wire Serial I/o Mode160................................................................................................................................................................
Wire Serial I/o Mode Timing161................................................................................................................................................................
Chapter 10 Regulator162................................................................................................................................................................
Block Diagram Of Regulator And Usb Driver/receiver162................................................................................................................................................................
Chapter 11 Interrupt Functions163................................................................................................................................................................
Interrupt Function Types163................................................................................................................................................................
Interrupt Sources And Configuration163................................................................................................................................................................
Interrupt Source List164................................................................................................................................................................
Basic Configuration Of Interrupt Function165................................................................................................................................................................
Registers Controlling Interrupt Function166................................................................................................................................................................
Flags Corresponding To Interrupt Request Signals166................................................................................................................................................................
Format Of Interrupt Request Flag Register167................................................................................................................................................................
Format Of Interrupt Mask Flag Register168................................................................................................................................................................
Format Of External Interrupt Mode Register 0168................................................................................................................................................................
Format Of Key Return Mode Register 00170................................................................................................................................................................
Block Diagram Of Falling Edge Detector170................................................................................................................................................................
Interrupt Servicing Operation171................................................................................................................................................................
Non-maskable Interrupt Acknowledgment Operation171................................................................................................................................................................
Flowchart Of Non-maskable Interrupt Request Acknowledgment172................................................................................................................................................................
Timing Of Non-maskable Interrupt Request Acknowledgment172................................................................................................................................................................
Acknowledging Non-maskable Interrupt Request172................................................................................................................................................................
Maskable Interrupt Acknowledgment Operation173................................................................................................................................................................
Interrupt Acknowledgment Program Algorithm173................................................................................................................................................................
Time From Generation Of Maskable Interrupt Request To Servicing173................................................................................................................................................................
Timing Of Interrupt Request Acknowledgment (example Of Mov A,r)174................................................................................................................................................................
Multiplexed Interrupt Servicing175................................................................................................................................................................
Example Of Multiplexed Interrupt Servicing176................................................................................................................................................................
Interrupt Request Hold177................................................................................................................................................................
Chapter 12 Standby Function178................................................................................................................................................................
Standby Function And Configuration178................................................................................................................................................................
Standby Function178................................................................................................................................................................
Register Controlling Standby Function179................................................................................................................................................................
Format Of Oscillation Stabilization Time Select Register179................................................................................................................................................................
Standby Function Operation180................................................................................................................................................................
Halt Mode180................................................................................................................................................................
Halt Mode Operation Status180................................................................................................................................................................
Releasing Halt Mode By Interrupt181................................................................................................................................................................
Releasing Halt Mode By Reset Input182................................................................................................................................................................
Operation After Release Of Halt Mode182................................................................................................................................................................
Stop Mode183................................................................................................................................................................
Stop Mode Operation Status183................................................................................................................................................................
Releasing Stop Mode By Interrupt184................................................................................................................................................................
Releasing Stop Mode By Reset Input185................................................................................................................................................................
Operation After Release Of Stop Mode185................................................................................................................................................................
Chapter 13 Reset Function186................................................................................................................................................................
Block Diagram Of Reset Function186................................................................................................................................................................
Reset Timing By Reset Input187................................................................................................................................................................
Reset Timing By Overflow In Watchdog Timer187................................................................................................................................................................
Reset Timing By Reset Input In Stop Mode187................................................................................................................................................................
Hardware Status After Reset188................................................................................................................................................................
µ µ µ µ Pd78f9801190................................................................................................................................................................
Chapter 14 µ µ µ µ Pd78f9801190................................................................................................................................................................
Flash Memory Characteristics191................................................................................................................................................................
Programming Environment191................................................................................................................................................................
Environment For Writing Program To Flash Memory191................................................................................................................................................................
Communication Mode192................................................................................................................................................................
Communication Mode Selection Format192................................................................................................................................................................
Communication Mode List192................................................................................................................................................................
Example Of Connection With Dedicated Flash Programmer193................................................................................................................................................................
Pin Connection List194................................................................................................................................................................
On-board Pin Processing195................................................................................................................................................................
Signal Conflict (input Pin Of Serial Interface)196................................................................................................................................................................
Abnormal Operation Of Other Device196................................................................................................................................................................
Signal Conflict (reset Pin)197................................................................................................................................................................
Connection Of Adapter For Flash Writing198................................................................................................................................................................
Wiring Example For Flash Writing Adapter With 3-wire Serial I/o198................................................................................................................................................................
Wiring Example For Flash Writing Adapter With Pseudo-3-wire Method199................................................................................................................................................................
Chapter 15 Instruction Set200................................................................................................................................................................
Operation200................................................................................................................................................................
Operand Identifiers And Description Methods200................................................................................................................................................................
Description Of "operation" Column201................................................................................................................................................................
Description Of "flag Operation" Column201................................................................................................................................................................
Operation List202................................................................................................................................................................
Instructions Listed By Addressing Type207................................................................................................................................................................
Chapter 16 Electrical Specifications210................................................................................................................................................................
Chapter 17 Package Drawings219................................................................................................................................................................
Chapter 18 Recommended Soldering Conditions220................................................................................................................................................................
Surface Mounting Type Soldering Conditions220................................................................................................................................................................
Appendix Adevelopment Tools221................................................................................................................................................................
A-1 Development Tools222................................................................................................................................................................
Software Package223................................................................................................................................................................
A.1 Software Package223................................................................................................................................................................
Language Processing Software223................................................................................................................................................................
Control Software224................................................................................................................................................................
A.3 Control Software224................................................................................................................................................................
Flash Memory Writing Tools224................................................................................................................................................................
Debugging Tools (hardware)225................................................................................................................................................................
Debugging Tools (software)226................................................................................................................................................................
Notes On Target System Design227................................................................................................................................................................
A-2 Distance Between In-circuit Emulator And Conversion Adapter227................................................................................................................................................................
A-3 Connection Condition Of Target System (np-h44gb-tq)228................................................................................................................................................................
Appendix Bregister Index229................................................................................................................................................................
B.1 Register Index (alphabetic Order Of Register Name)229................................................................................................................................................................
B.2 Register Index (alphabetic Order Of Register Symbol)231................................................................................................................................................................
Appendix C Revision History233................................................................................................................................................................

Advertisement

Share and save

Advertisement