M38B79FFFP MITSUBISHI, M38B79FFFP Datasheet

no-image

M38B79FFFP

Manufacturer Part Number
M38B79FFFP
Description
Single-chip 8-bit CMOS microcomputer. ROM 61440 bytes, RAM 2048 bytes. Flash memory version.
Manufacturer
MITSUBISHI
Datasheet
DESCRIPTION
The 38B7 group is the 8-bit microcomputer based on the 740 family
core technology.
The 38B7 group has six 8-bit timers, one 16-bit timer, a fluorescent
display automatic display circuit, 16-channel 10-bit A-D converter, a
serial I/O with automatic transfer function, which are available for
controlling musical instruments and household appliances.
The 38B7 group has variations of internal memory type. For details,
refer to the section on part numbering.
For details on availability of microcomputers in the 38B7 group, refer
to the section on group expansion.
Built-in pull-down resistors connected to high-breakdown voltage ports
are available by specifying with the mask option in the mask ROM
version. For the details, refer to the section on the mask option of
pull-down resistor.
FEATURES
<Microcomputer mode>
Basic machine-language instructions ....................................... 71
The minimum instruction execution time .......................... 0.48 s
(at 4.19 MHz oscillation frequency)
Memory size
Programmable input/output ports ............................................. 75
High-breakdown-voltage output ports ...................................... 52
Software pull-up resistors . (Ports P6
PA, PB)
Interrupts .................................................. 22 sources, 16 vectors
Timers ........................................................... 8-bit
Serial I/O1 (Clock-synchronized) ................................... 8-bit
Serial I/O2 (UART or Clock-synchronized) .................... 8-bit
Serial I/O3 (Clock-synchronized) ................................... 8-bit
PWM ............................................................................ 14-bit
A-D converter .............................................. 10-bit
D-A converter ................................................................ 1 channel
Fluorescent display function ......................... Total 56 control pins
Interrupt interval determination function ..................................... 1
Watchdog timer ............................................................ 16-bit
Buzzer output ............................................................................. 1
Two clock generating circuits
Main clock (X
Sub-clock (X
(connect to external ceramic resonator or quartz-crystal oscillator)
Power source voltage
In high-speed mode ................................................... 4.0 to 5.5 V
In middle-speed mode ........................................... 2.7 to 5.5 V (*)
In low-speed mode ................................................ 2.7 to 5.5 V (*)
(*: 4.0 to 5.5 V for Flash memory version)
(at 4.19 MHz oscillation frequency and high-speed selected)
(at 4.19 MHz oscillation frequency and middle-speed selected)
(at 32 kHz oscillation frequency)
CIN
ROM ........................................................ 60K bytes
RAM .......................................................2048 bytes
IN
–X
–X
OUT
COUT
) .......................... Internal feedback resistor
(max. 256-byte automatic transfer function)
) .......... Without internal feedback resistor
(Serviceable even in low-speed mode)
8-bit
4
1 (also functions as timer 6)
to P6
7
, P7, P8
0
6, 16-bit
16 channels
to P8
3
, P9,
1
1
1
1
1
1
<Flash memory mode>
APPLICATION
Musical instruments, VCR, household appliances, etc.
Notes
Operating temperature range (at programming/erasing)
Supply voltage ................................................. V
Program/Erase voltage ............................... V
Programming method ...................... Programming in unit of byte
Erasing method
Batch erasing ........................................ Parallel/Serial I/O mode
Block erasing .................................... CPU reprogramming mode
Program/Erase control by software command
Number of times for programming/erasing ............................ 100
1. The flash memory version cannot be used for application em-
2. Power source voltage Vcc of the flash memory version is 4.0
Power dissipation
In high-speed mode .......................................................... 35 mW
In low-speed mode ............................................................. 60 W
Operating temperature range ................................... –20 to 85 °C
..................................................................... Normal temperature
(at 4.19 MHz oscillation frequency)
(at 32 kHz oscillation frequency, at 3 V power source voltage)
bedded in the MCU card.
to 5.5 V.
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
38B7 Group
PP
CC
= 11.7 to 12.6 V
= 5 V ± 10 %
1

Related parts for M38B79FFFP

M38B79FFFP Summary of contents

Page 1

... The flash memory version cannot be used for application em- bedded in the MCU card. 2. Power source voltage Vcc of the flash memory version is 4.0 to 5.5 V. APPLICATION , P7 P9, Musical instruments, VCR, household appliances, etc 16-bit channels 1 MITSUBISHI MICROCOMPUTERS 38B7 Group = 5 V ± 11 ...

Page 2

... MITSUBISHI MICROCOMPUTERS 38B7 Group * ...

Page 3

... Fig. 2 Functional block diagram MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER 3 ...

Page 4

... pin and X IN OUT level. EE level. EE level. EE level. EE MITSUBISHI MICROCOMPUTERS 38B7 Group Function except a port function pin. and X pins to set the IN OUT pin and leave the X pin open. IN OUT • FLD automatic display pins pin. EE • FLD automatic display pin ...

Page 5

... CLK11 OUT1 IN1 MITSUBISHI MICROCOMPUTERS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Function , S . CLK21 CLK22 38B7 Group Function except a port function • FLD automatic display pins • Serial I/O2 function pins • Interrupt input pins • Interrupt input pin • Dimmer signal output pin • ...

Page 6

... Fig. 3 Part numbering 6 MITSUBISHI MICROCOMPUTERS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ...

Page 7

... Currently supported products are listed below. Table 3 List of supported products ROM size (bytes) Product ROM size for User ( ) M38B79MFH-XXXXFP 61440 (61310) M38B79FFFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER RAM size (bytes) 2048 ...

Page 8

... Program counter Processor status register (PS) Carry flag Zero flag Interrupt disable flag Decimal mode flag Break flag Index X mode flag Overflow flag Negative flag MITSUBISHI MICROCOMPUTERS 38B7 Group and used to indicate the address of the L ” ...

Page 9

... “ 1 ” “ 0 ” Push instruction to stack PHA PHP MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ...

Page 10

... When the BIT instruction is executed, bit 7 of the memory location operated on by the BIT instruction is stored in the negative flag. Z flag I flag D flag B flag _ SEI SED _ CLI CLD MITSUBISHI MICROCOMPUTERS 38B7 Group T flag V flag N flag SET _ _ CLT CLV ...

Page 11

... MITSUBISHI MICROCOMPUTERS 38B7 Group 11 ...

Page 12

... FFFE 16 16 FFFF 16 Note: When 1024 bytes or more are used as RAM area, this area can be used. MITSUBISHI MICROCOMPUTERS 38B7 Group SFR area 1 Zero page Reserved area Not used (Note) RAM area for FLD automatic display SFR area 2 RAM area for Serial I/O ...

Page 13

... Port P6 FLD/Port switch register (P6FPR) 16 (P0DOR) 0EFC FLD output control register (FLDCON) 16 0EFD (P2DOR) Buzzer output control register (BUZCON) 16 0EFE Flash memory control register (FCON) 16 Flash command register (FCMD) 0EFF 16 Note: Flash memory version only. MITSUBISHI MICROCOMPUTERS 38B7 Group (Note) (Note) 13 ...

Page 14

... No pull-up 1: Pull- pull-up 1: Pull-up MITSUBISHI MICROCOMPUTERS 38B7 Group –P6 ). The high-breakdown-voltage reset, the P-channel output transis- EE level (“L”) EE –P8 , P9, PA and PB have built-in pro- ...

Page 15

... Timer output Timer output Buzzer output External interrput input CMOS compatible input Sub-clock generating level circuit I/O CMOS 3-state output External count input MITSUBISHI MICROCOMPUTERS 38B7 Group Related SFRs Ref.No. FLDC mode register (1) P0 digit output set switch register FLDC mode register (2) ...

Page 16

... A-D conversion input A-D conversion input CMOS compatible input level CMOS 3-state output CMOS compatible input Serial I/O1 function I/O level D-A conversion output CMOS 3-state output Serial I/O1 function I/O MITSUBISHI MICROCOMPUTERS 38B7 Group Related SFRs Ref.No. Serial I/O3 control (6) register AD/DA control register (13) (14) Timer X mode register 2 (15) ...

Page 17

... MITSUBISHI MICROCOMPUTERS 38B7 Group ...

Page 18

... MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ...

Page 19

... Data bus (20) Port MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER PWM output selection bit ...

Page 20

... Disable the external interrupt which is selected. (2) Change the active edge in interrupt edge selection register (3) Clear the set interrupt request bit to “0.” (4) Enable the external interrupt which is selected –INT ) is set MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ...

Page 21

... At completion of A-D conversion FFDE At falling edge of the last timing immediately 16 before blanking period starts At rising edge of digit (each timing) FFDC At BRK instruction execution 16 MITSUBISHI MICROCOMPUTERS 38B7 Group Remarks Non-maskable External interrupt (active edge selectable) External interrupt (active edge selectable) Valid when INT ...

Page 22

... MITSUBISHI MICROCOMPUTERS 38B7 Group Interrupt request ...

Page 23

... OUT /PWM pin Fig. 16 Structure of timer related registers MITSUBISHI MICROCOMPUTERS 38B7 Group ...

Page 24

... MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ...

Page 25

... MITSUBISHI MICROCOMPUTERS 38B7 Group ...

Page 26

... X. Before using this function, set the corresponding port direction regis- ters to output mode. pin 2 pin. Except for 2 pin to input. 2 MITSUBISHI MICROCOMPUTERS 38B7 Group and P9 each time the timer X underflows ...

Page 27

... MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Data bus Timer X (high-order) ( ...

Page 28

... “ 0 ” Serial I/O1 counter “ 1 ” latch 5 Serial I/O1 register (8) MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ). and PB3/S pins each have a ...

Page 29

... MITSUBISHI MICROCOMPUTERS 38B7 Group / S ...

Page 30

... MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER input goes to “L” after the start of the next serial CLK1 pin control bit is automatically reset to “0” and OUT1 ) of serial I/O1 control register 1. ...

Page 31

... MITSUBISHI MICROCOMPUTERS 38B7 Group ...

Page 32

... MITSUBISHI MICROCOMPUTERS 38B7 Group ...

Page 33

... S input and the BUSY1 S output goes to “L”. BUSY1 CLK1 output is selected by the , while CLK1 input and an “H” level MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER S STB1 S CLK1 S OUT1 output operation STB1 CLK1 ...

Page 34

... I/O1 register Fig (external synchronous clock, 8-bit serial I/O) Automatic transfer interval output function outputs each 1-byte) BUSY1 MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER BUSY1 output returns to “L”, the initial status, BUSY1 BUSY1 output goes to “L” each time 1-byte of receive ...

Page 35

... RDY1 RDY1 input and an “L” RDY1 S CLK1 S OUT1 Fig input RDY1 signal. BUSY1 output: “L”, S BUSY1 input and an RDY1 MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER RDY1 CLK1 output operation RDY1 input operation (internal synchronous clock) RDY1 35 ...

Page 36

... Fig. 35 Handshake operation at serial I/O1 mutual connecting (2) 36 SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Write to serial A: I/O1 register S CLK1 S RDY1 S RDY1 S BUSY1 S BUSY1 S CLK1 B: Write to serial B: I/O1 register Write to serial A: I/O1 register S CLK1 S RDY1 S RDY1 S BUSY1 S BUSY1 S CLK1 B: Write to serial B: I/O1 register MITSUBISHI MICROCOMPUTERS 38B7 Group ...

Page 37

... TBE = 0 TBE = 1 TSC = 0 MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ) to “1”. For clock synchronous serial I/ selected as a clock I/O pin CLK22 ( used as an I/O port. 6 CLK21 ...

Page 38

... MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ...

Page 39

... The baud rate generator determines the baud rate for serial trans- fer. With the 8-bit counter having a reload register, the baud rate generator divides the frequency of the count source by 1/(n+1), where n is the value written to the baud rate generator MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER 39 ...

Page 40

... I/O port.) CLK22 6 CLK21 Not used (return “1” when read) Fig. 40 Structure of serial I/O2 related register output pin.) RDY2 MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Serial I/O2 control register (SIO2CON : address 001D ) 16 BRG count source selection bit (CSS f(X )/2 or f(X ) ...

Page 41

... MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ...

Page 42

... Fig. 43 Timing of serial I/O3 (LSB first) 42 MITSUBISHI MICROCOMPUTERS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER D D ...

Page 43

... M35501 to P6 expansion digit (segment number /16, 4 MHz) IN /64, 4 MHz) IN /16, 4 MHz) IN /64, 4 MHz) IN M35501 expansion function 4 7 MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER 56) 40, digit number 16) 16) 52, digit number 16) ( CLK for the OUT 3 43 ...

Page 44

... MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ...

Page 45

... MITSUBISHI MICROCOMPUTERS 38B7 Group 45 ...

Page 46

... Fig. 46 Structure of FLDC related registers (2) 46 MITSUBISHI MICROCOMPUTERS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ...

Page 47

... Fig. 47 Structure of FLDC related registers (3) MITSUBISHI MICROCOMPUTERS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ...

Page 48

... Fig. 48 Structure of FLDC related registers (4) 48 MITSUBISHI MICROCOMPUTERS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ...

Page 49

... MITSUBISHI MICROCOMPUTERS 38B7 Group ...

Page 50

... MITSUBISHI MICROCOMPUTERS 38B7 Group to 0EDF are used register to count dis- 16 ...

Page 51

... MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER to 0EDF ...

Page 52

... MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ...

Page 53

... MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ...

Page 54

... Toff1 Low output term for blurring prevention MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER t. When the Tdisp counter ), Toff2 = 180 MHz) = 720 s ...

Page 55

... The key is fixed on the last digit interrupt. The output digit positions can be determined by reading the FLD data pointer (address 0EF8 MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ). ...

Page 56

... MITSUBISHI MICROCOMPUTERS 38B7 Group ) to “0” ...

Page 57

... Toff invalid function is disabled MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER to P6 FLD output reverse function 7 have the function to reverse the polarity of the FLD out out- 4 ...

Page 58

... H ” “ H ” “0”, 16 MITSUBISHI MICROCOMPUTERS 38B7 Group ) ...

Page 59

... This function is effective in 16-timing•ordinary mode and 16-timing gradation display mode value is set exceeding the timing count (FLD data pointer reload register’s set value + 1) for any port, the output of such port is “L” MITSUBISHI MICROCOMPUTERS 38B7 Group ...

Page 60

... (Address 0034 MITSUBISHI MICROCOMPUTERS 38B7 Group ) to at least 250 kHz during A-D conversion. Addition- ) must be set ...

Page 61

... ”, and the 16 Fig. 62 Block diagram of D-A converter /DA pin becomes “ 1 ” MITSUBISHI MICROCOMPUTERS 38B7 Group ...

Page 62

... MITSUBISHI MICROCOMPUTERS 38B7 Group ) ...

Page 63

... MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER s). Pulses output from the PWM output pin period of ADD bit Sub-periods tm lengthened ( 63) None 16 24, 40, 56 ...

Page 64

... MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ) Data 7B stored at address 0035 16 ...

Page 65

... MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER pin builds in the noise filter. 2 ”. ...

Page 66

... MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ) 2 ...

Page 67

... STP instruction disable bit 0: STP instruction enabled 1: STP instruction disabled Watchdog timer H count source selection bit 0: Watchdog timer L underflow 1: f(X )/8 or f(X )/16 IN CIN MITSUBISHI MICROCOMPUTERS 38B7 Group ) = 32 kHz frequency. CIN ) or divided by 16 for f(X ). The detection IN CIN ) = 4 MHz frequency, and kHz frequency. ...

Page 68

... P9 /B /AN functions as a buzzer output. 7 UZ02 Not available Buzzer output ON/OFF bit Buzzer output OFF (“0” output Buzzer output ON Not used (returns “0” when read) MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Buzzer output = 4.19 MHz) IN ...

Page 69

... RESET Fig. 76 Reset circuit example ? ? ? ? FFFC AD L Notes 1: The frequency relation of f(X ) and f The question marks (?) indicate an undefined state that depends on the previous state. MITSUBISHI MICROCOMPUTERS 38B7 Group Poweron (Note) Power source voltage CC 0V Reset input voltage 0. Note : Reset release voltage ; Vcc=2.7 V ...

Page 70

... MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ...

Page 71

... CIN ). Fig. 79 Ceramic resonator circuit External oscillation circuit or external pulse Fig. 80 External clock input circuit MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER and X oscillators stop. Timer 1 is set to IN CIN ”. 16 divided input to timer 1 as CIN ...

Page 72

... Main clock division ratio selection bits (Note 3) Middle-speed mode “1” “0” High-speed or low-speed mode STP instruction WIT instruction MITSUBISHI MICROCOMPUTERS 38B7 Group Timer 2 count source selection bit (Note 2) “0” Timer 2 “1” Timing (internal clock) ...

Page 73

... MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ...

Page 74

... Pull-down resistor power dissipation (digit) {power dissipation per 1 digit (4) Pull-down resistor power dissipation (segment) {power dissipation per 1 segment Tdisp (5) Internal circuit power dissipation (CPU, ROM, RAM etc.) = 190 mW (1) + (2)+ (3) + ( MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ...

Page 75

... Pull-down resistor power dissipation (segment) 2 [{45 – (5) Internal circuit power dissipation (CPU, ROM, RAM etc (1) + (2)+ (3) + (4) + (5) = 217 mW 20 Repeat cycle MITSUBISHI MICROCOMPUTERS 38B7 Group 31. 10. 16) (1 – 16 33. 20) (1 – 16 65. ...

Page 76

... Internal circuit power dissipation (CPU, ROM, RAM etc (1) + (2)+ (3) + (4) + (5) = 547 mW 24 Repeat cycle MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER (1 – 16 36.82 mW (1– 16 58. ( 12) (1 – 16 32.84 mW ...

Page 77

... The parallel I/O mode can be selected by connecting wires as shown in Figures 85 and supplying power to the V pins. In this mode, the M38B79FF operates as an equivalent of MITSUBISHI’s CMOS flash memory M5M28F101. However, be- cause the M38B79FF’s internal memory has a capacity of 60 Kbytes, programming is available for addresses 01000 ...

Page 78

... Input “H” or “L”, or keep them open. Input Input “H” or “L”, or keep them open. Input “H” or “L”, or keep them open. Input Input Input “H” or “L”, or keep them open. Keep this open. MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Functions . SS and X . ...

Page 79

... Fig. 85 Pin connection of M38B79FF when operating in parallel input/output mode SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Package type: 100P6S-A MITSUBISHI MICROCOMPUTERS 38B7 Group * ...

Page 80

... device code 00001 device code MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Floating Dout ___ ___ Second cycle Address input Data I/O Read address Read data (Output) Program address Program data (Input) ...

Page 81

... The contents of the command latch immediately after power- Valid address a(CE RRW WP WRR CLZ VSC a(AD MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER . a(OE) OLZ Dout ...

Page 82

... WPH MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ” in the first cycle. This command is used to 16 ___ Program verify WRR Dout Verify data output ...

Page 83

... WPH MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ___ ___ erase verify” over again. In this case, Erase verify WRR Dout 16 Verify data output t DH ...

Page 84

... WE input. At this time, the user can read out manufacture’s code 1C (i.e., MITSUBISHI) by inputting 0000 16 pins in the second cycle; the user can read out device code D0 (i. e., 1M-bit flash memory) by inputting 0001 These command and data codes are input/output at the same tim- ing as for read ...

Page 85

... Fig. 90 Programming/Erasing algorithm flow chart Erase H PP YES PASS VERIFY BYTE ? FAIL 00 16 INC ADRS DEVICE FAILED MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER START ALL BYTES = PROGRAM ALL BYTES = 00 16 ADRS = first location ...

Page 86

... –400 –100 ° ± unless otherwise noted Parameter Parameter MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Limits Min. Typ. Max 100 , 100 100 0.2Vcc 0.52Vcc ...

Page 87

... Fig. 91 Pin connection of M38B79FF when operating in serial I/O mode MITSUBISHI MICROCOMPUTERS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER wires as shown in Figures 91 and powering on the V then applying the the serial I/O mode, the user can use six types of software com- mands: read, program, program verify, erase, erase verify and error check ...

Page 88

... Input “H” or “L”, or keep them open. Input Input “H” or “L”, or keep them open. Input Input “H” or “L”, or keep them open. Input Input “H” or “L”, or keep them open. Keep this open. MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Functions . SS and X . ...

Page 89

... Read address input (L) Read address input (H) after the last rising edge of SCLK (at the 8th bit). (C-E) MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Third Fourth Read data (Output) Program data (Input) ————— ————— ...

Page 90

... SDA pin CRPV WR RC Verify read after the last rising edge of SCLK (at the 8th bit). (C-E) MITSUBISHI MICROCOMPUTERS 38B7 Group Program data input t WP ...

Page 91

... Verify address input (L) Verify address input (H) after the last rising edge of SCLK (at the 8th bit). (C-E) MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER tw E Erase erase verify” over again. In this case Verify data output ...

Page 92

... Command code input (80 ) Error flag output 16 after the last rising edge of the serial clock (at the 8th bit). (C-E) MITSUBISHI MICROCOMPUTERS 38B7 Group pin input to the V L level to terminate PP PP ...

Page 93

... SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ( ° ± MHz, unless otherwise noted) IN Parameter t c(CK) t r(CK) t w(CKH) t h(C-Q) t h(C- su(D-C) h(C-D) MITSUBISHI MICROCOMPUTERS 38B7 Group = 11.7 to 12.6 V, unless otherwise noted Limits Max. Min. (Note 1) 625 (Note 1) 625 (Note 2) 500 (Note 1) ...

Page 94

... Addresses 1000 to 7FFF Addresses 8000 to FFFF Not available Fix this bit to “0”. Not used (returns “0” when read) MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER /V pin, CPU reprogramming mode CNV /V pin, CPU reprogramming mode is valid. ...

Page 95

... Fig. 100 CPU mode register bit configuration in CPU rewriting mode MITSUBISHI MICROCOMPUTERS 38B7 Group /V pin pin becomes 0V ...

Page 96

... I/O mode. AC Electric Characteristics program verify” Note: The characteristics are the same as the characteristic of the microcomputer mode. ” set. 16 MITSUBISHI MICROCOMPUTERS 38B7 Group ” (i.e., data is not erased) 16 erase verify” again. erase verify” again ” before erasing in this case. ...

Page 97

... SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Erase YES 40 16 DIN YES PASS VERIFY BYTE ? FAIL FAIL 00 16 DEVICE INC ADRS FAILED MITSUBISHI MICROCOMPUTERS 38B7 Group START ALL BYTES = PROGRAM ALL BYTES = 00 16 ADRS = first location WRITE ERASE 20 16 COMMAND WRITE ERASE 20 ...

Page 98

... The read-modify-write instructions (ROR, CLB, or SEB, etc direction register. Use instructions such as LDM and STA, etc., to set the port direc- tion registers. 98 MITSUBISHI MICROCOMPUTERS SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Serial I/O •Using an external clock When using an external clock, input “H” to the external clock input pin and clear the serial I/O interrupt request bit before executing serial I/O transfer and serial I/O automatic transfer ...

Page 99

... The following are necessary when ordering a mask ROM produc- tion: 1.Mask ROM Confirmation Form 2.Mark Specification Form 3.Data to be written to ROM, in EPROM form (three identical cop- ies one floppy disk. SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER pin), between power SS ) and PP pin) as well. SS resistance. MITSUBISHI MICROCOMPUTERS 38B7 Group 99 ...

Page 100

... P3 – – – – CLK21 CLK22 , RESET, CNVss CIN MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Ratings –0 – +0 –0 +0 – +0 –0 +0.3 CC –0 +0 – ...

Page 101

... P7 – – – (avg), I (avg) are average value measured over 100 ms. OH MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Limits Min. Typ. – – – – – –P4 ...

Page 102

... Pull-up “on” – – – – –P6 (Note CIN MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Limits Min. Typ. Max. V –2 –2.0 CC 2.0 0.4 0.5 0.5 5.0 5.0 5.0 4.0 –5 –70 –140 I SS – –25 – – ...

Page 103

... WIT state) CIN Output transistors “off” Increment when A-D conversion is executed All oscillation stopped °C (in STP state) Output transistors “off” °C MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Limits Typ. Max. Min. 600 900 400 – ...

Page 104

... MHz in high-speed mode, unless otherwise noted) IN Test conditions 5. REF V = 5.0 V REF = 3.0 to Vcc – °C, unless otherwise noted) a Test conditions V = 4.0–5 3.0–5 MITSUBISHI MICROCOMPUTERS 38B7 Group SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Limits Min. Typ. Max. 10 ±1 ±2 150 200 0.5 5.0 35 Limits Min. Typ. ...

Page 105

... IIDCON2, IIDCON3 = “01” or “10” when noise filter is used 2: Unit indicates sample clock number of noise filter. SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Parameter input) IN input) CIN when noise filter is not used) 2 when noise filter is not used) 2 MITSUBISHI MICROCOMPUTERS 38B7 Group Limits Unit Min. Typ. Max. 2.0 s 238 ns 60 ...

Page 106

... – MITSUBISHI MICROCOMPUTERS 38B7 Group Limits Unit Min. Typ. Max. (S )/2–160 C CLK ns (S )/2– ...

Page 107

... CIN ) 0.8V CC 0.2V t C(S ) CLK f(S ) CLK r WL(S ) CLK 0.8V 0. h CLK t t h(S su(RxD-S CLK ) 0. CLK OUT t d(S -TxD) CLK MITSUBISHI MICROCOMPUTERS 38B7 Group t WL(CNTR WL(INT WL(X ) CIN CC t WH(S ) CLK CLK IN CLK -RxD CLK OUT t v(S -TxD) CLK 107 ...

Page 108

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

REVISION HISTORY Rev. No. 1.0 First Edition 38B7 GROUP DATA SHEET Revision Description (1/1) Rev. date 10/04/00 ...

Related keywords