Renesas PCA4738L-64A Technical Information

Browse online or download Technical Information for Motherboards Renesas PCA4738L-64A. Renesas PCA4738L-64A Technical information User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 175
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
To our customers,
Old Company Name in Catalogs and Other Documents
On April 1
st
, 2010, NEC Electronics Corporation merged with Renesas Technology
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.
Renesas Electronics website: http://www.renesas.com
April 1
st
, 2010
Renesas Electronics Corporation
Issued by: Renesas Electronics Corporation (http://www.renesas.com)
Send any inquiries to http://www.renesas.com/inquiry
.
Page view 0
1 2 3 4 5 6 ... 174 175

Summary of Contents

Page 1 - To our customers

To our customers, Old Company Name in Catalogs and Other Documents On April 1st, 2010, NEC Electronics Corporation merged with Renesas Technology C

Page 2

ii3800 GROUP USER'S MANUALTable of contentsCHAPTER 2. APPLICATION2.1 I/O port...

Page 3 - To all our customers

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

Page 4

APPLICATION2.4 Processor mode2-503800 GROUP USER’S MANUAL2.4.3 Processor mode application examples(1) Application example of memory expansion in the c

Page 5

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.

Page 6

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 (

Page 7 - 2. Structure of register

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

Page 8

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

Page 9

CHAPTER 3CHAPTER 3APPENDIX3.1 Electrical characteristics3.2 Standard characteristics3.3 Notes on use3.4 Countermeasures against noise3.5 List of regis

Page 10 - CHAPTER 3. APPENDIX

3800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristics3-23.1 Electrical characteristics3.1.1 Absolute maximum ratingsPower source voltageInpu

Page 11

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

Page 12 - List of figures

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

Page 13

iiiTable of contents3800 GROUP USER'S MANUAL3.3.5 Notes on memory expansion mode and microprocessor mode ... 3-213.3.6 N

Page 14

3-53800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristicsSerial I/O clock output “H” pulse widthSerial I/O clock output “L” pulse widthSerial

Page 15 - CHAPTER 3 APPENDIX

3800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristics3-6Before φ ONW input set up timeAfter φ ONW input hold timeBefore φ data bus set up tim

Page 16 - List of tables

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

Page 17

3800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristics3-83.1.5 Absolute maximum ratings (Extended operating temperature version)Table 3.1.12

Page 18 - HARDWARE

3-93800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristicsWhen STP instructionis executed with clockstopped, outputtransistors isolated.Note :

Page 19

3800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristics3-103.1.8 Timing requirements and Switching characteristics (Extended operating tempera

Page 20

3-113800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristicsTable 3.1.17 Timing requirements in memory expansion mode and microprocessor mode(Ex

Page 21

3800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristics3-123.1.9 Timing diagramTiming DiagramFig. 3.1.2 Timing diagram (in single-chip mode)0

Page 22

3-133800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristicsTiming Diagram in Memory Expansion Mode and Microprocessor Mode (1)Fig. 3.1.3 Timin

Page 23

3800 GROUP USER’S MANUALAPPENDIX3.1 Electrical characteristics3-14Timing Diagram in Memory Expansion Mode and Microprocessor Mode (2)Fig. 3.1.4 Timin

Page 24

3800 GROUP USER’S MANUALiList of figuresList of figuresCHAPTER 1 HARDWAREFig. 1 Pin configuration of M38002M4-XXXFP/M38003M6-XXXHP ...

Page 25

APPENDIX3.2 Standard characteristics3-153800 GROUP USER’S MANUAL3.2 Standard characteristics3.2.1 Power source current characteristic examplesFigures

Page 26

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

Page 27

APPENDIX3.2 Standard characteristics3-173800 GROUP USER’S MANUALFig. 3.2.5 Standard characteristic example of CMOS output port at N-channel drive (1)[

Page 28

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

Page 29

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

Page 30

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

Page 31

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

Page 32

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

Page 33

3800 GROUP USER’S MANUAL3-23APPENDIX3.3 Notes on useTable 3.3.3 Setting of PROM programmer addressPROM programmer start addressAddress : 608016 (Note

Page 34

3800 GROUP USER’S MANUAL3-24APPENDIX3.4 Countermeasures against noise3.4 Countermeasures against noiseCountermeasures against noise are described be

Page 35

ii3800 GROUP USER’S MANUALList of figuresFig. 2.2.7 Structure of Interrupt request register 2 ...

Page 36

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

Page 37

3800 GROUP USER’S MANUAL3-26APPENDIX3.4 Countermeasures against noise3.4.3. Consideration for oscillatorTake care to prevent an oscillator that genera

Page 38

3800 GROUP USER’S MANUAL3-27APPENDIX3.4 Countermeasures against noise3.4.5 Providing of watchdog timer function bysoftwareIf a microcomputer runs away

Page 39

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

Page 40

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

Page 41

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

Page 42

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,

Page 43

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

Page 44

3800 GROUP USER’S MANUAL3-33APPENDIX3.5 List of registersOperating mode ofTimer X/Timer YTimer modePulse output modeEvent counter modePulse width meas

Page 45

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

Page 46

3800 GROUP USER’S MANUALiiiList of figuresFig. 2.3.31 Setting of related registers at a transmitting side [Communication using UART] ...

Page 47

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

Page 48

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

Page 49

APPENDIX3.6 Mask ROM ordering method3-373800 GROUP USER’S MANUAL3.6 Mask ROM ordering methodGZZ-SH04-34B<13B0>Receipt740 FAMILY MASK ROM CONFIRM

Page 50

APPENDIX3.6 Mask ROM ordering method3-383800 GROUP USER’S MANUAL740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICROCOMPUTER M38002M2-XXXSP/FPMITSU

Page 51

APPENDIX3.6 Mask ROM ordering method3-393800 GROUP USER’S MANUALGZZ-SH04-79B<16A0>Receipt740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICRO

Page 52 - CHAPTER 2CHAPTER 2

APPENDIX3.6 Mask ROM ordering method3-403800 GROUP USER’S MANUAL740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICROCOMPUTER M38002M2DXXXSP/FPMITSU

Page 53

APPENDIX3.6 Mask ROM ordering method3-413800 GROUP USER’S MANUALGZZ-SH03-22B<9YB0>Receipt740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICRO

Page 54

APPENDIX3.6 Mask ROM ordering method3-423800 GROUP USER’S MANUAL740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICROCOMPUTER M38002M4-XXXSP/FPMITSU

Page 55

APPENDIX3.6 Mask ROM ordering method3-433800 GROUP USER’S MANUALGZZ-SH05-12B<21A0>Receipt740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICRO

Page 56

APPENDIX3.6 Mask ROM ordering method3-443800 GROUP USER’S MANUAL740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICROCOMPUTER M38002M4DXXXSP/FPMITSU

Page 57

iv3800 GROUP USER’S MANUALList of figuresCHAPTER 3 APPENDIXFig. 3.1.1 Circuit for measuring output switching characteristics...

Page 58

APPENDIX3.6 Mask ROM ordering method3-453800 GROUP USER’S MANUALGZZ-SH04-62B<14B0>Receipt740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICRO

Page 59

APPENDIX3.6 Mask ROM ordering method3-463800 GROUP USER’S MANUAL740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICROCOMPUTER M38003M6-XXXSP/FP/HPMI

Page 60

APPENDIX3.6 Mask ROM ordering method3-473800 GROUP USER’S MANUALGZZ-SH04-30B<13B0>Receipt740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICRO

Page 61

APPENDIX3.6 Mask ROM ordering method3-483800 GROUP USER’S MANUAL27512*=a$0000.BYTEa ‘M38004M8–’740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICRO

Page 62

APPENDIX3.6 Mask ROM ordering method3-493800 GROUP USER’S MANUALGZZ-SH07-23B<33A0>Receipt740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICRO

Page 63

APPENDIX3.6 Mask ROM ordering method3-503800 GROUP USER’S MANUAL27512*=a$0000.BYTEa ‘M38004M8D’740 FAMILY MASK ROM CONFIRMATION FORMSINGLE-CHIP MICRO

Page 64

APPENDIX3.7 Mark specification form3-513800 GROUP USER’S MANUAL3.7 Mark specification form

Page 65

APPENDIX3.7 Mark specification form3-523800 GROUP USER’S MANUAL

Page 66

APPENDIX3.8 Package outline3-533800 GROUP USER’S MANUAL3.8 Package outline2.5/12.5/1

Page 67 - 2.2 Timer

APPENDIX3.8 Package outline3-543800 GROUP USER’S MANUAL2.5/11.5/1

Page 68

3800 GROUP USER’S MANUALiList of tablesList of tablesCHAPTER 1 HARDWARETable 1 Pin description ...

Page 69

APPENDIX3.8 Package outline3-553800 GROUP USER’S MANUAL1.5/1

Page 70 - < <

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

Page 71

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

Page 72

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

Page 73

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

Page 74

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

Page 75

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

Page 76

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

Page 77

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

Page 78

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

Page 79

ii3800 GROUP USER’S MANUALList of tablesTable 3.3.1 Programming adapter ...

Page 80

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

Page 81

3800 GROUP USER’S MANUALAPPENDIX3.10 List of instruction codes3-663.10 List of instruction codes3-byte instruction2-byte instruction1-byte instruction

Page 82

APPENDIX3.11 SFR memory map3-673800 GROUP USER’S MANUAL3.11 SFR memory map000016000116000216000316000416000516000616000716000816000916000A16000B16000C

Page 83

APPENDIX3.12 Pin configuration3-683800 GROUP USER’S MANUALM38002M4-XXXFPM38003M6-XXXHP4950515253545556575859606162636432313029282726252423222120191817

Page 84 - RDY output

APPENDIX3.12 Pin configuration3-693800 GROUP USER’S MANUALPIN CONFIGURATION (TOP VIEW)Package type : 64P4B64-pin shrink plastic-molded DIP12345678910

Page 85

1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan3800 GroupH-EE418-A KI-9603 User’s Manual

Page 86

CHAPTER 1CHAPTER 1HARDWAREDESCRIPTIONFEATURESAPPLICATIONSPIN CONFIGURATIONFUNCTIONAL BLOCKPIN DESCRIPTIONPART NUMBERINGGROUP EXPANSIONFUNCTIONAL DESCR

Page 87

1-2HARDWARE3800 GROUP USER’S MANUALDESCRIPTION/FEATURES/APPLICATIONS/PIN CONFIGURATIONPIN CONFIGURATION (TOP VIEW)Fig. 1 Pin configuration of M38002M

Page 88

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

Page 89 - 2.3 Serial I/O

HARDWARE1-33800 GROUP USER’S MANUALPIN CONFIGURATIONPIN CONFIGURATION (TOP VIEW)Fig. 2 Pin configuration of M38002M4-XXXSPPackage type : 64P4B64-pin

Page 90

1-4HARDWARE3800 GROUP USER’S MANUALFUNCTIONAL BLOCKFig. 3 Functional block diagramFUNCTIONAL BLOCK DIAGRAM (Package : 64P4B)FUNCTIONAL BLOCKCNTR1CNTR

Page 91

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

Page 92

1-6HARDWARE3800 GROUP USER’S MANUALPART NUMBERINGFig. 4 Part numberingPART NUMBERINGM3800 2 M 4 - XXX SPProductPackage typeSP : 64P4B packageFP

Page 93

HARDWARE1-73800 GROUP USER’S MANUALGROUP EXPANSIONGROUP EXPANSIONMitsubishi plans to expand the 3800 group as follows:(1) Support for mask ROM, One Ti

Page 94

1-8HARDWARE3800 GROUP USER’S MANUALRemarksMask ROM versionOne Time PROM versionOne Time PROM version (blank)Mask ROM versionOne Time PROM versionOne T

Page 95

HARDWARE1-93800 GROUP USER’S MANUALProduct nameM38002M2DXXXSPM38002M2DXXXFPM38002M4DXXXSPM38002E4DXXXSPM38002E4DSPM38002M4DXXXFPM38002E4DXXXFPM38002E4

Page 96

1-10HARDWARE3800 GROUP USER’S MANUALFUNCTIONAL DESCRIPTIONCentral Processing Unit (CPU)The 3800 group uses the standard 740 family instruction set. Re

Page 97

HARDWARE1-113800 GROUP USER’S MANUALFig. 8 Register push and pop at interrupt generation and subroutine callTable 4. Push and pop instructions of ac

Page 98

1-12HARDWARE3800 GROUP USER’S MANUALProcessor status register (PS)The processor status register is an 8-bit register consisting of flagswhich indicate

Page 99

Regarding the change of names mentioned in the document, such as Mitsubishi Electric and Mitsubishi XX, to Renesas Technology Corp.The semiconductor o

Page 100 - APPLICATION

HARDWARE1-133800 GROUP USER’S MANUALCPU mode registerThe CPU mode register is allocated at address 003B16.The CPU mode register contains the stack pag

Page 101 - 2.4 Processor mode

1-14HARDWARE3800 GROUP USER’S MANUALMemorySpecial function register (SFR) areaThe Special Function Register area in the zero page contains con-trol re

Page 102

HARDWARE1-153800 GROUP USER’S MANUALFig. 11 Memory map of special function register (SFR)FUNCTIONAL DESCRIPTION00201600211600221600231600241600251600

Page 103

1-16HARDWARE3800 GROUP USER’S MANUALPinP00 – P07P10 – P17P20 – P27P30 – P37P40,P41P42/INT0,P43/INT1P44/RXD,P45/TXD,P46/SCLK,P47/SRDYP50/INT2,P51/INT3,

Page 104

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,

Page 105 - 3800 group

1-18HARDWARE3800 GROUP USER’S MANUALInterruptsInterrupts occur by fifteen sources: eight external, six internal, andone software.Interrupt controlEach

Page 106 - APPENDIX

HARDWARE1-193800 GROUP USER’S MANUALFig. 13 Interrupt controlFig. 14 Structure of interrupt-related registersFUNCTIONAL DESCRIPTIONb7

Page 107

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

Page 108

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)

Page 109

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

Page 110

3800 GroupUser’s Manual8User’s ManualNew publication, 1996.03MITSUBISHI 8-BIT SINGLE-CHIP MICROCOMPUTER740 FAMILY / 38000 SERIES

Page 111

HARDWARE1-233800 GROUP USER’S MANUALAsynchronous serial I/O (UART) modeClock asynchronous serial I/O mode (UART) can be selected byclearing the serial

Page 112

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

Page 113

HARDWARE1-253800 GROUP USER’S MANUALb7b7Transmit buffer empty flag (TBE)0: Buffer full1: Buffer emptyReceive buffer full flag (RBF)0: Buffer empty1: B

Page 114

1-26HARDWARE3800 GROUP USER’S MANUAL3.0V (Note 1)0.6V (Note 2)0V0VPower source voltageReset input voltageVCCRESETVSSM51953AL45130.1 µ F3800 groupNote

Page 115

HARDWARE1-273800 GROUP USER’S MANUALFig. 24 Timing of resetFUNCTIONAL DESCRIPTIONRESETDataφAddressSYNCXIN: 8 to 13 clock cyclesXIN?????FFFC FFFDADH,

Page 116

1-28HARDWARE3800 GROUP USER’S MANUALClock Generating CircuitAn oscillation circuit can be formed by connecting a resonator be-tween XIN and XOUT. To s

Page 117

HARDWARE1-293800 GROUP USER’S MANUALProcessor ModesSingle-chip mode, memory expansion mode, and microprocessormode can be selected by changing the con

Page 118

1-30HARDWARE3800 GROUP USER’S MANUALBus control with memory expansionThe 3800 group has a built-in ONW function to facilitate access toexternal memory

Page 119

HARDWARE1-313800 GROUP USER’S MANUALNOTES ON PROGRAMMINGNOTES ON PROGRAMMINGProcessor Status RegisterThe contents of the processor status register (PS

Page 120

1-32HARDWARE3800 GROUP USER’S MANUALDATA REQUIRED FOR MASK ORDERS/ROM PROGRAMMING METHODDATA REQUIRED FOR MASK ORDERSThe following are necessary when

Page 121

Notes regarding these materialsThese materials are intended as a reference to assist our customers in theselection of the Mitsubishi semiconductor pro

Page 122

HARDWARE1-333800 GROUP USER’S MANUALFUNCTIONAL DESCRIPTION SUPPLEMENTFUNCTIONAL DESCRIPTION SUPPLEMENTInterrupt3800 group permits interrupts on the ba

Page 123

1-34HARDWARE3800 GROUP USER’S MANUALFUNCTIONAL DESCRIPTION SUPPLEMENTTiming After InterruptThe interrupt processing routine begins with the machine cy

Page 124

CHAPTER 2CHAPTER 2APPLICATION2.1 I/O port2.2 Timer2.3 Serial I/O2.4 Processor mode2.5 Reset

Page 125

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

Page 126

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

Page 127

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

Page 128

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

Page 129

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

Page 130

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

Page 131

APPLICATION2.2 Timer2-83800 GROUP USER’S MANUALOperating mode ofTimer X/Timer YTimer modePulse output modeEvent counter modePulse width measurement mo

Page 132

PrefaceThis user’s manual describes Mitsubishi’s CMOS 8-bit microcomputers 3800 Group.After reading this manual, the user should have athrough knowled

Page 133

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

Page 134

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

Page 135

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

Page 136

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

Page 137

APPLICATION2.2 Timer2-133800 GROUP USER’S MANUALFig. 2.2.11 Setting of related registers [Clock function]255PREXPrescaler X (Address : 2416)255TXTimer

Page 138

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

Page 139

APPLICATION2.2 Timer2-153800 GROUP USER’S MANUAL(3) Timer application example 2 : Piezoelectric buzzer outputOutline : The rectangular waveform output

Page 140

2-163800 GROUP USER’S MANUALAPPLICATION2.2 TimerFig. 2.2.15 Setting of related registers [Piezoelectric buzzer output]Control procedure : Figure 2.2.1

Page 141

APPLICATION2.2 Timer2-173800 GROUP USER’S MANUAL(4) Timer application example 3 : Measurement of frequencyOutline : The following two values are compa

Page 142

2-183800 GROUP USER’S MANUALAPPLICATION2.2 TimerFig. 2.2.18 Setting of related registers [Measurement of frequency]0PREYPrescaler Y (Address : 2616)Se

Page 143

BEFORE USING THIS USER’S MANUALThis user’s manual consists of the following three chapters. Refer to the chapter appropriate to your conditions, sucha

Page 144

APPLICATION2.2 Timer2-193800 GROUP USER’S MANUALControl procedure : Figure 2.2.19 shows a control procedure.Fig. 2.2.19 Control procedure [Measurement

Page 145

2-203800 GROUP USER’S MANUALAPPLICATION2.2 Timer(5) Timer application example 4 : Measurement of pulse width of FG pulse generated by motorOutline : T

Page 146

APPLICATION2.2 Timer2-213800 GROUP USER’S MANUALFig. 2.2.21 Setting of related registers [Measurement of pulse width]01CNTR0 active edge switch bit :

Page 147

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

Page 148

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

Page 149

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

Page 150

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

Page 151

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

Page 152

2-273800 GROUP USER’S MANUALAPPLICATION2.3 Serial I/OTimer X interrupt request bitSerial I/O receive interrupt request bitInterrupt request register 1

Page 153

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

Page 154

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

Page 155

2-293800 GROUP USER’S MANUALAPPLICATION2.3 Serial I/O(2) Connection with microcomputerFigure 2.3.11 shows connection examples of the other microcomput

Page 156

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)

Page 157

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

Page 158

2-323800 GROUP USER’S MANUALAPPLICATION2.3 Serial I/OSerial I/O status register (Address : 1916)SIOSTSBaud rate generator (Address : 1C16)BRGSet “divi

Page 159

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

Page 160

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

Page 161

2-353800 GROUP USER’S MANUALAPPLICATION2.3 Serial I/OFig. 2.3.18 Control procedure at a receiving side [Communication using a clock synchronousserial

Page 162

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

Page 163

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

Page 164

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

Page 165

iTable of contents3800 GROUP USER'S MANUALTable of contentsCHAPTER 1. HARDWAREDESCRIPTION ...

Page 166

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

Page 167

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

Page 168

APPLICATION2.3 Serial I/O2-413800 GROUP USER’S MANUALControl procedure : Control in the master unitAfter a setting of the related registers is complet

Page 169

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

Page 170

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

Page 171

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

Page 172

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

Page 173 - M38003M6-XXXHP

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

Page 174

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.

Page 175 - User’s Manual

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

No comments