To our customers, Old Company Name in Catalogs and Other Documents On April 1st, 2010, NEC Electronics Corporation merged with Renesas Technology C
ii3800 GROUP USER'S MANUALTable of contentsCHAPTER 2. APPLICATION2.1 I/O port...
APPLICATION2.4 Processor mode2-493800 GROUP USER’S MANUAL2.4 Processor mode2.4.1 Memory map of processor modeFig. 2.4.1 Memory map of processor mode r
APPLICATION2.4 Processor mode2-503800 GROUP USER’S MANUAL2.4.3 Processor mode application examples(1) Application example of memory expansion in the c
APPLICATION2.4 Processor mode2-513800 GROUP USER’S MANUALFigure 2.4.4, Figure 2.4.5 and Figure 2.4.6 show a standard timing at 8 MHz (No-Wait).Fig. 2.
APPLICATION2.4 Processor mode2-523800 GROUP USER’S MANUALFig. 2.4.6 Write-cycle (W control, SRAM)td(AH—WR)W(WR of 3800)65 ns (max)35 ns (min)Address (
APPLICATION2.4 Processor mode2-533800 GROUP USER’S MANUAL(2) Application example of memory expansion in the case where the ONW (One-Wait)function is u
APPLICATION2-542.5 Reset3800 GROUP USER’S MANUAL2.5 Reset2.5.1 Connection example of reset ICFigure 2.5.2 shows the system example which switch to the
CHAPTER 3CHAPTER 3APPENDIX3.1 Electrical characteristics3.2 Standard characteristics3.3 Notes on use3.4 Countermeasures against noise3.5 List of regis
3800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristics3-23.1 Electrical characteristics3.1.1 Absolute maximum ratingsPower source voltageInpu
3-33800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristics2.01.05.05.0–5.05.51382.0110“H” output voltage P00–P07, P10–P17, P20–P27,P30–P37, P40
3800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristics3-4Note: When bit 6 of address 001A16 is “1”. Divide this value by four when bit 6 of ad
iiiTable of contents3800 GROUP USER'S MANUAL3.3.5 Notes on memory expansion mode and microprocessor mode ... 3-213.3.6 N
3-53800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristicsSerial I/O clock output “H” pulse widthSerial I/O clock output “L” pulse widthSerial
3800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristics3-6Before φ ONW input set up timeAfter φ ONW input hold timeBefore φ data bus set up tim
3-73800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristicsNote: The RESETOUT goes “H” in sync with the fall of the φ clock that is anywhere bet
3800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristics3-83.1.5 Absolute maximum ratings (Extended operating temperature version)Table 3.1.12
3-93800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristicsWhen STP instructionis executed with clockstopped, outputtransistors isolated.Note :
3800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristics3-103.1.8 Timing requirements and Switching characteristics (Extended operating tempera
3-113800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristicsTable 3.1.17 Timing requirements in memory expansion mode and microprocessor mode(Ex
3800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristics3-123.1.9 Timing diagramTiming DiagramFig. 3.1.2 Timing diagram (in single-chip mode)0
3-133800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristicsTiming Diagram in Memory Expansion Mode and Microprocessor Mode (1)Fig. 3.1.3 Timin
3800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristics3-14Timing Diagram in Memory Expansion Mode and Microprocessor Mode (2)Fig. 3.1.4 Timin
3800 GROUP USER’S MANUALiList of figuresList of figuresCHAPTER 1 HARDWAREFig. 1 Pin configuration of M38002M4-XXXFP/M38003M6-XXXHP ...
APPENDIX3.2 Standard characteristics3-153800 GROUP USER’S MANUAL3.2 Standard characteristics3.2.1 Power source current characteristic examplesFigures
3-163800 GROUP USER’S MANUALAPPENDIX3.2 Standard characteristics3.2.2 Port standard characteristic examplesFigures 3.2.3, Figure 3.2.4, Figure 3.2.5 a
APPENDIX3.2 Standard characteristics3-173800 GROUP USER’S MANUALFig. 3.2.5 Standard characteristic example of CMOS output port at N-channel drive (1)[
3800 GROUP USER’S MANUAL3-18APPENDIX3.3 Notes on use(1) Sequence for switching an external interruptdetection edge Clear an interrupt enable bit to “0
3800 GROUP USER’S MANUAL3-19APPENDIX3.3 Notes on use(3) Stop of data transmission and reception in a clock synchronous serial I/O modeAs for the seria
3800 GROUP USER’S MANUAL3-20APPENDIX3.3 Notes on use3.3.4 Notes on input and output pins(1) Fix of a port input level in stand-by stateFix input level
3800 GROUP USER’S MANUAL3-21APPENDIX3.3 Notes on use3.3.5 Notes on memory expansion mode and microprocessor mode(1) Writing data to the port latch of
3800 GROUP USER’S MANUAL3-22APPENDIX3.3 Notes on use(2) Write and readIn PROM mode, operation is the same as that of the M5M27C256AK, but programming
3800 GROUP USER’S MANUAL3-23APPENDIX3.3 Notes on useTable 3.3.3 Setting of PROM programmer addressPROM programmer start addressAddress : 608016 (Note
3800 GROUP USER’S MANUAL3-24APPENDIX3.4 Countermeasures against noise3.4 Countermeasures against noiseCountermeasures against noise are described be
ii3800 GROUP USER’S MANUALList of figuresFig. 2.2.7 Structure of Interrupt request register 2 ...
3800 GROUP USER’S MANUAL3-25APPENDIX3.4 Countermeasures against noiseFig. 3.4.2 Wiring for clock I/O pins(3) Wiring for the VPP pin of the One Time PR
3800 GROUP USER’S MANUAL3-26APPENDIX3.4 Countermeasures against noise3.4.3. Consideration for oscillatorTake care to prevent an oscillator that genera
3800 GROUP USER’S MANUAL3-27APPENDIX3.4 Countermeasures against noise3.4.5 Providing of watchdog timer function bysoftwareIf a microcomputer runs away
3800 GROUP USER’S MANUAL3-28APPENDIX3.5 List of registers3.5 List of registersFig. 3.5.2 Structure of Port Pi direction register (i = 0, 1, 2, 3, 4, 5
3800 GROUP USER’S MANUAL3-29APPENDIX3.5 List of registersFig. 3.5.3 Structure of Transmit/Receive buffer registerFig. 3.5.4 Structure of Serial I/O st
3800 GROUP USER’S MANUAL3-30APPENDIX3.5 List of registersb7 b6 b5 b4 b3 b2 b1 b0Serial I/O control register00000 : Transmit buffer empty1 : Transmit s
3800 GROUP USER’S MANUAL3-31APPENDIX3.5 List of registersFig. 3.5.7 Structure of Baud rate generatorFig. 3.5.8 Structure of Prescaler 12, Prescaler X,
3800 GROUP USER’S MANUAL3-32APPENDIX3.5 List of registersFig. 3.5.9 Structure of Timer 1Fig. 3.5.10 Structure of Timer 2, Timer X, Timer Yb7 b6 b5 b4
3800 GROUP USER’S MANUAL3-33APPENDIX3.5 List of registersOperating mode ofTimer X/Timer YTimer modePulse output modeEvent counter modePulse width meas
3800 GROUP USER’S MANUAL3-34APPENDIX3.5 List of registersFig. 3.5.12 Structure of Interrupt edge selection registerFig. 3.5.13 Structure of CPU mode r
3800 GROUP USER’S MANUALiiiList of figuresFig. 2.3.31 Setting of related registers at a transmitting side [Communication using UART] ...
3800 GROUP USER’S MANUAL3-35APPENDIX3.5 List of registersFig. 3.5.14 Structure of Interrupt request register 1Fig. 3.5.15 Structure of Interrupt reque
3800 GROUP USER’S MANUAL3-36APPENDIX3.5 List of registersFig. 3.5.16 Structure of Interrupt control register 1Fig. 3.5.17 Structure of Interrupt contr
APPENDIX3.6 Mask ROM ordering method3-373800 GROUP USER’S MANUAL3.6 Mask ROM ordering methodGZZ-SH04-34B<13B0>Receipt740 FAMILY MASK ROM CONFIRM
APPENDIX3.6 Mask ROM ordering method3-383800 GROUP USER’S MANUAL740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICROCOMPUTER M38002M2-XXXSP/FPMITSU
APPENDIX3.6 Mask ROM ordering method3-393800 GROUP USER’S MANUALGZZ-SH04-79B<16A0>Receipt740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICRO
APPENDIX3.6 Mask ROM ordering method3-403800 GROUP USER’S MANUAL740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICROCOMPUTER M38002M2DXXXSP/FPMITSU
APPENDIX3.6 Mask ROM ordering method3-413800 GROUP USER’S MANUALGZZ-SH03-22B<9YB0>Receipt740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICRO
APPENDIX3.6 Mask ROM ordering method3-423800 GROUP USER’S MANUAL740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICROCOMPUTER M38002M4-XXXSP/FPMITSU
APPENDIX3.6 Mask ROM ordering method3-433800 GROUP USER’S MANUALGZZ-SH05-12B<21A0>Receipt740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICRO
APPENDIX3.6 Mask ROM ordering method3-443800 GROUP USER’S MANUAL740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICROCOMPUTER M38002M4DXXXSP/FPMITSU
iv3800 GROUP USER’S MANUALList of figuresCHAPTER 3 APPENDIXFig. 3.1.1 Circuit for measuring output switching characteristics...
APPENDIX3.6 Mask ROM ordering method3-453800 GROUP USER’S MANUALGZZ-SH04-62B<14B0>Receipt740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICRO
APPENDIX3.6 Mask ROM ordering method3-463800 GROUP USER’S MANUAL740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICROCOMPUTER M38003M6-XXXSP/FP/HPMI
APPENDIX3.6 Mask ROM ordering method3-473800 GROUP USER’S MANUALGZZ-SH04-30B<13B0>Receipt740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICRO
APPENDIX3.6 Mask ROM ordering method3-483800 GROUP USER’S MANUAL27512*=a$0000.BYTEa ‘M38004M8–’740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICRO
APPENDIX3.6 Mask ROM ordering method3-493800 GROUP USER’S MANUALGZZ-SH07-23B<33A0>Receipt740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICRO
APPENDIX3.6 Mask ROM ordering method3-503800 GROUP USER’S MANUAL27512*=a$0000.BYTEa ‘M38004M8D’740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICRO
APPENDIX3.7 Mark specification form3-513800 GROUP USER’S MANUAL3.7 Mark specification form
APPENDIX3.7 Mark specification form3-523800 GROUP USER’S MANUAL
APPENDIX3.8 Package outline3-533800 GROUP USER’S MANUAL3.8 Package outline2.5/12.5/1
APPENDIX3.8 Package outline3-543800 GROUP USER’S MANUAL2.5/11.5/1
3800 GROUP USER’S MANUALiList of tablesList of tablesCHAPTER 1 HARDWARETable 1 Pin description ...
APPENDIX3.8 Package outline3-553800 GROUP USER’S MANUAL1.5/1
APPENDIX3.9 Machine instructions3-563800 GROUP USER’S MANUALAddressing modeSymbol Function Details IMP IMM A BIT, A ZP BIT, ZPOP n # OP n # OP n # OP
3800 GROUP USER’S MANUALAPPENDIX3.9 Machine instructionsAddressing modeZP, X ZP, Y ABS ABS, X ABS, Y INDZP, IND IND, X IND, Y REL SP 7 6 5 4
APPENDIX3.9 Machine instructions3-583800 GROUP USER’S MANUALAddressing modeSymbol Function Details IMP IMM A BIT, A ZP BIT, ZPOP n # OP n # OP n # OP
3800 GROUP USER’S MANUALAPPENDIX3.9 Machine instructionsAddressing modeZP, X ZP, Y ABS ABS, X ABS, Y INDZP, IND IND, X IND, Y REL SP 7 6 5 4
APPENDIX3.9 Machine instructions3-603800 GROUP USER’S MANUALAddressing modeSymbol Function Details IMP IMM A BIT, A ZP BIT, ZPOP n # OP n # OP n # OP
3800 GROUP USER’S MANUALAPPENDIX3.9 Machine instructionsAddressing modeZP, X ZP, Y ABS ABS, X ABS, Y INDZP, IND IND, X IND, Y REL SP 7 6 5 4
APPENDIX3.9 Machine instructions3-623800 GROUP USER’S MANUALAddressing modeSymbol Function Details IMP IMM A BIT, A ZP BIT, ZPOP n # OP n # OP n # OP
3800 GROUP USER’S MANUALAPPENDIX3.9 Machine instructionsAddressing modeZP, X ZP, Y ABS ABS, X ABS, Y INDZP, IND IND, X IND, Y REL SP 7 6 5 4
APPENDIX3.9 Machine instructions3-643800 GROUP USER’S MANUALAddressing modeSymbol Function Details IMP IMM A BIT, A ZP BIT, ZPOP n # OP n # OP n # OP
ii3800 GROUP USER’S MANUALList of tablesTable 3.3.1 Programming adapter ...
3800 GROUP USER’S MANUALAPPENDIX3.9 Machine instructionsAddressing modeZP, X ZP, Y ABS ABS, X ABS, Y INDZP, IND IND, X IND, Y REL SP 7 6 5 4
3800 GROUP USER’S MANUALAPPENDIX3.10 List of instruction codes3-663.10 List of instruction codes3-byte instruction2-byte instruction1-byte instruction
APPENDIX3.11 SFR memory map3-673800 GROUP USER’S MANUAL3.11 SFR memory map000016000116000216000316000416000516000616000716000816000916000A16000B16000C
APPENDIX3.12 Pin configuration3-683800 GROUP USER’S MANUALM38002M4-XXXFPM38003M6-XXXHP4950515253545556575859606162636432313029282726252423222120191817
APPENDIX3.12 Pin configuration3-693800 GROUP USER’S MANUALPIN CONFIGURATION (TOP VIEW)Package type : 64P4B64-pin shrink plastic-molded DIP12345678910
1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan3800 GroupH-EE418-A KI-9603 User’s Manual
CHAPTER 1CHAPTER 1HARDWAREDESCRIPTIONFEATURESAPPLICATIONSPIN CONFIGURATIONFUNCTIONAL BLOCKPIN DESCRIPTIONPART NUMBERINGGROUP EXPANSIONFUNCTIONAL DESCR
1-2HARDWARE3800 GROUP USER’S MANUALDESCRIPTION/FEATURES/APPLICATIONS/PIN CONFIGURATIONPIN CONFIGURATION (TOP VIEW)Fig. 1 Pin configuration of M38002M
Notice 1. All information included in this document is current as of the date this document is issued. Such information, however, is subject to chang
HARDWARE1-33800 GROUP USER’S MANUALPIN CONFIGURATIONPIN CONFIGURATION (TOP VIEW)Fig. 2 Pin configuration of M38002M4-XXXSPPackage type : 64P4B64-pin
1-4HARDWARE3800 GROUP USER’S MANUALFUNCTIONAL BLOCKFig. 3 Functional block diagramFUNCTIONAL BLOCK DIAGRAM (Package : 64P4B)FUNCTIONAL BLOCKCNTR1CNTR
HARDWARE1-53800 GROUP USER’S MANUAL• 8-bit CMOS I/O port with the same function asport P0• CMOS compatible input level• CMOS 3-state output structureP
1-6HARDWARE3800 GROUP USER’S MANUALPART NUMBERINGFig. 4 Part numberingPART NUMBERINGM3800 2 M 4 - XXX SPProductPackage typeSP : 64P4B packageFP
HARDWARE1-73800 GROUP USER’S MANUALGROUP EXPANSIONGROUP EXPANSIONMitsubishi plans to expand the 3800 group as follows:(1) Support for mask ROM, One Ti
1-8HARDWARE3800 GROUP USER’S MANUALRemarksMask ROM versionOne Time PROM versionOne Time PROM version (blank)Mask ROM versionOne Time PROM versionOne T
HARDWARE1-93800 GROUP USER’S MANUALProduct nameM38002M2DXXXSPM38002M2DXXXFPM38002M4DXXXSPM38002E4DXXXSPM38002E4DSPM38002M4DXXXFPM38002E4DXXXFPM38002E4
1-10HARDWARE3800 GROUP USER’S MANUALFUNCTIONAL DESCRIPTIONCentral Processing Unit (CPU)The 3800 group uses the standard 740 family instruction set. Re
HARDWARE1-113800 GROUP USER’S MANUALFig. 8 Register push and pop at interrupt generation and subroutine callTable 4. Push and pop instructions of ac
1-12HARDWARE3800 GROUP USER’S MANUALProcessor status register (PS)The processor status register is an 8-bit register consisting of flagswhich indicate
Regarding the change of names mentioned in the document, such as Mitsubishi Electric and Mitsubishi XX, to Renesas Technology Corp.The semiconductor o
HARDWARE1-133800 GROUP USER’S MANUALCPU mode registerThe CPU mode register is allocated at address 003B16.The CPU mode register contains the stack pag
1-14HARDWARE3800 GROUP USER’S MANUALMemorySpecial function register (SFR) areaThe Special Function Register area in the zero page contains con-trol re
HARDWARE1-153800 GROUP USER’S MANUALFig. 11 Memory map of special function register (SFR)FUNCTIONAL DESCRIPTION00201600211600221600231600241600251600
1-16HARDWARE3800 GROUP USER’S MANUALPinP00 – P07P10 – P17P20 – P27P30 – P37P40,P41P42/INT0,P43/INT1P44/RXD,P45/TXD,P46/SCLK,P47/SRDYP50/INT2,P51/INT3,
HARDWARE1-173800 GROUP USER’S MANUALFig. 12 Port block diagram (single-chip mode)FUNCTIONAL DESCRIPTION(1) Ports P0, P1, P2, P3, P40, P41, P56, P57,
1-18HARDWARE3800 GROUP USER’S MANUALInterruptsInterrupts occur by fifteen sources: eight external, six internal, andone software.Interrupt controlEach
HARDWARE1-193800 GROUP USER’S MANUALFig. 13 Interrupt controlFig. 14 Structure of interrupt-related registersFUNCTIONAL DESCRIPTIONb7
1-20HARDWARE3800 GROUP USER’S MANUALTimersThe 3800 group has four timers: timer X, timer Y, timer 1, and timer2.All timers are count down. When the ti
HARDWARE1-213800 GROUP USER’S MANUALFig. 16 Block diagram of timer X, timer Y, timer 1, and timer 2FUNCTIONAL DESCRIPTIONTimer X latch (8)Timer X (8)
1-223800 GROUP USER’S MANUALSerial I/OSerial I/O can be used as either clock synchronous or asynchro-nous (UART) serial I/O. A dedicated timer is also
3800 GroupUser’s Manual8User’s ManualNew publication, 1996.03MITSUBISHI 8-BIT SINGLE-CHIP MICROCOMPUTER740 FAMILY / 38000 SERIES
HARDWARE1-233800 GROUP USER’S MANUALAsynchronous serial I/O (UART) modeClock asynchronous serial I/O mode (UART) can be selected byclearing the serial
1-24HARDWARE3800 GROUP USER’S MANUALFig. 20 Operation of UART serial I/O functionSerial I/O control register (SIOCON) 001A16The serial I/O control re
HARDWARE1-253800 GROUP USER’S MANUALb7b7Transmit buffer empty flag (TBE)0: Buffer full1: Buffer emptyReceive buffer full flag (RBF)0: Buffer empty1: B
1-26HARDWARE3800 GROUP USER’S MANUAL3.0V (Note 1)0.6V (Note 2)0V0VPower source voltageReset input voltageVCCRESETVSSM51953AL45130.1 µ F3800 groupNote
HARDWARE1-273800 GROUP USER’S MANUALFig. 24 Timing of resetFUNCTIONAL DESCRIPTIONRESETDataφAddressSYNCXIN: 8 to 13 clock cyclesXIN?????FFFC FFFDADH,
1-28HARDWARE3800 GROUP USER’S MANUALClock Generating CircuitAn oscillation circuit can be formed by connecting a resonator be-tween XIN and XOUT. To s
HARDWARE1-293800 GROUP USER’S MANUALProcessor ModesSingle-chip mode, memory expansion mode, and microprocessormode can be selected by changing the con
1-30HARDWARE3800 GROUP USER’S MANUALBus control with memory expansionThe 3800 group has a built-in ONW function to facilitate access toexternal memory
HARDWARE1-313800 GROUP USER’S MANUALNOTES ON PROGRAMMINGNOTES ON PROGRAMMINGProcessor Status RegisterThe contents of the processor status register (PS
1-32HARDWARE3800 GROUP USER’S MANUALDATA REQUIRED FOR MASK ORDERS/ROM PROGRAMMING METHODDATA REQUIRED FOR MASK ORDERSThe following are necessary when
Notes regarding these materialsThese materials are intended as a reference to assist our customers in theselection of the Mitsubishi semiconductor pro
HARDWARE1-333800 GROUP USER’S MANUALFUNCTIONAL DESCRIPTION SUPPLEMENTFUNCTIONAL DESCRIPTION SUPPLEMENTInterrupt3800 group permits interrupts on the ba
1-34HARDWARE3800 GROUP USER’S MANUALFUNCTIONAL DESCRIPTION SUPPLEMENTTiming After InterruptThe interrupt processing routine begins with the machine cy
CHAPTER 2CHAPTER 2APPLICATION2.1 I/O port2.2 Timer2.3 Serial I/O2.4 Processor mode2.5 Reset
2-23800 GROUP USER’S MANUALAPPLICATION2.1 I/O port2.1 I/O port2.1.1 Memory map of I/O portFig. 2.1.1 Memory map of I/O port related registers000916000
APPLICATION2.1 I/O port2-33800 GROUP USER’S MANUAL2.1.2 Related registersFig. 2.1.2 Structure of Port Pi (i = 0, 1, 2, 3, 4, 5, 6, 7)Port Pib7 b6 b5 b
2-43800 GROUP USER’S MANUALAPPLICATION2.1 I/O portP30, P31P4, P5, P6, P7ONWRESETOUTφSYNCXOUT• Set to the input mode and connect to VCC or VSS through
2-53800 GROUP USER’S MANUALAPPLICATION2.2 Timer2.2 Timer2.2.1 Memory map of timerFig. 2.2.1 Memory map of timer related registers003C16002016002116002
APPLICATION2.2 Timer2-63800 GROUP USER’S MANUAL2.2.2 Related registersFig. 2.2.2 Structure of Prescaler 12, Prescaler X, Prescaler YFig. 2.2.3 Structu
2-73800 GROUP USER’S MANUALAPPLICATION2.2 TimerFig. 2.2.4 Structure of Timer 2, Timer X, Timer YTimer 2, Timer X, Timer Yb7 b6 b5 b4 b3 b2 b1 b0BFunct
APPLICATION2.2 Timer2-83800 GROUP USER’S MANUALOperating mode ofTimer X/Timer YTimer modePulse output modeEvent counter modePulse width measurement mo
PrefaceThis user’s manual describes Mitsubishi’s CMOS 8-bit microcomputers 3800 Group.After reading this manual, the user should have athrough knowled
2-93800 GROUP USER’S MANUALAPPLICATION2.2 TimerFig. 2.2.7 Structure of Interrupt request register 2Fig. 2.2.6 Structure of Interrupt request register
APPLICATION2.2 Timer2-103800 GROUP USER’S MANUALFig. 2.2.8 Structure of Interrupt control register 1Fig. 2.2.9 Structure of Interrupt control register
2-113800 GROUP USER’S MANUALAPPLICATION2.2 Timer2.2.3 Timer application examples(1) Basic functions and uses[Function 1] Control of Event interval (T
APPLICATION2.2 Timer2-123800 GROUP USER’S MANUAL(2) Timer application example 1 : Clock function (measurement of 250 ms)Outline : The input clock is d
APPLICATION2.2 Timer2-133800 GROUP USER’S MANUALFig. 2.2.11 Setting of related registers [Clock function]255PREXPrescaler X (Address : 2416)255TXTimer
2-143800 GROUP USER’S MANUALAPPLICATION2.2 TimerControl procedure : Figure 2.2.12 shows a control procedure.Fig. 2.2.12 Control procedure [Clock funct
APPLICATION2.2 Timer2-153800 GROUP USER’S MANUAL(3) Timer application example 2 : Piezoelectric buzzer outputOutline : The rectangular waveform output
2-163800 GROUP USER’S MANUALAPPLICATION2.2 TimerFig. 2.2.15 Setting of related registers [Piezoelectric buzzer output]Control procedure : Figure 2.2.1
APPLICATION2.2 Timer2-173800 GROUP USER’S MANUAL(4) Timer application example 3 : Measurement of frequencyOutline : The following two values are compa
2-183800 GROUP USER’S MANUALAPPLICATION2.2 TimerFig. 2.2.18 Setting of related registers [Measurement of frequency]0PREYPrescaler Y (Address : 2616)Se
BEFORE USING THIS USER’S MANUALThis user’s manual consists of the following three chapters. Refer to the chapter appropriate to your conditions, sucha
APPLICATION2.2 Timer2-193800 GROUP USER’S MANUALControl procedure : Figure 2.2.19 shows a control procedure.Fig. 2.2.19 Control procedure [Measurement
2-203800 GROUP USER’S MANUALAPPLICATION2.2 Timer(5) Timer application example 4 : Measurement of pulse width of FG pulse generated by motorOutline : T
APPLICATION2.2 Timer2-213800 GROUP USER’S MANUALFig. 2.2.21 Setting of related registers [Measurement of pulse width]01CNTR0 active edge switch bit :
2-223800 GROUP USER’S MANUALAPPLICATION2.2 TimerFig. 2.2.22 Control procedure [Measurement of pulse width]Figure 2.2.22 shows a control procedure.Init
2-233800 GROUP USER’S MANUALAPPLICATION2.3 Serial I/O2.3 Serial I/O2.3.1 Memory map of serial I/OFig. 2.3.1 Memory map of serial I/O related registers
2-243800 GROUP USER’S MANUALAPPLICATION2.3 Serial I/O2.3.2 Related registersFig. 2.3.2 Structure of Transmit/Receive buffer registerFig. 2.3.3 Structu
2-253800 GROUP USER’S MANUALAPPLICATION2.3 Serial I/OFig. 2.3.4 Structure of Serial I/O control registerFig. 2.3.5 Structure of UART control registerb
2-263800 GROUP USER’S MANUALAPPLICATION2.3 Serial I/OBBaud rate generator (BRG) [Address : 1C16]b7 b6 b5 b4 b3 b2 b1 b0Baud rate generator?A count va
2-273800 GROUP USER’S MANUALAPPLICATION2.3 Serial I/OTimer X interrupt request bitSerial I/O receive interrupt request bitInterrupt request register 1
2-283800 GROUP USER’S MANUALAPPLICATION2.3 Serial I/O2.3.3 Serial I/O connection examples(1) Control of peripheral IC equipped with CS pinThere are co
LIST OF GROUPS HAVING THE SIMILAR FUNCTIONS3800 group, one of the CMOS 8-bit microcomputer 38000 series presented in this user’s manual is provided wi
2-293800 GROUP USER’S MANUALAPPLICATION2.3 Serial I/O(2) Connection with microcomputerFigure 2.3.11 shows connection examples of the other microcomput
2-303800 GROUP USER’S MANUALAPPLICATION2.3 Serial I/O2.3.4 Setting of serial I/O transfer data formatA clock synchronous or clock asynchronous (UART)
2-313800 GROUP USER’S MANUALAPPLICATION2.3 Serial I/O2.3.5 Serial I/O application examples(1) Communication using a clock synchronous serial I/O (tra
2-323800 GROUP USER’S MANUALAPPLICATION2.3 Serial I/OSerial I/O status register (Address : 1916)SIOSTSBaud rate generator (Address : 1C16)BRGSet “divi
2-333800 GROUP USER’S MANUALAPPLICATION2.3 Serial I/OFig. 2.3.16 Setting of related registers at a receiving side [Communication using a clocksynchron
2-343800 GROUP USER’S MANUALAPPLICATION2.3 Serial I/OControl procedure : Figure 2.3.17 shows a control procedure at a transmitting side, and Figure2.3
2-353800 GROUP USER’S MANUALAPPLICATION2.3 Serial I/OFig. 2.3.18 Control procedure at a receiving side [Communication using a clock synchronousserial
2-363800 GROUP USER’S MANUALAPPLICATION2.3 Serial I/O(2) Output of serial data (control of a peripheral IC)Outline : 4-byte data is transmitted and re
2-373800 GROUP USER’S MANUALAPPLICATION2.3 Serial I/OFigure 2.3.21 shows a setting of serial I/O related registers, and Figure 2.3.22 shows a setting
2-383800 GROUP USER’S MANUALAPPLICATION2.3 Serial I/OControl procedure : When the registers are set as shown in Figure 2.3.21, the Serial I/O can tran
iTable of contents3800 GROUP USER'S MANUALTable of contentsCHAPTER 1. HARDWAREDESCRIPTION ...
APPLICATION2.3 Serial I/O2-393800 GROUP USER’S MANUAL(3) Cyclic transmission or reception of block data (data of a specified number of bytes)between m
2.3 Serial I/O2-40APPLICATION3800 GROUP USER’S MANUALThe communication is performed according to the timing shown below. In the slave unit, when async
APPLICATION2.3 Serial I/O2-413800 GROUP USER’S MANUALControl procedure : Control in the master unitAfter a setting of the related registers is complet
2.3 Serial I/O2-42APPLICATION3800 GROUP USER’S MANUAL Control in the slave unitAfter a setting of the related registers is completed as shown in Figur
APPLICATION2.3 Serial I/O2-433800 GROUP USER’S MANUAL(4) Communication (transmit/receive) using an asynchronous serial I/O (UART)Point : 2-byte data
2.3 Serial I/O2-44APPLICATION3800 GROUP USER’S MANUALTable 2.3.1 shows setting examples of Baud rate generator (BRG) values and transfer bit rate valu
APPLICATION2.3 Serial I/O2-453800 GROUP USER’S MANUALFig. 2.3.31 Setting of related registers at a transmitting side [Communication using UART]b7 b000
2.3 Serial I/O2-46APPLICATION3800 GROUP USER’S MANUALFig. 2.3.32 Setting of related registers at a receiving side [Communication using UART]b7 b0b7 b0
APPLICATION2.3 Serial I/O2-473800 GROUP USER’S MANUALControl procedure : Figure 2.3.33 shows a control procedure at a transmitting side, and Figure 2.
2.3 Serial I/O2-48APPLICATION3800 GROUP USER’S MANUALFig. 2.3.34 Control procedure at a receiving side [Communication using UART]RESET(Address : 1A16)
Comments to this Manuals