M38067ECFP MITSUBISHI, M38067ECFP Datasheet

no-image

M38067ECFP

Manufacturer Part Number
M38067ECFP
Description
Single-chip 8-bit CMOS microcfomputer. PROM 49152 bytes, RAM 1024 bytes. One time PROM version
Manufacturer
MITSUBISHI
Datasheet

Specifications of M38067ECFP

Case
QFP
Dc
07+

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M38067ECFP
Manufacturer:
MIT
Quantity:
1 000
Part Number:
M38067ECFP
Manufacturer:
MIT
Quantity:
20 000
DESCRIPTION
The 3806 group is 8-bit microcomputer based on the 740 family
core technology.
The 3806 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.
The various microcomputers in the 3806 group include variations
of internal memory size and packaging. For details, refer to the
section on part numbering.
For details on availability of microcomputers in the 3806 group, re-
fer to the section on group expansion.
FEATURES
Basic machine-language instructions ....................................... 71
Memory size
ROM ................................................................ 12 K to 48 K bytes
RAM ................................................................. 384 to 1024 bytes
Programmable input/output ports ............................................. 72
Interrupts .................................................. 16 sources, 16 vectors
Timers ............................................................................. 8 bit
Serial I/O1 .................... 8-bit
Serial I/O2 .................................... 8-bit
A-D converter .................................................. 8-bit
D-A converter .................................................. 8-bit
PIN CONFIGURATION (TOP VIEW)
P6
P6
P6
3
5
4
V
/AN
/AN
/AN
P8
P8
P8
P8
P8
P8
P8
P8
V
REF
CC
7
6
5
4
3
2
1
0
5
4
3
1 (UART or Clock-synchronized)
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
1 (Clock-synchronized)
80-pin plastic-molded QFP
Package type : 80P6N-A
M38063M6-XXXFP
8 channels
2 channels
4
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
APPLICATIONS
Office automation, VCRs, tuners, musical instruments, cameras,
air conditioners, etc.
Minimum instruction
execution time
Oscillation frequency
Power source voltage
Power dissipation
Operating temperature
range
Clock generating circuit ....................... Internal feedback resistor
(connect to external ceramic resonator or quartz-crystal)
Memory expansion possible
Specification
(MHz)
(mW)
(unit)
MITSUBISHI MICROCOMPUTERS
( C)
( s)
(V)
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
3.0 to 5.5
–20 to 85
Standard
3806 Group
0.5
32
8
P2
P2
P2
P2
P2
P2
P2
P2
V
X
X
P4
P4
RESET
CNV
P4
SS
OUT
IN
0
1
2
3
4
5
6
7
0
1
2
/DB
/DB
/DB
/DB
/DB
/DB
/DB
/DB
/INT
SS
0
1
2
3
4
5
6
7
0
temperature version
Extended operating
4.0 to 5.5
–40 to 85
0.5
32
8
High-speed
2.7 to 5.5
–20 to 85
version
0.4
10
40

Related parts for M38067ECFP

M38067ECFP Summary of contents

Page 1

... MITSUBISHI MICROCOMPUTERS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER • Clock generating circuit ....................... Internal feedback resistor (connect to external ceramic resonator or quartz-crystal) • Memory expansion possible Specification (unit) Minimum instruction execution time ( s) Oscillation frequency (MHz) Power source voltage ...

Page 2

... SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER M38063M6-XXXGP 71 M38063M6AXXXHP Package type : 80P6S-A/80P6D-A 80-pin plastic-molded QFP MITSUBISHI MICROCOMPUTERS 3806 Group ...

Page 3

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

Page 4

... SS • External interrupt input pin • Serial I/O1 I/O pins • External interrupt input pin • Timer X and Timer Y I/O pins • D-A conversion output pins • A-D conversion input pins MITSUBISHI MICROCOMPUTERS 3806 Group Function except a port function . and X pins to set the IN OUT pin and leave the X pin open ...

Page 5

PIN DESCRIPTION (Continued) Pin Name I/O port P7 • 8-bit I/O port with the same function as port P0 0 IN2 • CMOS compatible input level 1 OUT2 • N-channel open-drain ...

Page 6

... M38063M6-XXXGP (24446) M38063E6-XXXGP M38063E6GP M38063E6FS M38067M8-XXXFP 32768 (32638) M38067M8-XXXGP M38067MC-XXXFP M38067EC-XXXFP M38067ECFP 49152 (49022) M38067MC-XXXGP M38067EC-XXXGP M38067ECGP 6 SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (2) Packages 80P6N-A ............................. 0.8 mm-pitch plastic molded QFP 80P6S-A ........................... 0.65 mm-pitch plastic molded QFP 80D0 ................ 0.8 mm-pitch ceramic LCC (EPROM version) Mass product ...

Page 7

... GROUP EXPANSION (EXTENDED OPERATING TEMPERATURE VERSION) Mitsubishi plans to expand the 3806 group (extended operating temperature version) as follows: (1) Support for mask ROM version ROM/PROM capacity ................................ bytes RAM capacity .............................................. 384 to 1024 bytes Memory Expansion Plan ROM size (bytes) 48K 32K 28K ...

Page 8

... GROUP EXPANSION (HIGH-SPEED VERSION) Mitsubishi plans to expand the 3806 group (high-speed version) as follows: (1) Support for mask ROM, One Time PROM, and EPROM versions ROM/PROM capacity ................................ bytes RAM capacity .............................................. 512 to 1024 bytes Memory Expansion Plan ROM size (bytes) 48K 32K ...

Page 9

... Stack page selection bit page page Not used (return “0” when read) Fig. 1 Structure of CPU mode register SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER . 16 003B ) Single-chip mode 1 : Memory expansion mode 0 : Microprocessor mode 1 : Not available MITSUBISHI MICROCOMPUTERS 3806 Group 9 ...

Page 10

... FFDC 16 5080 16 4080 Interrupt vector area 16 3080 16 2080 16 FFFE 16 Reserved ROM area 1080 16 FFFF 16 MITSUBISHI MICROCOMPUTERS 3806 Group to 00FF are called the FFFF are called the 16 16 SFR area Zero page Reserved area Not used (128 bytes) Special page ...

Page 11

... Baud rate generator (BRG) 001C 16 Serial I/O2 control register (SIO2CON) 001D 16 001E 16 Serial I/O2 register (SIO2) 001F 16 Fig. 3 Memory map of special function register (SFR) MITSUBISHI MICROCOMPUTERS 3806 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Prescaler 12 (PRE12) 0020 16 Timer 1 (T1) 0021 16 Timer 2 (T2) 0022 16 Timer XY mode register (TM) ...

Page 12

... Serial I/O2 function I/O CMOS compatible input level CMOS 3-state output CMOS compatible input level during execution of the STP instruction MITSUBISHI MICROCOMPUTERS 3806 Group Related SFRs Ref.No. CPU mode register CPU mode register (1) CPU mode register CPU mode register Interrupt edge selection ...

Page 13

Ports P0, P1, P2, P3 Direction register Port latch Data bus (3) Port P4 4 Serial I/O1 enable bit Receive enable bit Direction register Port latch Data bus Serial I/O1 input (5) Port P4 ...

Page 14

... Port output enable bit RDY2 Direction register Port latch Data bus Serial I/O2 ready output Fig. 5 Port block diagram (single-chip mode) (2) 14 MITSUBISHI MICROCOMPUTERS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (10) Port P7 0 Direction register Data bus Port latch Serial I/O2 input (12) Port P7 2 Serial I/O2 ...

Page 15

... INT At detection of either rising or FFE0 16 16 falling edge of INT FFDE At completion of A-D conversion 16 16 FFDC At BRK instruction execution 16 16 MITSUBISHI MICROCOMPUTERS 3806 Group ) is changed, the corresponding interrupt re- 1 Remarks Non-maskable External interrupt input (active edge selectable) 0 External interrupt input (active edge selectable) 1 ...

Page 16

... Serial I/O1 transmit interrupt enable bit Timer X interrupt enable bit Timer Y interrupt enable bit Timer 1 interrupt enable bit Timer 2 interrupt enable bit Fig. 7 Structure of interrupt-related registers 16 MITSUBISHI MICROCOMPUTERS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER BRK instruction Reset ) Falling edge active 1 : Rising edge active ...

Page 17

Timers The 3806 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 18

... Toggle flip- flop “0” Data bus Prescaler Timer 1 latch (8) 12 latch (8) Prescaler 12 (8) Timer 1 (8) MITSUBISHI MICROCOMPUTERS 3806 Group Timer X latch (8) Timer X (8) To timer X interrupt request bit To CNTR interrupt 0 request bit Timer X latch write pulse Pulse output mode ...

Page 19

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 20

... Baud rate generator Address 001C 16 ST/SP/PA generator 1/16 Transmit shift register Transmit buffer Address 0018 16 Data bus MITSUBISHI MICROCOMPUTERS 3806 Group Address 001A 16 1/16 UART control register Address 001B 16 Transmit shift completion flag (TSC) Transmit interrupt source selection bit Transmit interrupt request (TI) Transmit buffer empty flag (TBE) ...

Page 21

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

Page 22

... CMOS output (in output mode) 1: N-channel open drain output (in output mode) Not used (return "1" when read) Fig. 14 Structure of serial I/O control registers 22 SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER MITSUBISHI MICROCOMPUTERS 3806 Group b0 Serial I/O1 control register (SIO1CON : address 001A ) 16 BRG count source selection bit (CSS) 0: f(X ) ...

Page 23

... Serial I/O2 synchronous clock selection bit "1" S RDY2 Synchronization circuit "0" External clock Serial I/O counter 2 (3) Serial I/O shift register 2 (8) MITSUBISHI MICROCOMPUTERS 3806 Group b0 Serial I/O2 control register (SIO2CON : address 001D ) 16 Internal synchronous clock selection bits f(X )/8 IN ...

Page 24

... When the internal clock is selected as the transfer clock, the S Fig. 17 Timing of serial I/O2 function 24 SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER pin goes to high impedance after transfer completion. OUT2 MITSUBISHI MICROCOMPUTERS 3806 Group (Note Serial I/O2 interrupt request bit set ...

Page 25

... Fig.18 Structure of AD/DA control register Data bus A-D control circuit Comparator A-D conversion register 8 Resistor ladder V AV REF SS MITSUBISHI MICROCOMPUTERS 3806 Group b0 AD/DA control register (ADCON : address 0034 ) 16 Analog input pin selection bits / / ...

Page 26

... D-A1 conversion register (8) R-2R resistor ladder D-A2 conversion register (8) ”, the DA 16 /DA and R-2R resistor ladder Fig. 20 Block diagram of D-A converter "1" MITSUBISHI MICROCOMPUTERS 3806 Group DA output enable bit output enable bit ...

Page 27

... Interrupt request register 2 (29) Interrupt control register (30) Interrupt control register 2 3806 group (31) Processor status register (32) Program counter Note. Fig. 23 Internal status of microcomputer after reset MITSUBISHI MICROCOMPUTERS 3806 Group Address Register contents (0001 ) • • • (0003 ) • • • (0005 ) • ...

Page 28

... Fig. 24 Timing of reset 28 SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ? ? ? ? ? ? FFFC ? ? ? ? ? ? Notes 1: f(X ) and f( ) are in the relationship: f question mark (?) indicates an undefined status that depends on the previous status. MITSUBISHI MICROCOMPUTERS 3806 Group FFFD H L Reset address from the vector table )= • IN ...

Page 29

... Fig. 25 Ceramic resonator circuit External oscillation circuit Fig. 26 External clock input circuit WIT R R instruction ONW control 1/2 1/8 Prescaler OUT MITSUBISHI MICROCOMPUTERS 3806 Group OUT C OUT OUT Open Vcc Vss Reset Q S STP instruction R output Internal clock ...

Page 30

... Memory expansion mode output pin. (Note) Fig. 28 Memory maps in various processor modes is the 7 b7 con- SS Fig. 29 Structure of CPU mode register con- SS MITSUBISHI MICROCOMPUTERS 3806 Group 0000 16 0008 16 SFR area SFR area 0040 16 Internal RAM Internal RAM reserved area reserved area ...

Page 31

... The bus cycles is not extended for an address in the area 0008 is received. _____ Fig. 30 ONW function timing SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ___ to 0007 and YYYY Dummy cycle Write cycle Read cycle Dummy cycle to 043F 16 MITSUBISHI MICROCOMPUTERS 3806 Group Write cycle regardless of whether the ONW signal 16, 31 ...

Page 32

... The read-modify-write instruction (ROR, CLB, or SEB, etc direction register Use instructions such as LDM and STA, etc., to set the port direc- tion registers. 32 MITSUBISHI MICROCOMPUTERS 3806 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Serial I/O In clock synchronous serial I/O, if the receive side is using an ex- ...

Page 33

... Mask ROM Order Confirmation Form 2. Mark Specification Form 3. Data to be written to ROM, in EPROM form (three identical copies) MITSUBISHI MICROCOMPUTERS 3806 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ROM PROGRAMMING METHOD The built-in PROM of the blank One Time PROM version and built- in EPROM version can be read or programmed with a general- purpose PROM programmer using a special programming adapter ...

Page 34

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

Page 35

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

Page 36

D-A CONVERTER CHARACTERISTICS (V CC Symbol Parameter — Resolution V — Absolute accuracy V 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 37

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 38

SWITCHING CHARACTERISTICS 1 Symbol Parameter t Serial I/O1 clock output “H” pulse width wH(S ) CLK1 t Serial I/O1 clock output “L” pulse width wL(S ) CLK1 t Serial I/O1 output delay time (Note 1) d(S –T D) CLK1 X ...

Page 39

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

Page 40

... Test conditions Fig. 32 valid time 8 valid time 8 valid time valid time clock that is anywhere between about 8 cycle and 13 cycles after MITSUBISHI MICROCOMPUTERS 3806 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER – unless otherwise noted Limits Min. Typ. Max. –20 – ...

Page 41

... P5 – – – average value measured over 100 ms. OL(avg) OH(avg) MITSUBISHI MICROCOMPUTERS 3806 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Conditions Ratings –0.3 to 7.0 –0 –0 –0 –0 500 – –65 to 150 ( ...

Page 42

... D P-channel output disable bit of the UART control register (bit 4 of address 001B = 4 REF Test conditions V = 5.0 V REF and 0037 ) contain “ MITSUBISHI MICROCOMPUTERS 3806 Group = – unless otherwise noted Limits Min. Typ. Max. V –2.0 CC 2.0 0.4 0.5 0.5 5 ...

Page 43

... Note: Using one D-A converter, with the value in the D-A conversion register of the other D-A converter being “00 rents flowing through the A-D resistance ladder. SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER = 4 REF Test conditions MITSUBISHI MICROCOMPUTERS 3806 Group , T = – unless otherwise noted Limits Unit Min. Typ. Max. 8 Bits 1 ...

Page 44

... Note1: When the P-channel output disable bit of the UART control register (bit 4 of address 001B Pins X pin and P7 –P7 are excluded. OUT MITSUBISHI MICROCOMPUTERS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (V = 4 Parameter (V = 4 Test conditions Fig ...

Page 45

... OUT _________ Note 1: The RESET output goes “H” in sync with the fall of the OUT ______ the RESET input goes “H”. MITSUBISHI MICROCOMPUTERS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (V = 4 Parameter (V = 4 ...

Page 46

... P7 – – < 5 < 4 average value measured over 100 ms. OH(avg) MITSUBISHI MICROCOMPUTERS 3806 Group Ratings –0.3 to 7.0 –0 +0.3 CC –0 –0.3 to 7.0 –0 –0 +0.3 CC 500 – –40 to 125 = – unless otherwise noted) ...

Page 47

... D P-channel output disable bit of the UART control register (bit 4 of address 001B (V = 2 REF Test conditions V = 5.0 V REF and 0037 ) contain “ MITSUBISHI MICROCOMPUTERS 3806 Group = – unless otherwise noted Limits Min. Typ. Max. V –2 –1.0 CC 2.0 1.0 ...

Page 48

... Note: Using one D-A converter, with the value in the D-A conversion register of the other D-A converter being “00 rents flowing through the A-D resistance ladder. 48 SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER = 2 REF Test conditions = 4 2 MITSUBISHI MICROCOMPUTERS 3806 Group , T = – unless otherwise noted Limits Unit Min. Typ. Max. 8 Bits 1 ...

Page 49

... D) CLK1 X t Serial I/O2 input hold time h(S –S ) CLK2 IN2 Note: When f MHz and bit 6 of address 001A IN MITSUBISHI MICROCOMPUTERS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (V = 4 Parameter is “1”. Divide this value by four when f 2 ...

Page 50

... CMOS output falling time (Note 2) f(CMOS) Note 1: When the P-channel output disable bit of the UART control register (bit 4 of address 001B pin is excluded. OUT 50 MITSUBISHI MICROCOMPUTERS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (V = 4 – unless otherwise noted Test conditions Min. ...

Page 51

... OUT _________ Note 1: The RESET output goes “H” in sync with the fall of the OUT ______ the RESET input goes “H”. MITSUBISHI MICROCOMPUTERS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (V = 4 Parameter (V = 4 ...

Page 52

... Test conditions Fig. 32 clock that is anywhere between about 8 cycle and 13 cycles after Measurement output pin 100pF Fig. 33 Circuit for measuring output switching characteristics (2) MITSUBISHI MICROCOMPUTERS 3806 Group – unless otherwise noted) a Limits Min. Typ. Max. –20 –20 ...

Page 53

... CLK1 CLK2 r f 0 CLK1 (S CLK1 su IN2- CLK2 (S CLK2 d(S CLK1 - d(S CLK2- S OUT2 ) MITSUBISHI MICROCOMPUTERS 3806 Group t WL(CNTR WL(INT WH(S ) CLK1 CLK2 IN2 ) t v(S CLK1 -T X D CLK2- OUT2 53 ...

Page 54

... -AL) 0 -SYNC) 0 -WR) t SU(ONW d(RESET- RESET ) OUT 0 MITSUBISHI MICROCOMPUTERS 3806 Group t WL -AH -AL -SYNC -WR) 0 -ONW -DB) SU(DB -DB) v( -DB ...

Page 55

... Timing Diagram in Memory Expansion Mode and Microprocessor Mode (b) RD,WR AD – – ONW (At CPU reading – (At CPU writing – MITSUBISHI MICROCOMPUTERS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER t WL(RD) t WL(WR) 0 d(AH-RD) t d(AH-WR) 0 d(AL-RD) t d(AL-WR) 0 su(ONW-RD) t su(ONW-WR WL(RD) 0 ...

Page 56

... These materials are intended as a reference to assist our customers in the selection of the Mitsubishi semiconductor product best suited to the customer’s application; they do not convey any license under any intellectual property rights, or any other rights, belonging to Mitsubishi Electric Corporation or a third party. ...

Page 57

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

Related keywords