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 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER • Programmable input/output ports ............................................. 56 • Interrupts .................................................. 16 sources, 16 vectors • Timers ............................................................................. 8 bit ✕ 4 • Serial I/O1 .................... 8-bit ✕ 1 (UART or Clock-synchronized) • Serial I/O2 .................................... 8-bit ✕ 1 (Clock-synchronized) • PWM .......
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER PIN CONFIGURATION (TOP VIEW) 1 64 2 63 3 62 4 61 5 60 6 59 7 58 8 57 9 56 10 55 11 54 12 53 13 14 15 16 17 18 19 20 M38022M4-XXXSP VCC VREF AV SS P67/AN 7 P66/AN 6 P65/AN 5 P64/AN 4 P63/AN 3 P62/AN 2 P61/AN 1 P60/AN 0 P57/INT 3 P56/PWM P55/CNTR 1 P54/CNTR 0 P53/SRDY2 P52/SCLK2 P51/SOUT2 P50/SIN2 P47/SRDY1 P46/SCLK1 P45/TXD P44/RXD P43/INT 2 P42/INT 1 CNV SS RESET P41/INT 0 P40/INT 4 XIN XOUT VSS 52 51 50
31 Clock output XOUT 3 VREF AVSS I/O port P5 12 13 14 15 16 17 18 19 4 5 6 7 8 9 10 11 I/O port P6 P5(8) SI/O2 (8) ROM P6(8) INT3 PWM (8) RAM SI/O1 (8) 32 VSS PS PC L S Y X A INT0 D-A converter 2 (8) INT2 INT4 I/O port P4 20 21 22 23 24 25 28 29 P4(8) PC H CPU 1 VCC ~ 2 A-D converter (8) Clock generating circuit 30 Clock input XIN FUNCTIONAL BLOCK DIAGRAM (Package : 64P4B) P3(8) CNTR0 P2(8) CNTR1 Prescaler Y (8) Prescaler X (8) P1(8) I/O port P3 I/O port P2
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER PIN DESCRIPTION Pin Function Name Function except a port function VCC , VSS Power source • Apply voltage of 3.0 V–5.5 V to VCC, and 0 V to VSS. (Extended operating temperature version : 4.0 V to 5.5 V) CNVSS CNVSS • This pin controls the operation mode of the chip. • Normally connected to VSS. • If this pin is connected to VCC, the internal ROM is inhibited and external memory is accessed.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER GROUP EXPANSION (2) Packages 64P4B ............................................ Shrink plastic molded DIP 64P6N-A ................................................... Plastic molded QFP 64S1B-E .................................................... Shrink ceramic DIP 64D0 ...................................................................
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER GROUP EXPANSION (Extended operating temperature version) Mitsubishi plans to expand the 3802 group (extended operating temperature version) as follows: (1) Support for mask ROM One Time PROM, and EPROM versions ROM/PROM capacity ................................... 8 K to 32 K bytes RAM capacity .............................................. 384 to 1024 bytes (2) Packages 64P4B ............................................
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER PART NUMBERING Product M3802 2 M 4 - XXX SP Package type SP : 64P4B package FP : 64P6N-A package SS : 64S1B-E package FS : 64D0 package ROM number Omitted in some types. Normally, using hyphen.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER FUNCTIONAL DESCRIPTION Central Processing Unit (CPU) The 3802 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 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Memory Special function register (SFR) area Zero page The 256 bytes from addresses 0000 16 to 00FF16 are called the zero page area. The internal RAM and the special function registers (SFR) are allocated to this area. The zero page addressing mode can be used to specify memory and register addresses in the zero page area. Access to this area with only 2 bytes is possible in the zero page addressing mode.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER 000016 Port P0 (P0) 002016 Prescaler 12 (PRE12) 000116 Port P0 direction register (P0D) 002116 Timer 1 (T1) 000216 Port P1 (P1) 002216 Timer 2 (T2) 000316 Port P1 direction register (P1D) 002316 Timer XY mode register (TM) 000416 Port P2 (P2) 002416 Prescaler X (PREX) 000516 Port P2 direction register (P2D) 002516 Timer X (TX) 000616 Port P3 (P3) 002616 Prescaler Y (PREY) 000716 Port P3 direction registe
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER I/O Ports Direction registers The 3802 group has 56 programmable I/O pins arranged in seven I/O ports (ports P0 to P6). The I/O ports 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. When “0” is written to the bit corresponding to a pin, that pin becomes an input pin.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (1) Ports P0, P1, P2, P32–P37 (2) Ports P30, P31 Direction register Direction register Port latch Data bus Port latch Data bus D–A conversion output DA1 output enable bit (P3 0) DA2 output enable bit (P3 1) (3) Ports P40–P43, P57 (4) Port P44 Serial I/O1 enable bit Receive enable bit Direction register Direction register Port latch Data bus Port latch Data bus Interrupt input Serial I/O1 input (5) Port P45 (6) Por
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (9) Port P51 (10) Port P52 P51/SOUT2 P-channel output disable bit Serial I/O2 synchronous clock selection bit Serial I/O2 port selection bit Serial I/O2 transmit end signal Serial I/O2 port selection bit Direction register Direction register Port latch Data bus Port latch Data bus Serial I/O2 clock output Serial I/O2 output Serial I/O2 external clock input (11) Port P53 (12) Ports P54, 55 SRDY2 output enable bit Direc
MITSUBISHI MICROCOMPUTERS 3802 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 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Interrupt request bit Interrupt enable bit Interrupt disable flag (I) BRK instruction Reset Interrupt request Fig.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Timers Timer 1 and Timer 2 The 3802 group has four timers: timer X, timer Y, timer 1, and timer 2. All timers are count down. When the timer reaches “0016 ”, an underflow occurs at the next count pulse and the corresponding timer latch is reloaded into the timer and the count is continued. When a timer underflows, the interrupt request bit corresponding to that timer is set to “1”.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Data bus Oscillator Divider f(XIN ) 1/16 Pulse width measurement mode P54/CNTR0 pin CNTR0 active edge switch bit “0” Timer X latch (8) Prescaler X (8) Timer X (8) Timer mode Pulse output mode Event counter mode Timer X count stop bit CNTR0 active edge switch bit Q “1” “0” Port P5 4 latch Toggle flip- flop Q Timer X latch write pulse Pulse output mode Data bus Pulse width measurement mode CNTR1 active edge switch bit
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Serial I/O1 Clock synchronous serial I/O mode Serial I/O1 can be used as either clock synchronous or asynchronous (UART) serial I/O. A dedicated timer 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”. For clock synchronous serial I/O1, the transmitter and the receiver must use the same clock.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Asynchronous serial I/O (UART) mode 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, and receive data is read from the receive buffer. The transmit buffer can also hold the next data to be transmitted, and the receive buffer can hold a character while the next character is being received.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Transmit or receive clock Transmit buffer write signal TBE=0 TSC=0 TBE=1 Serial output TXD TBE=0 TSC=1✽ TBE=1 ST D0 D1 SP ST D0 Receive buffer read signal SP D1 ✽ 1 start bit 7 or 8 data bit 1 or 0 parity bit 1 or 2 stop bit (s) Generated at 2nd bit in 2-stop-bit mode RBF=0 RBF=1 Serial input RXD ST D0 D1 SP RBF=1 ST D0 D1 SP Notes 1: Error flag detection occurs at the same time that the RBF flag becomes "
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER b7 b0 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 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 error 1: Framing
MITSUBISHI MICROCOMPUTERS 3802 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/O 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 3802 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 SRDY2 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 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER PULSE WIDTH MODULATION (PWM) PWM Operation The 3802 group has a PWM function with an 8-bit resolution, based on a signal that is the clock input X IN or that clock input divided by 2. When bit 0 (PWM enable bit) of the PWM control register is set to “1”, operation starts by initializing the PWM output circuit, and pulses are output starting at an “H”.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER b7 b0 PWM control register (PWMCON : address 002B 16) PWM function enable bit 0: PWM disabled 1: PWM enabled Count source selection bit 0: f(XIN) 1: f(XIN)/2 Not used (return “0” when read) Fig.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER A-D Converter [Comparator and Control circuit] The functional blocks of the A-D converter are described below. The comparator and control circuit compares an analog input voltage with the comparison voltage, then stores the result in the A-D conversion register. When an A-D conversion is complete, the control circuit sets the AD conversion completion bit and the AD interrupt request bit to “1”.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER D-A Converter The 3802 group has two internal D-A converters (DA1 and DA2) with 8-bit resolutions. The D-A converter is performed by setting the value in the D-A conversion register. The result of D-A converter is output from the DA 1 or DA2 pin by setting the DA output enable bit to “1”. When using the D-A converter, the corresponding port direction register bit (P30 /DA1 or P31/DA 2 ) should be set to “0” (input status).
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Reset Circuit To reset the microcomputer, the 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 4.0 V and 5.5 V), reset is released. Internal operation begin until after 8 to 13 X IN clock cycles are completed.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER XIN φ RESET RESETOUT (internal reset) SYNC Address ? ? ? ? ? FFFC FFFD ADH, ADL Reset address from the vector table ? Data XIN: 8 to 13 clock cycles ? ? ? ? ADL ADH Notes 1: f(XIN) and f(φ) are in the relationship: f(X IN)=2 • f(φ). 2: A question mark (?) indicates an undefined status that depends on the previous status. Fig.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Clock Generating Circuit An oscillation circuit can be formed by connecting a resonator between XIN and XOUT . To supply a clock signal externally, input it to the XIN pin and make the XOUT pin open. When the STP status is released, prescaler 12 and timer 1 will start counting and reset will not be released until timer 1 underflows, so set the timer 1 interrupt enable bit to “0” before the STP instruction is executed.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Processor Modes Single-chip mode, memory expansion mode, and microprocessor mode can be selected by changing the contents of the processor mode bits CM 0 and CM 1 (bits 0 and 1 of address 003B 16). In memory expansion mode and microprocessor mode, memory can be expanded externally through ports P0 to P3. In these modes, ports P0 to P3 lose their I/O port functions and become bus pins. Table 2.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Bus control with memory expansion The 3802 group has a built-in ONW function to facilitate access to external memory and I/O devices in memory expansion mode or microprocessor mode. If an “L” level signal is input to the ONW pin when the CPU is in a read or write state, the corresponding read or write cycle is extended by one cycle of φ. During this extended period, the RD or WR signal remains at “L”.
MITSUBISHI MICROCOMPUTERS 3802 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 3802 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 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ABSOLUTE MAXIMUM RATINGS Symbol VCC VI VI VI VO Pd Topr Tstg Parameter Conditions Power source voltage Input voltage P00 –P07, P10–P17, P2 0–P27, P30 –P37, P40–P47, P5 0–P57, P60 –P67, VREF Input voltage RESET, XIN Input voltage CNV SS Output voltage P00 –P07, P10–P17, P2 0–P27, P30 –P37, P40–P47, P5 0–P57, P60 –P67, XOUT Power dissipation Operating temperature Storage temperature All voltages are based on VSS .
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ELECTRICAL CHARACTERISTICS (VCC = 3.0 to 5.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER D-A CONVERTER CHARACTERISTICS (VCC = 3.0 to 5.5 V, V SS = AVSS = 0 V, VREF = 3.0 V to VCC, Ta = –20 to 85 °C, unless otherwise noted) Symbol — — t su RO I VREF Parameter Test conditions Min. Limits Typ. Resolution Absolute accuracy VCC = 4.0 to 5.5 V VCC = 3.0 to 4.0 V Setting time Output resistor Reference power source input current (Note) 1 2.5 Max. 8 1.0 2.5 3 4 3.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER TIMING REQUIREMENTS 1 (V CC = 4.0 to 5.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER SWITCHING CHARACTERISTICS 1 (VCC = 4.0 to 5.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER TIMING REQUIREMENTS 1 IN MEMORY EXPANSION MODE AND MICROPROCESSOR MODE (VCC = 4.0 to 5.5 V, VSS = 0 V, Ta = –20 to 85 °C, unless otherwise noted) Symbol t su(ONW–φ) t h(φ–ONW) t su(DB–φ) t h(φ–DB) t su(ONW–RD) t su(ONW–WR) t h(RD–ONW) t h(WR–ONW) t su(DB–RD) t h(RD–DB) Limits Parameter Min.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER TIMING REQUIREMENTS 2 IN MEMORY EXPANSION MODE AND MICROPROCESSOR MODE (VCC = 3.0 V, VSS = 0 V, Ta = –20 to 85 °C, unless otherwise noted) Parameter Symbol t su(ONW–φ) t h(φ–ONW) t su(DB–φ) t h(φ–DB) t su(ONW–RD) t su(ONW–WR) th (RD–ONW) t h(WR–ONW) t su(DB–RD) t h(RD–DB) Min.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ABSOLUTE MAXIMUM RATINGS (Extended operating temperature version) Symbol VCC VI VI VI VO Pd Topr Tstg Parameter Power source voltage Input voltage P00 –P07, P10–P17, P2 0–P27, P30 –P37, P40–P47, P5 0–P57, P60 –P67, VREF Input voltage RESET, XIN Input voltage CNV SS Output voltage P00 –P07, P10–P17, P2 0–P27, P30 –P37, P40–P47, P5 0–P57, P60 –P67, XOUT Power dissipation Operating temperature Storage temperature Conditions All volt
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ELECTRICAL CHARACTERISTICS (Extended operating temperature version) (VCC = 4.0 to 5.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER D-A CONVERTER CHARACTERISTICS (Extended operating temperature version) (V CC = 4.0 to 5.5 V, VSS = AVSS = 0 V, VREF = 4.0 V to VCC, Ta = –40 to 85 °C, unless otherwise noted) Symbol — — t su RO I VREF Parameter Resolution Absolute accuracy Setting time Output resistor Reference power source input current (Note) Test conditions Min. 1 Limits Typ. 2.5 Max. 8 1.0 3 4 3.
MITSUBISHI MICROCOMPUTERS 3802 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) Symbol t w(RESET) t c(XIN) t wH(XIN) t wL(XIN) t c(CNTR) t wH(CNTR) t wH(INT) t wL(CNTR) t wL(INT) t c(SCLK1 ) t c(SCLK2 ) t wH(SCLK1) t wH(SCLK2) t wL(SCLK1) t wL(SCLK2) tsu(R XD–SCLK1) tsu(SIN2–S CLK2) th(S CLK1–RXD) th(S CLK2–SIN2) Parameter Min.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER TIMING REQUIREMENTS IN MEMORY EXPANSION MODE AND MICROPROCESSOR MODE (Extended operating temperature version) Symbol t su(ONW–φ) t h(φ–ONW) t su(DB–φ) t h(φ–DB) t su(ONW–RD) t su(ONW–WR) t h(RD–ONW) t h(WR–ONW) t su(DB–RD) t h(RD–DB) (V CC = 4.0 to 5.5 V, VSS = 0 V, Ta = –40 to 85 °C, unless otherwise noted) Limits Parameter Min.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER TIMING DIAGRAM (1) Timing Diagram tC(CNTR) tWL(CNTR) tWH(CNTR) 0.8 VCC CNTR0, CNTR1 0.2 VCC tWL(INT) tWH(INT) 0.8 VCC INT0–INT4 0.2 VCC tW(RESET) RESET 0.8 VCC 0.2 VCC tC(XIN) tWL(XIN) tWH(XIN) 0.8 VCC XIN tf SCLK1 SCLK2 0.2 VCC tC(SCLK1), tC(SCLK2) tWL(SCLK1), tWL(SCLK2) tWH(SCLK1), tWH(SCLK2) tr 0.8 VCC 0.2 VCC tsu(RXD-SCLK1), tsu(SIN2-SCLK2) RXD SIN2 th(SCLK1-RXD), th(SCLK2- SIN2) 0.8 VCC 0.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (2)Timing Diagram in Memory Expansion Mode and Microprocessor Mode (a) tC(φ) tWL(φ) tWH(φ) φ 0.5 VCC tv(φ-AH) td(φ-AH) AD15–AD8 0.5 VCC td(φ-AL) AD7–AD0 tv(φ-AL) 0.5 VCC tv(φ-SYNC) td(φ-SYNC) SYNC 0.5 VCC td(φ-WR) RD,WR tv(φ-WR) 0.5 VCC th(φ-ONW) tSU(ONW-φ) 0.8 VCC 0.2 VCC ONW tSU(DB-φ) 0.8 VCC 0.2 VCC DB0–DB7 (At CPU reading) td(φ-DB) DB0–DB7 (At CPU writing) tv(φ-DB) 0.
MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (4) Timing Diagram in Memory Expansion Mode and Microprocessor Mode (b) tWL(RD) tWL(WR) RD,WR 0.5 VCC td(AH-RD) td(AH-WR) AD15–AD8 tv(RD-AH) tv(WR-AH) 0.5 VCC td(AL-RD) td(AL-WR) AD7–AD0 tv(RD-AL) tv(WR-AL) 0.5 VCC th(RD-ONW) th(WR-ONW) tsu(ONW-RD) tsu(ONW-WR) ONW 0.8 VCC 0.2 VCC (At CPU reading) tWL(RD) RD 0.5 VCC tSU(DB-RD) DB0–DB7 (At CPU writing) tWL(WR) WR 0.
MITSUBISHI MICROCOMPUTERS 3802 Group 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 3802 GROUP DATA SHEET Revision Description First Edition Rev.