UPD78F9177 NEC, UPD78F9177 Datasheet

no-image

UPD78F9177

Manufacturer Part Number
UPD78F9177
Description
8-BIT SINGLE-CHIP MICROCONTROLLER
Manufacturer
NEC
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD78F9177
Manufacturer:
FUJITSU
Quantity:
2 000
Part Number:
UPD78F9177
Manufacturer:
NEC
Quantity:
1 000
Part Number:
UPD78F9177
Manufacturer:
NEC
Quantity:
20 000
Part Number:
UPD78F9177A
Manufacturer:
NEC
Quantity:
20 000
Part Number:
UPD78F9177A
Manufacturer:
NEC
Quantity:
3 511
Part Number:
UPD78F9177AGB-8ES
Manufacturer:
NEC
Quantity:
20 000
Part Number:
UPD78F9177AGB-8ES
Manufacturer:
NEC
Quantity:
17 521
Part Number:
UPD78F9177AGB-8ES-A
Manufacturer:
NEC
Quantity:
8 072
Part Number:
UPD78F9177AGB-8ES-A
Manufacturer:
NEC
Quantity:
13 012
Part Number:
UPD78F9177AY
Manufacturer:
MICROCHIP
Quantity:
6 287
Part Number:
UPD78F9177AY
Manufacturer:
NEC
Quantity:
20 000
Part Number:
UPD78F9177CU
Manufacturer:
ON
Quantity:
3 001
Part Number:
UPD78F9177CU
Manufacturer:
NEC
Quantity:
19 614
Part Number:
UPD78F9177GB-8ES
Manufacturer:
NEC
Quantity:
800
Part Number:
UPD78F9177GB-8ES
Manufacturer:
NEC
Quantity:
20 000
Part Number:
UPD78F9177YGB-8ES
Manufacturer:
NEC
Quantity:
5 600
Document No. U14022EJ1V0DS00 (1st edition)
Date Published August 2000 NS CP(K)
Printed in Japan
Series.
board, this product is ideal for the evolution stages of system development, small-scale production and rapid
development of new products.
designing.
FEATURES
• Pin compatible with mask ROM version (except V
• Flash memory: 24 Kbytes
• High-speed RAM: 512 bytes
• Minimum instruction execution time can be changed from high-speed (0.4 s: @5.0-MHz operation with main
• 10-bit resolution A/D converter: 8 channels
• I/O ports: 31
• Serial interface: 2 channels
• Timers: 6 channels
• On-chip 16-bit multiplier
• Power supply voltage: V
PD78F9177Y replaces the ROM of the PD789176Y and PD789177Y with flash memory.
The PD78F9177 and PD78F9177Y are PD789177, 789177Y Subseries (small, general-purpose) in the 78K/0S
system clock) to ultra-low-speed (122 s: @ 32.768-kHz operation with subsystem clock)
The PD78F9177 replaces the internal ROM of the PD789176 and PD789177 with flash memory, while the
Because flash memory allows the program to be written and erased electrically with the device mounted on the
Detailed function descriptions are provided in the following user’s manuals. Be sure to read them before
PD789167, 789177, 789167Y, 789177Y Subseries User’s Manual: U14186E
3-wire serial I/O mode / UART mode: 1 channel
SMB ( PD78F9177Y only): 1 channel
16-bit timer: 1 channel
8-bit timer/event counter: 2 channels
8-bit timer: 1 channel
Watch timer: 1 channel
Watchdog timer: 1 channel
The information in this document is subject to change without notice. Before using this document, please
confirm that this is the latest version.
Not all devices/types available in every country. Please check with local NEC representative for
availability and additional information.
8-BIT SINGLE-CHIP MICROCONTROLLER
78K/0S Series User's Manual Instruction: U11047E
DD
= 1.8 to 5.5 V
PD78F9177, 78F9177Y
The mark
DATA SHEET
PP
pin)
shows major revised
MOS INTEGRATED CIRCUIT
©
2000

Related parts for UPD78F9177

UPD78F9177 Summary of contents

Page 1

... DD The information in this document is subject to change without notice. Before using this document, please confirm that this is the latest version. Not all devices/types available in every country. Please check with local NEC representative for availability and additional information. Document No. U14022EJ1V0DS00 (1st edition) Date Published August 2000 NS CP(K) ...

Page 2

APPLICATIONS Power windows, battery management unit, side air bags, etc ORDERING INFORMATION (1) PD78F9177 Part Number PD78F9177GB-8ES 44-pin plastic QFP (10 (2) PD78F9177Y Part Number PD78F9177YGB-8ES 44-pin plastic LQFP (10 X 10) PD78F9177YGA-9EU 48-pin plastic TQFP (fine pitch ...

Page 3

SERIES DEVELOPMENT The products in the 78K/0S Series are listed below. The names enclosed in boxes are subseries names. Small, general-purpose 44 pins 42/44 pins 28 pins Small, general-purpose + A/D 44 pins 44 pins 30 pins 30 pins ...

Page 4

The major differences between subseries are shown below. Function ROM Capacity 8-bit Subseries Name Small, PD789046 general- PD789026 4 K-16 K purpose PD789014 2 K Small, PD789177 16 K- general- ...

Page 5

OVERVIEW OF FUNCTIONS Item Internal memory Flash memory High-speed RAM Minimum instruction execution time General-purpose registers Instruction set Multiplier I/O ports A/D converters Serial interfaces Timers Timer output Buzzer output Vectored interrupt Maskable sources Non-maskable Power supply voltage Operating ambient ...

Page 6

... PIN CONFIGURATION (TOP VIEW) ................................................................................................. 2. BLOCK DIAGRAM............................................................................................................................. 10 3. PIN FUNCTIONS................................................................................................................................ 11 3.1 Port Pins .................................................................................................................................................. 3.2 Non-Port Pins.......................................................................................................................................... 3.3 Pin I/O Circuits and Recommended Connection of Unused Pins ...................................................... 4. CPU ARCHITECTURE....................................................................................................................... 15 5. FLASH MEMORY PROGRAMMING ................................................................................................ 16 5.1 Selecting Communication Mode .......................................................................................................... 5.2 Function of Flash Memory Programming ............................................................................................ 5.3 Flashpro III Connection Example ......................................................................................................... 5.4 Example of Settings for Flashpro III (PG-FP3) .................................................................................... ...

Page 7

... P61/ANI1 P62/ANI2 P63/ANI3 P64/ANI4 P65/ANI5 P66/ANI6 P67/ANI7 AV SS P10 10 P11 11 Note The SCL0 and SDA0 pins are available in PD78F9177Y product only. Cautions 1. Connect the Connect the AV 3. Connect the ...

Page 8

... P63/ANI3 P64/ANI4 P65/ANI5 P66/ANI6 P67/ANI7 AV SS P10 P11 IC2 Cautions 1. Connect the Connect the IC0 (Internally Connected) pin directly Leave the IC2 pin open. 4. Connect the AV 5. Connect the ...

Page 9

... REF AV : Analog Ground SS BZO90: Buzzer Output CPT90: Capture Trigger Input Note1 Note2 IC0 ,IC2 : Internally Connected INTP0 to INTP3: Interrupt from Peripherals P00 to P05: Port 0 P10, P11: Port 1 P20 to P26: Port 2 P30 to P33: Port 3 P50 to P53: Port 5 P60 to P67: Port 6 Notes 1. The IC0 pin is available in 48-pin plastic TQFP (fine pitch) only. ...

Page 10

BLOCK DIAGRAM TI80/SS20/P25 8-BIT TIMER/ EVENT COUNTER80 TO80/P26 TI81/INTP0/CPT90/P30 8-BIT TIMER/ TO81/INTP1/P31 EVENT COUNTER81 TO82/INTP3/BZO90/P33 8-BIT TIMER82 CPT90/INTP0/TI81/P30 TO90/INTP2/P32 16-BIT TIMER90 BZO90/INTP3/TO82/P33 WATCH TIMER WATCHDOG TIMER SCK20/ASCK20/P20 SO20/T D20/P21 X SIO20 SI20/R D20/P22 X SS20/TI80/P25 SCL0/P23 Note1 SMB SDA0/P24 ...

Page 11

PIN FUNCTIONS 3.1 Port Pins Pin Name I/O P00 to P05 I/O Port 0 6-bit input/output port Input/output mode can be specified in 1-bit units When used as an input port, an on-chip pull-up resistor can be specified by ...

Page 12

... Ground potential (other than ports) SS1 RESET Input System reset input V Sets flash memory programming mode. Applies high voltage PP when a program is written or verified. Connect directly normal operation mode. SS1 Note2 IC0 Internally connected. Connect this pin directly to the V V pin. ...

Page 13

... Pin I/O Circuits and Recommended Connection of Unused Pins The input/output circuit type of each pin and recommended connection of unused pins is shown in Table 3-1. For the input/output circuit configuration of each type, refer to Figure 3-1. Table 3-1. Type of I/O Circuit for Each Pin and Connection of Unused Pins Pin Name ...

Page 14

Type 2 IN Schmitt-triggered input with hysteresis characteristics Type 5-H Pull-up enable V DD0 Data Output N-ch disable V SS0 Input enable Type 8-C Pull-up enable V DD0 Data Output N-ch disable V SS0 14 Figure 3-1. Pin Input/Output Circuits ...

Page 15

CPU ARCHITECTURE Products in the PD78F9177 and PD78F9177Y can access Kbytes of memory space. Figure 4-1 shows the memory map Special function registers ...

Page 16

... The on-chip program memory in the PD78F9177 and PD78F9177Y is flash memory. The flash memory can be written with the PD78F9177 and PD78F9177Y mounted on the target system (on- board). Connect the dedicated flash programmer (Flashpro III (part number: FL-PR3, PG-FP3)) to the host machine and target system to write the flash memory. ...

Page 17

... Flashpro III Connection Example How the Flashpro III is connected to the PD78F9177 and PD78F9177Y differs depending on the communication mode (3-wired serial I/O, SMB, UART, or pseudo 3-wire mode). Figures 5-2 to 5-5 show the connection in the respective mode. Figure 5-2. Flashpro III Connection in 3-wired Serial I/O Mode Flashpro III ...

Page 18

... Figure 5-3. Flashpro III Connection in SMB Mode Flashpro III V RESET Note Figure 5-4. Flashpro III Connection in UART Mode Flashpro III V RESET Note Figure 5-5. Flashpro III Connection in Pseudo Serial I/O Mode (When Port 0 is Used) Flashpro III V RESET Note Note ...

Page 19

Example of Settings for Flashpro III (PG-FP3) Set as follows when writing to flash memory using the Flashpro III (PG-FP3). <1> Download the parameter file. <2> Select the serial mode and the serial clock using the type command. <3> ...

Page 20

INSTRUCTION SET OVERVIEW This section lists the PD78F9177 and PD78F9177Y instruction set. 6.1 Conventions 6.1.1 Operand identifiers and description methods Operands are described in the “Operand” column of each instruction in accordance with the description method of the instruction ...

Page 21

Descriptions of the operation field A: A register; 8-bit accumulator X: X register B: B register C: C register D: D register E: E register H: H register L: L register AX: AX register pair; 16-bit accumulator BC: BC ...

Page 22

Operations Mnemonic Operand MOV r. #byte saddr, #byte sfr, #byte Note Note saddr saddr sfr sfr !addr16 !addr16, A PSW, #byte A, PSW PSW [DE] [DE], ...

Page 23

Mnemonic Operand Bytes Note XCHW AX, rp ADD A, #byte saddr, #byte saddr A, !addr16 A, [HL] A, [HL + byte] ADDC A, #byte saddr, #byte saddr A, !addr16 A, [HL] A, [HL + ...

Page 24

Mnemonic Operand AND A, #byte saddr, #byte saddr A, !addr16 A, [HL] A, [HL + byte #byte saddr, #byte saddr A, !addr16 A, [HL] A, [HL + byte] XOR A, #byte saddr, ...

Page 25

Mnemonic Operand Bytes INCW rp DECW rp ROR A, 1 ROL A, 1 RORC A, 1 ROLC A, 1 SET1 saddr.bit sfr.bit A.bit PSW.bit [HL].bit CLR1 saddr.bit sfr.bit A.bit PSW.bit [HL].bit SET1 CY CLR1 CY NOT1 CY CALL !addr16 CALLT ...

Page 26

Mnemonic Operand BR !addr16 $addr16 AX BC $addr16 BNC $addr16 BZ $addr16 BNZ $addr16 BT saddr.bit, $saddr16 sfr.bit, $addr16 A.bit, $saddr16 PSW.bit $addr16 BF saddr.bit, $addr16 sfr.bit, $addr16 A.bit, $addr16 PSW.bit, $addr16 DBNZ B, $addr16 C, $addr16 saddr, $addr16 NOP ...

Page 27

ELECTRICAL SPECIFICATIONS Absolute Maximum Ratings ( Parameter Symbol Supply voltage Input voltage Output voltage Output current, high Output current, low Operating ambient temperature Storage temperature Caution Product quality may suffer if the absolute maximum rating ...

Page 28

Main System Clock Oscillator Characteristics (T Resonator Recommended Circuit Ceramic Oscillation frequency ( resonator Oscillation stabilization time C1 C2 Crystal Oscillation frequency ( resonator C1 C2 Oscillation stabilization time X1 input frequency ...

Page 29

Subsystem Clock Oscillator Characteristics (T Resonator Recommended Circuit Oscillation frequency (f Crystal V XT1 XT2 PP R resonator C3 C4 Oscillation stabilization time XT1 input frequency (f External XT2 XT1 clock XT1 input high-/low-level width (t XTH Notes 1. Indicates ...

Page 30

DC Characteristics ( + Parameter Symbol , I Output current OH Per pin high Total for all pins Output current, low I OL Per pin Total for all pins Input voltage, high V P00 ...

Page 31

DC Characteristics ( + Parameter Symbol Note 1 Power supply 5.0-MHz crystal oscillation I DD1 current operating mode ( 22pF) Note 1 5.0-MHz crystal oscillation I DD2 HALT mode (C1 = ...

Page 32

AC Characteristics (1) Basic operation ( + Parameter Symbol Cycle time T Operation based on the CY (minimum instruction main system clock execution time) Operation based on the subsystem clock TI80 and TI81 input ...

Page 33

Serial interface ( + (a) 3-wire serial I/O mode (SCK20...Internal clock) Parameter Symbol SCK20 cycle time 2.7 to 5.5 V KCY1 DD SCK20 high-/low 2.7 ...

Page 34

UART mode (external clock input) Parameter Symbol ASCK20 cycle 2.7 to 5.5 V KCY3 DD time ASCK20 high-/low 2.7 to 5.5 V KH3 KL3 DD level width Transfer rate V = ...

Page 35

Serial interface SMB0 ( + (a) DC Characteristics Parameter Symbol Input voltage, high V SCL0, SDA0 (at hysteresis) IH Input voltage, low V SCL0, SDA0 (at hysteresis) IL Output voltage, V SCL0, SDA0 ...

Page 36

... Cb Notes 1. In the start condition, the first clock pulse is generated after this hold time fill in the underfined area of the SCL0 falling edge necessary for the device to internally provide at least 300 ns of hold time for the SDA0 signal (which the device does not extend the SCL0 signal low hold time (t t needs to be fulfilled ...

Page 37

AC Timing Measurement Points (excluding the X1 and XT1 inputs) 0.8 V 0.2 V Clock Timing X1 input XT1 input TI Timing TI80, TI81 PD78F9177, 78F9177Y DD Point of measurement ...

Page 38

Interrupt Input Timing INTP0-INTP3 RESET Input Timing RESET CPT90 Input Timing CPT90 INTL INTH t RSL t t CPL CPH Data Sheet U14022EJ1V0DS00 PD78F9177, 78F9177Y ...

Page 39

Serial Transfer Timing 3-wire serial I/O mode: SCK20 SI20 SO20 Remark 3-wire serial I/O mode (when using SS20): SS20 SO20 UART mode (external clock input): ASCK20 PD78F9177, 78F9177Y t KCYm t t KLm KHm t t ...

Page 40

SMB mode: t LOW t R SCL0 t HD:DAT t HD:STA SDA0 t BUF Stop condition Start condition HIGH t t SU:STA HD:STA t SU:DAT Restart condition Data Sheet U14022EJ1V0DS00 PD78F9177, 78F9177Y SU:STO ...

Page 41

A/D Converter Characteristics (T Parameter Symbol Resolution Note 4.5 V Overall error 2.7 V 1.8 V Conversion time t 4.5 V CONV 2.7 V 1.8 V Note 4.5 V Zero-scale error 2.7 V 1.8 V Note 4.5 V Full-scale ...

Page 42

FLASH MEMORY WRITE/DELETE CHARACTERISTICS (T Parameter Symbol Write current I When V DDW Note (5.0-MHz crystal oscillation operation mode) (V pin) DD Write current I When V PPW Note (V pin) PP Delete current I When V DDE Note (5.0-MHz ...

Page 43

Data Retention Timing (STOP Mode Release by RESET STOP instruction execution RESET Data Retention Timing (Standby Release Signal: STOP Mode Release by Interrupt Signal STOP instruction execution Standby release signal (interrupt request) PD78F9177, 78F9177Y Internal reset ...

Page 44

CHARACTERISTICS CURVES 10.0 1.0 0.5 0.1 0.05 0.01 0.005 0.001 Main system clock operating mode (PCC1 = 0, CSS0 = 0) Main system clock operating mode (PCC1 = 1, CSS0 = 0) Main system clock ...

Page 45

PACKAGE DRAWING 44 PIN PLASTIC QFP (10x10 NOTE Each lead centerline is located within 0. its true position (T.P.) at maximum material condition ...

Page 46

PLASTIC TQFP (FINE PITCH) (7x7 NOTE Each lead centerline is located within 0. its true position (T.P.) at maximum material condition ...

Page 47

... For the details of the recommended soldering conditions, refer to the document Semiconductor Device Mounting Technology Manual (C10535E). For soldering methods and conditions other than those recommended below, contact your NEC sales representative. Table 10-1. Surface Mounting Type Soldering Conditions (1/2) PD78F9177GB-8ES: 44-pin plastic LQFP (10 ...

Page 48

APPENDIX A. DIFFERENCES BETWEEN PD78F9177, 78F9177Y, AND MASK ROM VERSIONS The PD78F9177 and PD78F9177Y are flash memory version of the Mask ROM version. The differences between the PD78F9177, 78F9177Y and the Mask ROM versions are shown in Table A-1. Table ...

Page 49

... Conversion socket to connect the target system board on which a 44-pin plastic LQFP can be mounted and the NP-44GB Board to connect an in-circuit emulator to the target system. This is used in combination with the TGB-044SAP. Conversion socket to connect the target system board on which a 44-pin plastic LQFP can be mounted and the NP-44GB-TQ Data Sheet U14022EJ1V0DS00 TM ...

Page 50

... Board to connect an in-circuit emulator to the target system. This is used in combination with the TGA-048SDP. Conversion socket to connect the target system board on which a 48-pin plastic TQFP (fine pitch) can be mounted and the NP-48GA System simulator common to 78K/0S Series Integrated debugger common to 78K/0S Series ...

Page 51

APPENDIX C. RELATED DOCUMENTS Documents Related to Devices Document Name PD789166, 167, 176, 177, 166Y, 167Y, 176Y, 177Y, 166(A), 167(A), 176(A), 177(A), 166Y(A), 167Y(A), 176Y(A), 177Y(A) Data Sheet PD78F9177, 78F9177Y Data Sheet PD789167, 789177, 789167Y, 789177Y Subseries User’s Manual 78K/0S ...

Page 52

... SEMICONDUCTOR SELECTION GUIDE Products & Packages (CD-ROM) Semiconductor Device Mounting Technology Manual Quality Grades on NEC Semiconductor Device NEC Semiconductor Device Reliability/Quality Control System Guide to Prevent Damage for Semiconductor Devices by Electrostatic Discharge (ESD) Guide to Microcomputer-Related Products by Third Party Caution The related documents listed above are subject to change without notice. Be sure to use the latest version of each document for designing ...

Page 53

PD78F9177, 78F9177Y Data Sheet U14022EJ1V0DS00 53 ...

Page 54

... HANDLING OF UNUSED INPUT PINS FOR CMOS Note: No connection for CMOS device inputs can be cause of malfunction connection is provided to the input pins possible that an internal input level may be generated due to noise, etc., hence causing malfunction. CMOS devices behave differently than Bipolar or NMOS devices. Input levels of CMOS devices must be fixed high or low by using a pull-up or pull-down circuitry ...

Page 55

... Regional Information Some information contained in this document may vary from country to country. Before using any NEC product in your application, pIease contact the NEC office in your country to obtain a list of authorized representatives and distributors. They will verify: Device availability Ordering information Product release schedule ...

Page 56

... NEC does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from the use of NEC semiconductor products listed in this document or any other liability arising from the use of such products. No license, express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of NEC or others ...

Related keywords