M38027E8FP Renesas Electronics America, M38027E8FP Datasheet

no-image

M38027E8FP

Manufacturer Part Number
M38027E8FP
Description
MCU 8-Bit 740 CISC 32KB EPROM 5V 64-Pin PQFP
Manufacturer
Renesas Electronics America
Datasheet

Specifications of M38027E8FP

Package
64PQFP
Family Name
740
Maximum Speed
8 MHz
Ram Size
1 KB
Program Memory Size
32 KB
Operating Supply Voltage
5 V
Data Bus Width
8 Bit
Program Memory Type
EPROM
On-chip Adc
8-chx8-bit
On-chip Dac
2-chx8-bit
Operating Temperature
-20 to 85 °C
Number Of Timers
4

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M38027E8FP
Manufacturer:
NSC
Quantity:
3 016
To our customers,
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.
Issued by: Renesas Electronics Corporation (http://www.renesas.com)
Send any inquiries to http://www.renesas.com/inquiry.
On April 1
st
, 2010, NEC Electronics Corporation merged with Renesas Technology
Renesas Electronics website:
Old Company Name in Catalogs and Other Documents
http://www.renesas.com
April 1
Renesas Electronics Corporation
st
, 2010

Related parts for M38027E8FP

M38027E8FP Summary of contents

Page 1

To our customers, Old Company Name in Catalogs and Other Documents st On April 1 , 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over all the business of both companies. Therefore, although the ...

Page 2

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 ...

Page 3

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 ...

Page 4

DESCRIPTION The 3802 group is the 8-bit microcomputer based on the 740 fam- ily core technology. The 3802 group is designed for controlling systems that require analog signal processing and include two serial I/O functions, A-D converters, and D-A converters. ...

Page 5

PIN CONFIGURATION (TOP VIEW SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER REF / / / ...

Page 6

MITSUBISHI MICROCOMPUTERS 3802 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ~ 3 ...

Page 7

PIN DESCRIPTION Pin Name • Apply voltage of 3.0 V–5 Power source CC SS (Extended operating temperature version : 4 5.5 V) CNV • This pin controls the operation mode of the ...

Page 8

... M38022M4-XXXFP M38024M6-XXXSP 24576 (24446) M38024M6-XXXFP M38027M8-XXXSP M38027E8-XXXSP M38027E8SP M38027M8-XXXFP 32768 (32638) M38027E8-XXXFP M38027E8FP M38027E8SS M38027E8FS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (2) Packages 64P4B ............................................ Shrink plastic molded DIP 64P6N-A ................................................... Plastic molded QFP 64S1B-E .................................................... Shrink ceramic DIP 64D0 ................................................................... Ceramic LCC Mass product Mass product M38024M6 ...

Page 9

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 ver- sions ROM/PROM capacity ................................... bytes ...

Page 10

PART NUMBERING Product M3802 XXX SP MITSUBISHI MICROCOMPUTERS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Package type SP : 64P4B package FP : 64P6N-A package SS : 64S1B-E package FS : 64D0 package ROM number Omitted in some types. ...

Page 11

FUNCTIONAL DESCRIPTION Central Processing Unit (CPU) The 3802 group uses the standard 740 family instruction set. Re- fer to the table of 740 family addressing modes and machine in- structions or the SERIES 740 <Software> User’s Manual for de- tails ...

Page 12

Memory Special function register (SFR) area The Special Function Register area in the zero page contains con- trol registers such as I/O ports and timers. RAM RAM is used for data storage and for stack area of subroutine calls and ...

Page 13

Port P0 (P0) 0000 16 Port P0 direction register (P0D) 0001 16 Port P1 (P1) 0002 16 Port P1 direction register (P1D) 0003 16 Port P2 (P2) 0004 16 Port P2 direction register (P2D) 0005 16 Port P3 (P3) 0006 ...

Page 14

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 ...

Page 15

Ports P0, P1, P2, P3 – Direction register Port latch Data bus (3) Ports 0– Direction register Port latch Data bus Interrupt input (5) Port P-channel ...

Page 16

Port P-channel output disable bit 1 OUT2 Serial I/O2 transmit end signal Serial I/O2 port selection bit Direction register Port latch Data bus Serial I/O2 output (11) Port output enable bit RDY2 ...

Page 17

INTERRUPTS Interrupts occur by sixteen sources: seven external, eight internal, and one software. Interrupt control Each interrupt is controlled by an interrupt request bit, an interrupt enable bit, and the interrupt disable flag except for the software in- terrupt set ...

Page 18

Interrupt request bit Interrupt enable bit Interrupt disable flag (I) Fig. 6 Interrupt control b7 b0 Interrupt edge selection register (INTEDGE : address 003A INT active edge selection bit 0 INT active edge selection bit 1 Not used (returns “0” ...

Page 19

Timers The 3802 group has four timers: timer X, timer Y, timer 1, and timer 2. All timers are count down. When the timer reaches “00 derflow occurs at the next count pulse and the corresponding timer latch is reloaded ...

Page 20

Oscillator Divider f(X ) 1/16 IN Pulse width measurement mode CNTR active 0 P5 /CNTR pin 4 0 Event edge switch bit counter mode “0” “1” CNTR active 0 edge switch bit Port P5 4 Port P5 4 latch direction ...

Page 21

Serial I/O1 Serial I/O1 can be used as either clock synchronous or asynchro- nous (UART) serial I/O. A dedicated timer is also provided for baud rate generation CLK1 BRG count source selection ...

Page 22

Asynchronous serial I/O (UART) mode Clock asynchronous serial I/O mode (UART) can be selected by clearing the serial I/O mode selection bit of the serial I/O control register to “0”. Eight serial data transfer formats can be selected, and the ...

Page 23

Transmit or receive clock Transmit buffer write signal TBE=0 TSC=0 TBE=1 Serial output Receive buffer read signal ST D Serial input Notes 1: Error flag detection occurs at the same time that ...

Page 24

Serial I/O1 status register (SIO1STS : address 0019 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 ...

Page 25

Serial I/O2 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 ...

Page 26

Transfer clock (Note 1) Serial I/O2 register write signal Serial I/O2 output S OUT2 Serial I/O2 input S IN2 Receive enable signal S RDY2 Notes 1: When the internal clock is selected as the transfer clock, the divide ratio can ...

Page 27

PULSE WIDTH MODULATION (PWM) The 3802 group has a PWM function with an 8-bit resolution, based on a signal that is the clock input X vided by 2. Data Setting The PWM output pin also functions as port P5 riod ...

Page 28

PWM control register (PWMCON : address 002B PWM function enable bit 0: PWM disabled 1: PWM enabled Count source selection bit 0: f f(X IN Not used (return “0” when read) Fig. 20 Structure of PWM ...

Page 29

A-D Converter The functional blocks of the A-D converter are described below. [A-D conversion register] The A-D conversion register is a read-only register that stores the result of an A-D conversion. When reading this register during an A-D conversion, the ...

Page 30

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 ...

Page 31

Reset Circuit To reset the microcomputer, the RESET pin should be held at an “L” level for more. Then the RESET pin is returned to an “H” level (the power source voltage should be between 4.0 V ...

Page 32

X IN RESET RESET OUT (internal reset) SYNC Address Data clock cycles IN Fig. 28 Timing of reset SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ? ? ? ? ? ? FFFC ? ? ? ? ? ? ...

Page 33

Clock Generating Circuit An oscillation circuit can be formed by connecting a resonator be- tween X and supply a clock signal externally, input OUT the X pin and make the X pin open. IN ...

Page 34

Processor Modes Single-chip mode, memory expansion mode, and microprocessor mode can be selected by changing the contents of the processor mode bits CM and CM (bits 0 and 1 of address 003B 0 1 memory expansion mode and microprocessor mode, ...

Page 35

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 “L” level signal is input to the ONW pin ...

Page 36

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”. Af- ter a reset, initialize flags which affect program execution. In ...

Page 37

DATA REQUIRED FOR MASK ORDERS The following are necessary when ordering a mask ROM produc- tion: 1. Mask ROM Order Confirmation Form 2. Mark Specification Form 3. Data to be written to ROM, in EPROM form (three identical copies) 34 ...

Page 38

ABSOLUTE MAXIMUM RATINGS Parameter Symbol V Power source voltage CC Input voltage P0 – – – REF V Input voltage RESET ...

Page 39

ELECTRICAL CHARACTERISTICS Symbol Parameter “H” output voltage P0 – – –P6 0 “L” output voltage P0 – – – – V Hysteresis CNTR , CNTR T+ ...

Page 40

D-A CONVERTER CHARACTERISTICS (V CC Symbol Parameter — Resolution V CC — Absolute accuracy Setting time su R Output resistor O I Reference power source input current (Note) VREF Note: Using one D-A converter, with the value ...

Page 41

TIMING REQUIREMENTS 1 (V Symbol t Reset input “L” pulse width w(RESET) t External clock input cycle time c External clock input “H” pulse width wH External clock input “L” pulse width wL(X ) ...

Page 42

SWITCHING CHARACTERISTICS 1 Symbol Parameter t Serial I/O1 clock output “H” pulse width wH(S ) CLK1 t Serial I/O2 clock output “H” pulse width wH(S ) CLK2 t Serial I/O1 clock output “L” pulse width wL(S ) CLK1 t Serial ...

Page 43

TIMING REQUIREMENTS 1 IN MEMORY EXPANSION MODE AND MICROPROCESSOR MODE Symbol t Before ONW input set up time su(ONW– After ONW input hold time h( –ONW) t Before data bus set up time su(DB– After data ...

Page 44

TIMING REQUIREMENTS 2 IN MEMORY EXPANSION MODE AND MICROPROCESSOR MODE Symbol t Before ONW input set up time su(ONW– After ONW input hold time h( –ONW) t Before data bus set up time su(DB– After data ...

Page 45

ABSOLUTE MAXIMUM RATINGS (Extended operating temperature version) Symbol Parameter V Power source voltage CC Input voltage P0 – – – REF V Input voltage ...

Page 46

ELECTRICAL CHARACTERISTICS (Extended operating temperature version) Symbol Parameter “H” output voltage P0 – – –P6 0 “L” output voltage P0 – – – – V Hysteresis ...

Page 47

D-A CONVERTER CHARACTERISTICS (Extended operating temperature version) Symbol Parameter — Resolution — Absolute accuracy t Setting time su R Output resistor O I Reference power source input current (Note) VREF Note: Using one D-A converter, with the value in the ...

Page 48

TIMING REQUIREMENTS 1 (Extended operating temperature version) Symbol t Reset input “L” pulse width w(RESET) t External clock input cycle time c External clock input “H” pulse width wH External clock input “L” pulse ...

Page 49

TIMING REQUIREMENTS IN MEMORY EXPANSION MODE AND MICROPROCESSOR MODE (Extended operating temperature version) Symbol t Before ONW input set up time su(ONW– After ONW input hold time h( –ONW) t Before data bus set up time su(DB– ) ...

Page 50

TIMING DIAGRAM (1) Timing Diagram CNTR , CNTR 0 1 INT INT 0– 4 RESET CLK1 S CLK2 IN2 OUT2 SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER t C(CNTR) t WH(CNTR) 0.8 ...

Page 51

Diagram in Memory Expansion Mode and Microprocessor Mode (a) AD – – SYNC RD,WR ONW DB – (At CPU reading) DB – (At CPU writing) (3)Timing Diagram in Microprocessor Mode ...

Page 52

Timing Diagram in Memory Expansion Mode and Microprocessor Mode (b) RD,WR AD – – ONW (At CPU reading – (At CPU writing – MITSUBISHI MICROCOMPUTERS SINGLE-CHIP ...

Page 53

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 ...

Page 54

REVISION DESCRIPTION LIST Rev. No. 1.0 First Edition 3802 GROUP DATA SHEET Revision Description (1/1) Rev. date 971226 ...

Related keywords