To our customers, Old Company Name in Catalogs and Other Documents On April 1st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over all the business of both companies. Therefore, although the old company name remains in this document, it is a valid Renesas Electronics document. We appreciate your understanding. Renesas Electronics website: http://www.renesas.
Notice 1. 2. 3. 4. 5. 6. 7. All information included in this document is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please confirm the latest product information with a Renesas Electronics sales office.
To all our customers Regarding the change of names mentioned in the document, such as Mitsubishi Electric and Mitsubishi XX, to Renesas Technology Corp. The semiconductor operations of Hitachi and Mitsubishi Electric were transferred to Renesas Technology Corporation on April 1st 2003. These operations include microcomputer, logic, analog and discrete devices, and memory chips other than DRAMs (flash memory, SRAMs etc.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER • LCD drive control circuit DESCRIPTION The 3820 group is the 8-bit microcomputer based on the 740 family core technology. The 3820 group has the LCD drive control circuit and the serial I/ O as additional functions. The various microcomputers in the 3820 group include variations of internal memory size and packaging. For details, refer to the section on part numbering.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER P32/SEG18 P33/SEG19 P34/SEG20 P35/SEG21 P36/SEG22 P37/SEG23 P00/SEG24 P01/SEG25 P02/SEG26 P03/SEG27 P04/SEG28 P05/SEG29 P06/SEG30 P07/SEG31 P10/SEG32 P11/SEG33 P12/SEG34 P13/SEG35 P14/SEG36 P15/SEG37 PIN CONFIGURATION (TOP VIEW) 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 P31/SEG17 P30/SEG16 SEG15 SEG14 SEG13 SEG12 SEG11 SEG10 SEG9 SEG8 VCC SEG7 SEG6 SEG5 SEG4 SEG3 SEG2 SEG1 SEG0 COM3 61 40 62 39 63 38 64
9 10 I/O port P6 P6(2) 28 29 P7(2) I/O port P7 XCOUT XCIN XCOUT Subclock output Watchdog timer XCIN Subclock input RESET φ Clock generating circuit 31 29 INT2 30 28 I/O port P5 11 12 13 14 15 16 17 18 P5(8) PS PCL S Y X A P4(8) I/O port P4 19 20 21 22 23 24 25 26 RTP0,RTP1 SI/O2(8) TOUT CNTR0,CNTR1 PCH CPU 1 27 Reset input RESET P3(8) Input port P3 P2(8) LCD display RAM (20 bytes) RAM I/O port P2 33 34 35 36 37 38 39 40 Timer 3(8) Timer 2(8) Timer Y(16) Timer X(
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER PIN DESCRIPTION Pin VCC Name Function Function except a port function Power source • Apply voltage of 2.5 V to 5.5 V to V CC, and 0 V to VSS. (Extended operating temperature version : 3.0 V to 5.5 V) RESET Reset input • Reset input pin for active “L” XIN Clock input XOUT Clock output • Input and output pins for the main clock generating circuit. • Feedback resistor is built in between X IN pin and XOUT pin.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER PIN DESCRIPTION Pin Name Function Function except a port function P50 /SIN2, P51 /SOUT2, P52 /SCLK2 , P53/SRDY2 I/O port P5 P54 /CNTR0 , P55 /CNTR1 • • • • 8-bit I/O port CMOS compatible input level CMOS 3-state output structure I/O direction register allows each pin to be individually programmed as either input or output. • Pull-up control is enabled.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER PART NUMBERING Product M3820 3 M 4 - XXX FP Package type FP : 80P6N-A package GP : 80P6S-A package HP : 80P6D-A package FS : 80D0 package ROM number Omitted in some types.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER GROUP EXPANSION (3) Packages 80P6N-A ............................. 0.8 mm-pitch plastic molded QFP 80P6S-A ........................... 0.65 mm-pitch plastic molded QFP 80P6D-A ............................. 0.5 mm-pitch plastic molded QFP 80D0 ................ 0.8 mm-pitch ceramic LCC (EPROM version) Mitsubishi plans to expand the 3820 group as follows: (1) Support for mask ROM, One Time PROM, and EPROM versions (2) ROM/PROM size .
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER GROUP EXPANSION (EXTENDED OPERATING TEMPERATURE VERSION) (2) ROM size ................................................... 16 K to 32 K bytes RAM size ..................................................... 512 to 1024 bytes (3) Packages 80P6N-A ............................. 0.8 mm-pitch plastic molded QFP 80P6S-A ............................0.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER GROUP EXPANSION (LOW POWER SOURCE VOLTAGE VERSION) Mitsubishi plans to expand the 3820 group (low power source voltage version) as follows: (1) Support for mask ROM version (2) ROM size ...................................................... 8 K to 32 K bytes RAM size .................................................................. 512 bytes (3) Packages 80P6N-A ............................. 0.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER FUNCTIONAL DESCRIPTION Central Processing Unit (CPU) The 3820 group uses the standard 740 family instruction set. Refer to the table of 740 family addressing modes and machine instructions or the SERIES 740 User’s Manual for details on the instruction set. Machine-resident 740 family instructions are as follows: The FST and SLW instruction cannot be used. The STP, WIT, MUL, and DIV instruction can be used.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER MEMORY Special Function Register (SFR) Area The Special Function Register area in the zero page contains control registers such as I/O ports and timers. RAM RAM is used for data storage and for stack area of subroutine calls and interrupts. Zero Page The 256 bytes from addresses 000016 to 00FF16 are called the zero page area. The internal RAM and the special function registers (SFR) are allocated to this area.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER 000016 Port P0 (P0) 002016 Timer X (low-order) (TXL) 000116 Port P0 direction register (P0D) 002116 Timer X (high-order) (TXH) 000216 Port P1 (P1) 002216 Timer Y (low-order) (TYL) 000316 Port P1 direction register (P1D) 002316 Timer Y (high-order) (TYH) 000416 Port P2 (P2) 002416 Timer 1 (T1) 000516 Port P2 direction register (P2D) 002516 Timer 2 (T2) 000616 Port P3 (P3) 002616 Timer 3 (T3) 002716 Timer
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER I/O PORTS Direction Registers (ports P2, P41–P4 7, and P5–P7) The 3820 group has 43 programmable I/O pins arranged in seven I/O ports (ports P0–P2 and P4–P7). The I/O ports P2, P41–P4 7, and P5–P7 have direction registers which determine the input/output direction of each individual pin. Each bit in a direction register corresponds to one pin, each pin can be set to be input port or output port.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Pin Name Input/Output P00 /SEG24 – P07 /SEG31 Port P0 Input/output, individual ports P10 /SEG32 – P17 /SEG39 Port P1 Input/output, individual ports P20 – P27 Port P2 Input/output, individual bits P30 /SEG16 – P37 /SEG23 Port P3 Input CMOS compatible input level Input CMOS compatible input level P40 I/O Format CMOS compatible input level CMOS 3-state output CMOS compatible input level CMOS 3-state output CMOS compa
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (1)Ports P0,P1 (2)Ports P2,P42,P43,P57 VL2/VL3 Pull-up control VL1/VSS Segment output enable bit (Note) Direction register Direction register Data bus Data bus Port latch Port latch Key input (Key-on wake up) interrupt input INT0–INT2 interrupt input Pull-down control Segment output enable bit Note. Bit 0 of port P0 direction register and port P1 direction register.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (9) Port P47 (10) Ports P50,P55 Serial I/O1 mode selection bit Pull-up control Pull-up control Serial I/O1 enable bit SRDY1 output enable bit Direction register Direction register Data bus Data bus Port latch Port latch Serial I/O2 input CNTR1 interrupt input Serial I/O1 ready output (11) Port P51 (12) Port P52 Pull-up control Serial I/O2 transmit completion signal Internal synchronization clock select bits Serial I/
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (17) Port P70 (18) Port P71 Port selection/Pull-up control Data bus Port selection/Pull-up control Port XC switch bit Port XC switch bit Direction register Direction register Port latch Port latch Data bus Oscillation circuit Sub-clock generating circuit input Port P71 Port XC switch bit (19) COM0 –COM3 (20) SEG0 – SEG15 VL2/VL3 The voltage applied to the sources of P-channel and N-channel transistors is the controlled
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER INTERRUPTS Interrupt Operation Interrupts occur by sixteen sources: seven external, eight internal, and one software. When an interrupt is received, the contents of the program counter and processor status register are automatically stored into the stack. The interrupt disable flag is set to inhibit other interrupts from interfering.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Interrupt request bit Interrupt enable bit Interrupt disable flag (I) Interrupt request BRK instruction Reset Fig.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Key Input Interrupt (Key-on Wake Up) A key input interrupt request is generated by applying “L” level to any pin of port P3 that have been set to input mode. In other words, it is generated when AND of input level goes from “1” to “0”.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER TIMERS Read and write operation on 16-bit timer must be performed for both high and low-order bytes. When reading a 16-bit timer, read the high-order byte first. When writing to a 16-bit timer, write the low-order byte first. The 16-bit timer cannot perform the correct operation when reading during the write operation, or when writing during the read operation.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Timer X Timer X is a 16-bit timer that can be selected in one of four modes and can be controlled the timer X write and the real time port by setting the timer X mode register. Timer mode The timer counts f(XIN)/16 (or f(X CIN)/16 in low-speed mode). Pulse output mode Each time the timer underflows, a signal output from the CNTR 0 pin is inverted. Except for this, the operation in pulse output mode is the same as in timer mode.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Timer Y Timer Y is a 16-bit timer that can be selected in one of four modes. Timer mode The timer counts f(XIN)/16 (or f(XCIN )/16 in low-speed mode). Period measurement mode CNTR1 interrupt request is generated at rising/falling edge of CNTR1 pin input signal. Simultaneously, the value in timer Y latch is reloaded in timer Y and timer Y continues counting down.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Timer 1, Timer 2, Timer 3 Timer 1, timer 2, and timer 3 are 8-bit timers. The count source for each timer can be selected by timer 123 mode register. The timer latch value is not affected by a change of the count source. However, because changing the count source may cause an inadvertent count down of the timer. Therefore, rewrite the value of timer whenever the count source is changed.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER SERIAL I/O1 Clock Synchronous Serial I/O1 Mode Serial I/O1 can be used as either clock synchronous or asynchronous (UART) serial I/O1. A dedicated timer (baud rate generator) is also provided for baud rate generation. Clock synchronous serial I/O1 mode can be selected by setting the mode selection bit of the serial I/O1 control register to “1”.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ter, but the two buffers have the same address in memory. Since the shift register cannot be written to or read from directly, transmit data is written to the transmit buffer register, and receive data is read from the receive buffer register. The transmit buffer register can also hold the next data to be transmitted, and the receive buffer register can hold a character while the next character is being received.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Serial I/O1 Control Register (SIO1CON) 001A16 The serial I/O1 control register contains eight control bits for the serial I/O1 function. UART Control Register (UARTCON) 001B16 The UART control register consists of four control bits (bits 0 to 3) which are valid when asynchronous serial I/O is selected and set the data format of an data transfer.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER 7 0 Serial I/O1 status register (SIO1STS : address 0019 16) Transmit buffer empty flag (TBE) 0: Buffer full 1: Buffer empty Receive buffer full flag (RBF) 0: Buffer empty 1: Buffer full Transmit shift register shift completion flag (TSC) 0: Transmit shift in progress 1: Transmit shift completed Overrun error flag (OE) 0: No error 1: Overrun error Parity error flag (PE) 0: No error 1: Parity error Framing error flag (FE) 0: No erro
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER SERIAL I/O2 b7 b0 The serial I/O2 function can be used only for clock synchronous serial I/O. For clock synchronous serial I/O2 the transmitter and the receiver must use the same clock. If the internal clock is used, transfer is started by a write signal to the serial I/O2 register.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Transfer clock (Note 1) Serial I/O2 register write signal (Note 2) Serial I/O2 output S OUT2 D0 D1 D2 D3 D4 D5 D6 D7 Serial I/O2 input S IN2 Receive enable signal S RDY2 Serial I/O2 interrupt request bit set Notes 1: When the internal clock is selected as the transfer clock, the divide ratio can be selected by setting bits 0 to 2 of the serial I/O2 control register.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER the segment output enable register and the LCD display RAM, the LCD drive control circuit starts reading the display data automatically, performs the bias control and the duty ratio control, and displays the data on the LCD panel. LCD DRIVE CONTROL CIRCUIT The 3820 group has the built-in Liquid Crystal Display (LCD) drive control circuit consisting of the following.
Fig.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Bias Control and Applied Voltage to LCD Power Input Pins To the LCD power input pins (VL1 –VL3 ), apply the voltage shown in Table 3 according to the bias value. Select a bias value by the bias control bit (bit 2 of the LCD mode register). Table 3. Bias control and applied voltage to VL1–VL3 Bias value 1/3 bias 1/2 bias Common Pin and Duty Ratio Control The common pins (COM 0–COM 3 ) to be used are determined by duty ratio.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER LCD Display RAM LCD Drive Timing Address 004016 to 005316 is the designated RAM for the LCD display. When “1” are written to these addresses, the corresponding segments of the LCD display panel are turned on.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Internal logic LCDCK timing 1/4 duty Voltage level VL3 VL2=VL1 VSS COM0 COM1 COM2 COM3 VL3 VSS SEG0 OFF COM3 ON COM2 COM1 OFF COM0 COM3 ON COM2 COM1 COM0 1/3 duty VL3 VL2=VL1 VSS COM0 COM1 COM2 VL3 VSS SEG0 ON OFF COM0 COM2 ON COM1 OFF COM0 COM2 ON COM1 OFF COM0 COM2 1/2 duty VL3 VL2=VL1 VSS COM0 COM1 VL3 VSS SEG0 ON OFF ON OFF ON OFF ON OFF COM1 COM0 COM1 COM0 COM1 COM0 COM1 COM0 Fi
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Internal logic LCDCK timing 1/4 duty Voltage level VL3 VL2 VL1 VSS COM0 COM1 COM2 COM3 VL3 SEG0 VSS OFF COM3 ON COM2 COM1 OFF COM0 COM3 ON COM2 COM1 COM0 1/3 duty VL3 VL2 VL1 VSS COM0 COM1 COM2 VL3 SEG0 VSS ON OFF COM0 COM2 ON COM1 OFF COM0 COM2 ON COM1 OFF COM0 COM2 1/2 duty VL3 VL2 VL1 VSS COM0 COM1 VL3 SEG0 VSS ON OFF ON OFF ON OFF ON OFF COM1 COM0 COM1 COM0 COM1 COM0 COM1 COM0
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER WATCHDOG TIMER Then the program executes from the reset vector address. Usually, a program is designed so that data can be written into the watchdog timer control register before the watchdog timer H underflows. If data is not written once into the watchdog timer control register, the watchdog timer does not function. At execution of the STP instruction, both clock and watchdog timer stops.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER φ CLOCK OUTPUT FUNCTION The internal system clock φ can be output from port P4 1 by setting the φ output control register. Set bit 1 of the port P4 direction register to when outputting φ clock. 7 0 φ output control register (CKOUT : address 002A 16) φ output control bit 0 : Port function 1 : φ clock output Not used (return “0” when read) Fig.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER RESET CIRCUIT To reset the microcomputer, RESET pin should be held at an “L” level for 2 µs or more. Then the RESET pin is returned to an “H” level (the power source voltage should be between 2.5 V and 5.5 V, and the oscillation should be stable), reset is released.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER XIN φ RESET Internal reset Address Reset address from vector table ? Data ? ? ? FFFC FFFD ADL ADH, ADL ADH SYNC XIN : about 8200 clock cycles Fig. 34 Reset sequence 40 Notes 1 : X IN and φ are in the relation : f(XIN) = 8 • f(φ) Notes 2 : A question mark (?) indicates an undefined status that depens on the previous status.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER CLOCK GENERATING CIRCUIT Oscillation Control The 3820 group has two built-in oscillation circuits. An oscillation circuit can be formed by connecting a resonator between XIN and XOUT (X CIN and XCOUT ). Use the circuit constants in accordance with the resonator manufacturer's recommended values. No external resistor is needed between XIN and XOUT since a feed-back resistor exists on-chip.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER XCOUT XCIN "0" "1" Port XC switch bit XIN XOUT Timer 1 count source selection bit Internal system clock selection bit (Note 1) "1" Low-speed mode 1/2 Timer 2 count source selection bit 1/4 1/2 Middle/High-speed mode Timer 1 "0" Timer 2 "0" "1" Main clock division ratio selection bit Middle-speed mode Timing φ (Internal system clock) High-speed mode or Low-speed mode Main clock stop bit Q S S R STP instruct
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Reset 4 " M "1 6 " "0 "1 M " "0 C CM 4 "1" C "0 " 4 CM 6 " "1 CM " "1 High-speed mode (f(φ) =4MHz) CM7=0(8MHz selected) CM6=0(High-speed) CM5=0(8MHz oscillating) CM4=0(32kHz stopped) "0" "0" "0" CM7=0(8MHz selected) CM6=1(Middle-speed) CM5=0(8MHz oscillating) CM4=0(32kHz stopped) " "0 " Middle-speed mode (f(φ) =1 MHz) CM 6 "1" "0" CM 6 "1" "0" High-speed mode (f(φ) =4MHz) CM7=0(8MHz selected) CM6=0(Hig
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER NOTES ON PROGRAMMING Processor Status Register The contents of the processor status register (PS) after a reset are undefined, except for the interrupt disable flag (I) which is “1”. After a reset, initialize flags which affect program execution. In particular, it is essential to initialize the index X mode (T) and the decimal mode (D) flags because of their effect on calculations.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER DATA REQUIRED FOR MASK ORDERS ROM PROGRAMMING METHOD The following are necessary when ordering a mask ROM production: (1) Mask ROM Order Confirmation Form (2) Mark Specification Form (3) Data to be written to ROM, in EPROM form (three identical copies) The built-in PROM of the blank One Time PROM version and builtin EPROM version can be read or programmed with a generalpurpose PROM programmer using a special programming adapter.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ABSOLUTE MAXIMUM RATINGS Symbol VCC VI VI VI VI Parameter Power source voltage Input voltage P00 –P07, P10–P17, P2 0–P27, P30 –P37, P40–P47, P5 0–P57, P60 , P61, P70, P7 1 Input voltage VL1 Input voltage VL2 Input voltage VL3 Input voltage RESET, XIN VO Output voltage P00 –P07 , P10–P17 VO Output voltage P30–P37 Output voltage P20–P27 , P41–P47, P50 –P57, P60, P61, P70 , P71 Output voltage SEG 0–SEG15 Output voltage XOUT Power
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER RECOMMENDED OPERATING CONDITIONS Symbol ΣI OH(peak) ΣI OH(peak) ΣI OL(peak) ΣI OL(peak) ΣI OH(avg) ΣI OH(avg) ΣI OL(avg) ΣI OL(avg) I OH(peak) I OL(peak) I OL(peak) Parameter “H” total peak output current “H” total peak output current “L” total peak output current “L” total peak output current “H” total average output current “H” total average output current “L” total average output current “L” total average output current “H” peak
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ELECTRICAL CHARACTERISTICS Symbol VOH VOH VOL VOL VT+ – VT– VT+ – V T– VT+ – V T– I IH Parameter “H” output voltage P00–P0 7, P10–P1 7, P30–P3 7 “H” output voltage P20–P2 7, P41–P4 7,P50–P57, P60, P61, P70, P71 (Note 1) “L” output voltage P00–P0 7, P10–P1 7, P30–P3 7 “L” output voltage P20–P2 7, P41–P4 7, P50–P5 7, P60, P61, P70, P71 (Note 1) Hysteresis Hysteresis Hysteresis “H” input current I IH “H” input current I
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ELECTRICAL CHARACTERISTICS Symbol I CC Parameter Power source current (VCC =2.5 to 5.5 V, T a = –20 to 85 °C, unless otherwise noted.) Limits Test conditions Min. Typ. • High-speed mode, VCC = 5 V f(XIN) = 8 MHz 6.4 f(XCIN ) = 32.768 kHz Output transistors “off” • High-speed mode, VCC = 5 V f(XIN) = 8 MHz (in WIT state) 1.6 f(XCIN ) = 32.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER TIMING REQUIREMENTS 1(V CC = 4.0 to 5.5 V, VSS = 0 V, Ta = –20 to 85 °C, unless otherwise noted.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER SWITCHING CHARACTERISTICS 1(VCC = 4.0 to 5.5 V, VSS = 0 V, Ta = –20 to 85 °C, unless otherwise noted.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ABSOLUTE MAXIMUM RATINGS (Extended Operating Temperature Version) Symbol VCC VI VI VI VI Parameter Power source voltage Input voltage P00 –P07, P10–P17, P2 0–P27, P30 –P37, P40–P47, P5 0–P57, P60 , P61, P70, P7 1 Input voltage VL1 Input voltage VL2 Input voltage VL3 Input voltage RESET, XIN VO Output voltage P00 –P07 , P10–P17 VO Output voltage P30–P37 Output voltage P20–P27 , P41–P47, P50 –P57, P60, P61, P70 , P71 Output volt
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER RECOMMENDED OPERATING CONDITIONS (Extended Operating Temperature Version) (VCC = 3.0 to 5.5 V, Ta = –40 to –20 °C and VCC = 2.5 to 5.5 V, Ta = –20 to 85 °C unless otherwise noted.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ELECTRICAL CHARACTERISTICS (Extended Operating Temperature Version) (VCC =2.5 to 5.5 V, Ta = –20 to 85 °C, and V CC =3.0 to 5.5 V, Ta = –40 to –20 °C, unless otherwise noted.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ELECTRICAL CHARACTERISTICS (Extended Operating Temperature Version) (VCC =3.0 to 5.5 V, Ta = –40 to –20 °C and VCC =2.5 to 5.5 V, Ta = –20 to 85 °C, unless otherwise noted.) Symbol I CC Parameter Power source current Test conditions Min. • High-speed mode, VCC = 5 V f(XIN) = 8 MHz f(XCIN ) = 32.768 kHz Output transistors “off” • High-speed mode, VCC = 5 V f(XIN) = 8 MHz (in WIT state) f(XCIN ) = 32.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER TIMING REQUIREMENTS 1 (Extended Operating Temperature Version) (VCC = 4.0 to 5.5 V, VSS = 0 V, Ta = –40 to 85 °C, unless otherwise noted.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER SWITCHING CHARACTERISTICS 1 (Extended Operating Temperature Version) (VCC = 4.0 to 5.5 V, VSS = 0 V, Ta = –40 to 85 °C, unless otherwise noted.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ABSOLUTE MAXIMUM RATINGS (Low Power Source Voltage Version) Symbol VCC VI VI VI VI Parameter Power source voltage Input voltage P00–P07, P10–P17 , P20–P27, P30–P37, P40–P47 , P50–P57, P60, P61, P70 , P71 Input voltage VL1 Input voltage VL2 Input voltage VL3 Input voltage RESET, XIN VO Output voltage P00 –P07, P10–P17 VO Output voltage P30 –P37 Output voltage P20 –P27, P41–P47, P5 0–P57, P60, P61, P7 0, P71 Output voltage SEG0–
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER RECOMMENDED OPERATING CONDITIONS (Low Power Source Voltage Version) (VCC = 2.2 to 5.5 V, Ta = –20 to 85 °C, unless otherwise noted.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ELECTRICAL CHARACTERISTICS (Low Power Source Voltage Version) (VCC =4.0 to 5.5 V, Ta = –20 to 85 °C, unless otherwise noted.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ELECTRICAL CHARACTERISTICS (Low Power Source Voltage Version) (VCC =2.2 to 5.5 V, Ta = –20 to 85 °C, unless otherwise noted.) Symbol VRAM I CC Parameter RAM hold voltage Power source current Test conditions When clock is stopped • High-speed mode, VCC = 5 V f(XIN) = 8 MHz f(XCIN ) = 32.768 kHz Output transistors “off” • High-speed mode, VCC = 5 V f(XIN) = 8 MHz (in WIT state) f(XCIN ) = 32.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER TIMING REQUIREMENTS 1 (Low Power Source Voltage Version) (VCC = 4.0 to 5.5 V, VSS = 0 V, Ta = –20 to 85 °C, unless otherwise noted.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER SWITCHING CHARACTERISTICS 1 (Low Power Source Voltage Version) (V CC = 4.0 to 5.5 V, VSS = 0 V, Ta = –20 to 85 °C, unless otherwise noted.) Symbol twH(SCLK1 ) twL(SCLK1 ) td(SCLK1–TX D) tv(SCLK1–TXD) tr(S CLK1) tf(SCLK1 ) twH(SCLK2 ) twL(SCLK2 ) td(SCLK2–S OUT2) tv(SCLK2–SOUT2 ) tf(SCLK2 ) tr(CMOS) tf(CMOS) Parameter Min.
MITSUBISHI MICROCOMPUTERS 3820 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER TIMING DIAGRAM tC(CNTR) tWL(CNTR) tWH(CNTR) CNTR0,CNTR1 0.8VCC 0.2VCC tWL(INT) tWH(INT) INT0–INT3 0.8VCC 0.2VCC tW(RESET) RESET 0.8VCC 0.2VCC tC(XIN) tWL(XIN) tWH(XIN) 0.8VCC XIN tf SCLK1 SCLK2 0.2VCC tWL(SCLK1),tWL(S CLK2) tC(SCLK1),tC(SCLK2) tr tWH(SCLK1),tWH(SCLK2) 0.8VCC 0.2VCC tsu(RXD-SCLK1) tsu(SIN2-SCLK2) RXD SIN2 0.8VCC 0.
MITSUBISHI MICROCOMPUTERS 3820Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Keep safety first in your circuit designs! • Mitsubishi Electric Corporation puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead to personal injury, fire or property damage.
REVISION DESCRIPTION LIST Rev. No. 1.0 3820GROUP DATA SHEET Revision Description First Edition Rev.