M37478E8SP MITSUBISHI, M37478E8SP Datasheet
![no-image](/images/manufacturer_photos/0/4/451/mitsubishi_sml.jpg)
M37478E8SP
Available stocks
Related parts for M37478E8SP
M37478E8SP Summary of contents
Page 1
... M37477M8-XXXSP/FP One Time PROM version M37477E8SP/FP (Built-in PROM type microcomputers) M37477E8-XXXSP/FP M37478M4-XXXSP/FP Mask ROM version M37478M8-XXXSP/FP One Time PROM version M37478E8SP/FP (Built-in PROM type microcomputers) M37478E8-XXXSP/FP PROM version M37478E8SS (Built-in PROM type microcomputer) FEATURES Basic machine-language instructions ...................................... 71 Memory size ROM .............................. 8192 bytes (M37477M4, M37478M4) RAM ...
Page 2
... CLK P3 /CNTR /INT /INT 0 0 RESET COUT CIN V CC MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP RESET M37478M4-XXXFP NC 24 M37478M8-XXXFP M37478E8-XXXFP OUT Outline 56P6N-A pin ...
Page 3
... MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER 3 ...
Page 4
... MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ...
Page 5
... MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER 5 ...
Page 6
... P1 CMOS tri-states) –20 to 85°C CMOS silicon gate 32-pin shrink plastic molded DIP 32-pin plastic molded SOP 42-pin shrink plastic molded DIP 56-pin plastic molded QFP 42-pin ceramic DIP MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP Functions 1 (4 channels) for the 7477 group) ...
Page 7
... When CIN COUT 0 1 quartz crystal oscillator between X used, connect the clock input to the X Feedback resistor is connected between X MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP Functions , and and X pins external clock is used, the OUT pin and the X pin should be left ...
Page 8
... Notes the M37477M4-XXXSP/FP, M37478M4-XXXSP/FP, set this bit to “0” the 7477 group, set this bit to “0”. Fig. 1 Structure of CPU mode register 8 MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER CPU Mode Register The CPU mode register is allocated at address 00FB This register contains the stack page selection bit ...
Page 9
... RAM (192 bytes) for M37477M4 M37477M8/E8 M37478M4 M37478M8/E8 00BF 16 SFR area 00FF 16 0100 16 RAM (192 bytes) for M37477M8/E8 M37478M8/E8 01BF 16 Not used C000 16 E000 16 ROM (8K bytes) for FF00 16 M37477M4 M37478M4 FFE8 16 Interrupt vector area FFFF 16 MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP Zero page Special page 9 ...
Page 10
... Notes 1 : This address is not used in the 7477 group This address is allocated P1–P4 pull-up control register for the 7477 group. Fig. 3 SFR (Special Function Register) memory map 10 MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER 00E0 Transmit/receive buffer register 16 00E1 Serial I/O status register ...
Page 11
... FFEF , FFEE FFED , FFEC FFEB , FFEA FFE9 , FFE8 Non-maskable software interrupt 16 16 MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP interrupt becomes a key on wake up inter- 1 interrupt is selected. Also, if bit 5 1 interrupts function in the same as INT 1 0 Remarks is polarity programmable) 1 and ...
Page 12
... Fig. 5 Interrupt control 12 SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ) 16 interrupt selection bit 1 1 “L” level (for key-on wake-up MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP b0 Interrupt request register 2 (Address 00FD ) 16 INT interrupt request bit 0 INT interrupt request bit 1 CNTR or CNTR interrupt request bit ...
Page 13
... In the pulse width measuring mode, the timer counts the count source while the CNTR input or CNTR input tus of bit 4 in the edge polarity selection register; whether the “H” 1 MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER input is selected divided by 16, f(X IN ...
Page 14
... In this mode, do not select timer 3 overflow as the count source for timer 4. 14 MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER INPUT LATCH FUNCTION The 7477/7478 group can latch the P3 ...
Page 15
... T34M 3 1/2 TM2 /CNTR /CNTR /INT /INT 0 0 input. CIN MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP Data bus Timer 1 interrupt request Timer 2 interrupt request Timer 3 interrupt request Timer 4 interrupt request F/F TM2 ...
Page 16
... CIN f(X ) divided by 64 CIN f(X ) divided by 128 CIN f(X ) divided by 256 CIN MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP b0 Timer 34 mode register (T34M) (Address 00F9 ) 16 Timer 3 count stop bit 0 : Count start 1 : Count stop Timer 3 count source selection bits (Note f(X ) divided ...
Page 17
... Transmit buffer register Transmit buffer empty flag (TBE) Address 00E0 16 Data bus TSC = 0 MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP Address 00E2 16 clock selection bit (SCS) 1/4 Serial I/O status register Address 00E1 ...
Page 18
... start bit data bits parity bit stop bit(s) RBF MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP Address 00E2 16 UART control register Address 00E3 16 Serial I/O synchronous clock selection bit Address 00E1 16 Serial I/O status register TSC ...
Page 19
... Baud Rate Generator BRG The baud rate generator determines the baud rate for serial trans- fer. 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 7477/7478 GROUP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER 19 ...
Page 20
... Receive disabled 1 : Receive enabled Serial I/O mode selection bit (SIOM Asynchronous serial I/O (UART Clock synchronous serial I/O Serial I/O enable bit (SIOE Serial I/O disabled ) Serial I/O enabled MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP ) 16 )divided )divided by16 IN serial I/O is selected) BRG output divided by 16 (when UART is selected) ...
Page 21
... Data bus bit 3 bit 0 A-D control register (address 00D9 A-D control circuit A-D conversion register Comparator (address 00DA 16 Switch tree Ladder resistor V (Note / /IN pins MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP ) contains informa 8MHz), the A-D conversion completion interrupt request ) REF 21 ...
Page 22
... A-D conversion end bit 0 : Under conversion 1 : End conversion Nothing is allocated (The value is undefined at reading) This bit must be set to “0”. Note : Do not select the 7477 group Fig. 14 Structure of A-D control register 22 SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ) 16 (Note) MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP ...
Page 23
... Port P3 Noise eliminating EG circuit 0 Port P3 Noise EG eliminating EG circuit 1 input. CIN MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP are invalid. 1 Port P3 data read circuit 3 CNTR interrupt request signal Port P3 data read circuit 2 data read circuit 0 INT interrupt request signal 0 data read circuit 1 5 INT ...
Page 24
... Fig. 17 Internal state of microcomputer at reset ? 00, S 00, S-1 00, S-2 FFFE ? ? Notes 1 : Frequency relation The mark “?” means that the address is changeable depending upon the previous state. MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP Address 00 16 (C1 ) … (C3 ) … (C9 ) … ...
Page 25
... This is a timer input pin, and is shared with port P3 When this pin is selected to CNTR pin and “H” to “L” or “L” to “H” transition input is applied to this pin, the CNTR 0 dress 00FD ) is set to “1”. 16 MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP and P4 0 and P5 are shared with clock 0 1 ...
Page 26
... Port latch T 1 T12M 3 Direction register Port latch T 0 Direction register Port latch Direction register Port latch Tr1 to Tr5 are pull-up transistors. 3 MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Tr1 Port P0 Tr2 Port P1 3 Tr3 Port P1 2 Tr4 Port P1 1 Tr5 ...
Page 27
... CLK output SIOE TE Direction register Port latch SIOE RE Direction register Port latch Pull-up control register Tr6 to Tr9 are pull-up transistors. MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Tr6 Port P1 7 Tr7 Port P1 6 CLK input Tr8 Port P1 5 Tr9 Port P1 ...
Page 28
... Data bus Direction register Data bus Fig. 21 Block diagram of ports P2 – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Multi- plexer Port Control in units of 4-bit (Control in units of 2-bit for the 7477 group) Port latch Tr10 is pull-up transistor MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP Port P2 Tr10 Port P4 ...
Page 29
... Fig. 22 Block diagram of port P5 SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Pull-up control register CIN CM 4 Tr11 to Tr14 are pull-up transistors Note : The 7477 group does not have this port. MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP Tr11 Port P5 3 Tr12 Port P5 2 Tr13 Port ...
Page 30
... M37477M4-XXXSP/ generated from the External oscillation circuit Fig. 25 External clock input circuit (7477 group) External oscillation Fig. 26 External clock input circuit (7478 group) MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER M37477M4-XXXSP/ OUT OUT ...
Page 31
... High Clock ( stop bit (Note 2) IN OUT 0 : Oscillates 1 : Stops Internal system clock selection bit (Note selected (normal mode) IN OUT selected (low-speed mode) CIN COUT MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP Timer 3 Timer 4 Internal clock Reset STP instruction 31 ...
Page 32
... CIN = f(X )/2 CIN Interrupt (Note 2) f(X ) stop IN f(X ) oscillation CIN = f(X )/2 CIN Interrupt MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER STP instruction f(X ) stop IN f(X ) stop CIN stop Interrupt (Note 1) STP instruction f(X ) stop IN f(X ) stop CIN stop Interrupt (Note STP instruction ...
Page 33
... Latency time for oscillation to stabilize (by program) Internal clock source switching (X Normal program ) ) Operating at f(X ( Operating at f(X ) CIN /CNTR , timer 1, timer 2, timer 3, timer 4, serial I/O, key on wake Operating at f Operating at f MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER ) IN ) CIN 33 ...
Page 34
... Clock X and clock for clock function X Timer 4 overflow (X/ /16 timer 3 timer 4) C Internal system clock start Program start from interrupt vector Normal program 34 SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER halt (STP instruction) C /CNTR , timer 1, timer 2, serial I/O, key on wake oscillation start C MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP ...
Page 35
... X COUT 0 1 crystal oscillator between X CIN nect the clock input to the X CIN connected between X and X CIN Open. MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP Functions and applied. SS pins external clock is used, the clock OUT pin and the X pin should be left open ...
Page 36
... / RESET REF OUT MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP M37477E8, M37478E8 M5L27C256K Ports P1 – – – ...
Page 37
... REF OUT MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP RESET COUT CIN ...
Page 38
... Set the CE pin to “L” (4) For the programmable microcomputer (shipped in One Time 7 PROM version), Mitsubishi does not perform PROM write test and screening in the assembly process and following pro- cesses. To improve reliability after write, performing write and test according to the flow below before use is recommended. ...
Page 39
... The execution of these instructions does not modify the con- tents of the processor status register. DATA REQUIRED FOR MASK ORDERING Please send the following data for mask orders. (1) mask ROM confirmation form (2) mark specification form (3) ROM data ......................................................... EPROM 3 sets MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER 39 ...
Page 40
... IN f MHz IN Use as UART mode f MHz 2 4 (avg) and I (avg) are the average value during a 100ms. OL MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Ratings –0 –0 +0 –0 +0.3 CC –0 +0.3 CC 1000 (Note) – – ...
Page 41
... At normal IN V mode, A-D conversion is f(X )=4MHz IN executed. V f(X )=8MHz wait mode. f(X )=4MHz stop mode, f(X )= Stop all oscillation MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP Limits Min. Typ. Max 0.5 0.3 0 – – –0.25 –1.0 CC – ...
Page 42
... Reference input voltage REF Ladder resistance value R LADDER Analog input voltage SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Test Conditions V = 2.7 to 5 MHz 4.5 to 5 MHz CC IN MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP Limits Unit Min. Typ. Max. 8 bits LSB ± 12 ...
Page 43
... IN f MHz IN Use as UART mode f MHz 2 4 (avg) and I (avg) are the average value during a 100ms. OL MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Ratings –0 –0 +0 –0 +0.3 CC –0 +0.3 CC 1000 (Note) – – ...
Page 44
... V At wait mode, T =25° f(X )=0, f(X )=32kHz, low- IN CIN V power mode T At stop mode, f(X )=0, f(X )=0, V =5V IN CIN CC T Stop all oscillation MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP = –20 to 85°C, unless otherwise noted) a Limits Min. Typ. Max 0.5 0.3 0.5 0.3 0 0.3 CC –5 ...
Page 45
... Reference input voltage REF R Ladder resistance value LADDER V IA Analog input voltage SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER Test Conditions V = 2.7 to 5 MHz 4.5 to 5 MHz CC IN MITSUBISHI MICROCOMPUTERS 7477/7478 GROUP Limits Unit Min. Typ. Max. 8 bits ±3 LSB 25 s 12.5 0 ...
Page 46
... 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 47
REVISION DESCRIPTION LIST Rev. No. 1.0 First Edition 7477/7478 GROUP DATA SHEET Revision Description (1/1) Rev. date 971226 ...