Renesas 4514 Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Hardware Renesas 4514. Renesas 4514 User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 210
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
Regarding the change of names mentioned in the document, such as Mitsubishi
Electric and Mitsubishi XX, to Renesas Technology Corp.
The semiconductor operations of Hitachi and Mitsubishi Electric were transferred to Renesas
Technology Corporation on April 1st 2003. These operations include microcomputer, logic, analog
and discrete devices, and memory chips other than DRAMs (flash memory, SRAMs etc.)
Accordingly, although Mitsubishi Electric, Mitsubishi Electric Corporation, Mitsubishi
Semiconductors, and other Mitsubishi brand names are mentioned in the document, these names
have in fact all been changed to Renesas Technology Corp. Thank you for your understanding.
Except for our corporate trademark, logo and corporate statement, no changes whatsoever have been
made to the contents of the document, and these changes do not constitute any alteration to the
contents of the document itself.
Note : Mitsubishi Electric will continue the business operations of high frequency & optical devices
and power devices.
Renesas Technology Corp.
Customer Support Dept.
April 1, 2003
To all our customers
Vista de página 0
1 2 3 4 5 6 ... 209 210

Resumo do Conteúdo

Página 1 - To all our customers

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

Página 2 - 4513/4514

4513/4514 Group User’s ManualvList of figuresFig. 42 Ceramic resonator external circuit ...

Página 3

4513/4514 Group User’s ManualHARDWARE1-87K03K02K01K00Key-on wakeup control register K0PU03PU02PU01PU00Key-on wakeup not usedKey-on wakeup usedKey-on w

Página 4

1-88HARDWARE4513/4514 Group User’s ManualTable 25 Product of built-in PROM versionProductM34513E4SP/FPM34513E8FPM34514E8FPROM typeOne Time PROM versio

Página 5 - 1. Organization

4513/4514 Group User’s ManualHARDWARE1-89Fig. 52 Flow of writing and test of the product shipped in blankFig. 51 PROM memory map(1) PROM modeThe built

Página 6 - Table of contents

1-90HARDWARE4513/4514 Group User’s ManualBUILT-IN PROM VERSION

Página 7

CHAPTER 2CHAPTER 2APPLICATION2.1 I/O pins2.2 Interrupts2.3 Timers2.4 Serial I/O2.5 A-D converter2.6 Voltage comparator2.7 Reset2.8 Voltage drop detec

Página 8

2-2APPLICATION2.1 I/O pins4513/4514 Group User’s Manual2.1 I/O pinsThe 4513/4514 Group has the twenty-eight I/O pins (eighteen I/O pins for 4513 Group

Página 9

4513/4514 Group User’s ManualAPPLICATION2-32.1 I/O pins(4) Port P3Port P3 is a 4-bit I/O port for the 4514 Group, and a 2-bit I/O port for the 4513 Gr

Página 10 - CHAPTER 2 APPLICATION

2-4APPLICATION2.1 I/O pins4513/4514 Group User’s Manual(7) Port DD0–D7 are eight independent I/O ports. Input/output of port DEach pin of port D has

Página 11 - CHAPTER 3 APPENDIX

4513/4514 Group User’s ManualAPPLICATION2-52.1 I/O pins(2) Key-on wakeup control register K0Register K0 controls the ON/OFF of the key-on wakeup funct

Página 12 - List of tables

2-6APPLICATION2.1 I/O pins4513/4514 Group User’s Manual(4) Direction register FR0 (The 4513 Group does not have this register.)Register FR0 is used to

Página 13

vi4513/4514 Group User’s ManualCHAPTER 3 APPENDIXFig. 3.2.1 A-D conversion characteristics data ...

Página 14 - CHAPTER 1CHAPTER 1

4513/4514 Group User’s ManualAPPLICATION2-72.1 I/O pins2.1.3 Port application examples(1) Key input by key scanKey matrix can be set up by connecting

Página 15

2-8APPLICATION2.1 I/O pins4513/4514 Group User’s ManualFig. 2.1.2 Key scan input timingD0D1D2D3IAP0 IAP0 IAP0 IAP0 IAP0“H”“L”“H”“L”“H”“L”“H”“L”Input t

Página 16

4513/4514 Group User’s ManualAPPLICATION2-92.1 I/O pins2.1.4 Notes on use(1) Note when an I/O port except port P5 is used as an input portSet the outp

Página 17 - M34513E4SP

2-10APPLICATION2.1 I/O pins4513/4514 Group User’s ManualTable 2.1.6 connections of unused pinsPinXOUTVDCED0–D5D6/CNTR0D7/CNTR1P20/SCKP21/SOUTP22/SINP3

Página 18 - M34514E8FP

APPLICATION2.2 Interrupts2-114513/4514 Group User’s Manual2.2 InterruptsThe 4513/4514 Group has eight interrupt sources : external (INT0, INT1), timer

Página 19

APPLICATION2.2 Interrupts2-124513/4514 Group User’s Manual(4) Timer 2 interruptThe interrupt request occurs by the timer 2 underflow. Timer 2 interru

Página 20

APPLICATION2.2 Interrupts2-134513/4514 Group User’s Manual(7) A-D interruptThe interrupt request occurs by the end of the A-D conversion. A-D interru

Página 21

APPLICATION2.2 Interrupts2-144513/4514 Group User’s Manual(2) Interrupt control register V1Interrupt enable bits of external 0, external 1, timer 1 an

Página 22

APPLICATION2.2 Interrupts2-154513/4514 Group User’s ManualInterrupt control register I1 at reset : 00002 at RAM back-up : state retainedR/WThis bit ha

Página 23

APPLICATION2.2 Interrupts2-164513/4514 Group User’s Manual2.2.3 Interrupt application examples(1) External 0 interruptThe INT0 pin is used for externa

Página 24

4513/4514 Group User’s ManualviiList of tablesCHAPTER 1 HARDWARETable Selection of system clock ...

Página 25

APPLICATION2.2 Interrupts2-174513/4514 Group User’s Manual(6) Timer 4 interruptConstant period interrupts by a setting value to timer 4 can be used.Ou

Página 26

APPLICATION2.2 Interrupts2-184513/4514 Group User’s ManualFig. 2.2.2 INT0 interrupt setting exampleNote: The valid waveforms causing the interrupt mus

Página 27

APPLICATION2.2 Interrupts2-194513/4514 Group User’s ManualFig. 2.2.3 INT1 interrupt operation exampleP31/INT1P31/INT1“H”“H”“L”“L”An interrupt occurs a

Página 28

APPLICATION2.2 Interrupts2-204513/4514 Group User’s ManualFig. 2.2.4 INT1 interrupt setting exampleNote: The valid waveforms causing the interrupt mus

Página 29

APPLICATION2.2 Interrupts2-214513/4514 Group User’s ManualFig. 2.2.5 Timer 1 constant period interrupt setting exampleb3 b001b3 b01g0 hb3 b011100b3 b0

Página 30

APPLICATION2.2 Interrupts2-224513/4514 Group User’s ManualFig. 2.2.6 Timer 2 constant period interrupt setting example0b3 b0➀ Disable InterruptsTimer

Página 31

APPLICATION2.2 Interrupts2-234513/4514 Group User’s ManualFig. 2.2.7 Timer 3 constant period interrupt setting exampleg0 h0b3 b0➀ Disable InterruptsTi

Página 32

APPLICATION2.2 Interrupts2-244513/4514 Group User’s ManualFig. 2.2.8 Timer 4 constant period interrupt setting example0b3 b0➀ Disable InterruptsTimer

Página 33

APPLICATION2.2 Interrupts2-254513/4514 Group User’s Manual2.2.4 Notes on use(1) Setting of INT0 interrupt valid waveformDepending on the input state o

Página 34

APPLICATION2.3 Timers2-264513/4514 Group User’s Manual2.3 TimersThe 4513/4514 Group has four 8-bit timers (each has a reload register) and a 16-bit fi

Página 35

viii4513/4514 Group User’s ManualList of tablesTable 2.5.1 A-D control register Q1 ...

Página 36

APPLICATION2.3 Timers2-274513/4514 Group User’s Manual2.3.2 Related registers(1) Interrupt control register V1The timer 1 interrupt enable bit is assi

Página 37

APPLICATION2.3 Timers2-284513/4514 Group User’s Manual(3) Timer control register W1The timer 1 count start synchronous circuit control bit is assigned

Página 38

APPLICATION2.3 Timers2-294513/4514 Group User’s Manual(5) Timer control register W3The timer 3 count source selection bits are assigned to bits 0 and

Página 39

APPLICATION2.3 Timers2-304513/4514 Group User’s Manual2.3.3 Timer application examples(1) Timer operation: measurement of constant periodThe constant

Página 40

APPLICATION2.3 Timers2-314513/4514 Group User’s Manual(4) CNTR1 output control: square wave output controlOutline: The output/stop of square wave from

Página 41

APPLICATION2.3 Timers2-324513/4514 Group User’s ManualFig. 2.3.3 Constant period measurement setting exampleg0 h0b3 b0➀ Disable InterruptsTimer 1 inte

Página 42

APPLICATION2.3 Timers2-334513/4514 Group User’s ManualFig. 2.3.4 CNTR0 output setting exampleg0 h0b3 b0➀ Disable InterruptsTimer 1 interrupt is tempor

Página 43

APPLICATION2.3 Timers2-344513/4514 Group User’s Manual0b3 b0➀ Disable InterruptsTimer 2 interrupt is temporarily disabled.Interrupt enable flag INTEIn

Página 44

APPLICATION2.3 Timers2-354513/4514 Group User’s ManualFig. 2.3.6 CNTR0 output control setting exampleb3 b0➀ Disable InterruptsTimer 3 and timer 4 inte

Página 45

APPLICATION2.3 Timers2-364513/4514 Group User’s ManualFig. 2.3.7 Timer start by external input setting example (1)0b3 b0➀ Disable InterruptsTimer 1 in

Página 46

CHAPTER 1CHAPTER 1HARDWAREDESCRIPTIONFEATURESAPPLICATIONPIN CONFIGURATIONBLOCK DIAGRAMPERFORMANCE OVERVIEWPIN DESCRIPTIONFUNCTION BLOCK OPERATIONSROM

Página 47 - 6/CNTR0, D7/CNTR1)

APPLICATION2.3 Timers2-374513/4514 Group User’s ManualFig. 2.3.8 Timer start by external input setting example (2)(TI1A instruction)b3 b0100Processing

Página 48

APPLICATION2.3 Timers2-384513/4514 Group User’s ManualFig. 2.3.9 Watchdog timer setting exampleg0 h••••••➀ Activate Watchdog TimerWatchdog timer is ac

Página 49

APPLICATION2.3 Timers2-394513/4514 Group User’s Manual2.3.4 Notes on use(1) PrescalerStop the prescaler operation to change its frequency dividing rat

Página 50

APPLICATION2.4 Serial I/O2-404513/4514 Group User’s Manual2.4 Serial I/OThe 4513/4514 Group has a clock-synchronous serial I/O which can be used to tr

Página 51

APPLICATION2.4 Serial I/O2-414513/4514 Group User’s Manual2.4.2 Related registers(1) Serial I/O register SISerial I/O register SI is the 8-bit data tr

Página 52

APPLICATION2.4 Serial I/O2-424513/4514 Group User’s Manual2.4.3 Operation descriptionFigure 2.4.2 shows the serial I/O connection example, Figure 2.4.

Página 53

APPLICATION2.4 Serial I/O2-434513/4514 Group User’s ManualFig. 2.4.4 Serial I/O transfer timingSINSOUTSlaveSCKSST instructionSOUTSINS0S7’S1S2S3S4S5S6S

Página 54

APPLICATION2.4 Serial I/O2-444513/4514 Group User’s ManualThe full duplex communication of master and slave is described using the connection example

Página 55

APPLICATION2.4 Serial I/O2-454513/4514 Group User’s Manual(2) Transmit/receive operation of slave➀ The transmit data is written into the serial I/O re

Página 56

APPLICATION2.4 Serial I/O2-464513/4514 Group User’s ManualFig. 2.4.5 Master serial I/O setting exampleg0 hb3 b0➀ Disable InterruptsSerial I/O interrup

Página 57

1-2HARDWARE4513/4514 Group User’s Manual

Página 58

APPLICATION2.4 Serial I/O2-474513/4514 Group User’s ManualFig. 2.4.6 Slave serial I/O exampleb3 b0➀ Disable InterruptsSerial I/O interrupt is tempora

Página 59

APPLICATION2.4 Serial I/O2-484513/4514 Group User’s Manual2.4.5 Notes on use(1) Note when an external clock is used as a synchronous clock:• An extern

Página 60

APPLICATION2.5 A-D converter2-494513/4514 Group User’s Manual2.5 A-D converterThe 4513/4514 Group has an A-D converter with the 10-bit successive comp

Página 61

APPLICATION2.5 A-D converter2-504513/4514 Group User’s Manual2.5.1 Related registers(1) A-D control register Q1Analog input pin selection bits are ass

Página 62

APPLICATION2.5 A-D converter2-514513/4514 Group User’s Manual2.5.2 A-D converter application examples(1) A-D conversion modeOutline: Analog input sign

Página 63

APPLICATION2.5 A-D converter2-524513/4514 Group User’s Manual2.5.3 Notes on use(1) Note when the A-D conversion starts againWhen the A-D conversion st

Página 64

APPLICATION2.5 A-D converter2-534513/4514 Group User’s Manual(5) A-D converter is used at the comparator modeThe analog input voltage is higher than t

Página 65

APPLICATION2.6 Voltage comparator2-544513/4514 Group User’s Manual2.6 Voltage comparatorThe 4513/4514 Group has two voltage comparators; CMP0-, CMP0+,

Página 66

APPLICATION2.6 Voltage comparator2-554513/4514 Group User’s Manual2.6.3 Notes on use● Voltage comparator functionWhen the voltage comparator function

Página 67

APPLICATION2-564513/4514 Group User’s Manual2.7 ResetSystem reset is performed by applying “L” level to the RESET pin for 1 machine cycle or more when

Página 68

4513/4514 Group User’s ManualHARDWARE1-3DESCRIPTIONThe 4513/4514 Group is a 4-bit single-chip microcomputer de-signed with CMOS technology. Its CPU is

Página 69

APPLICATION2-574513/4514 Group User’s Manual• Program counter (PC) ...

Página 70

APPLICATION2-584513/4514 Group User’s Manual2.8 Voltage drop detection circuit2.8 Voltage drop detection circuitThe built-in voltage drop detection ci

Página 71

APPLICATION2-594513/4514 Group User’s Manual2.9 RAM back-up2.9 RAM back-up2.9.1 RAM back-up modeThe system enters RAM back-up mode when the POF instru

Página 72

APPLICATION2-604513/4514 Group User’s Manual2.9 RAM back-upRemarksSet the port using the key-on wakeup function selectedwith register K0 to “H” level

Página 73

APPLICATION2-614513/4514 Group User’s Manual2.9 RAM back-up(2) Pull-up control register PU0Pull-up control register PU0 controls the pull-up functions

Página 74

APPLICATION2-624513/4514 Group User’s Manual2.9 RAM back-up(4) Interrupt control register I2The interrupt valid waveform for INT1 pin/return level sel

Página 75

APPLICATION2-634513/4514 Group User’s Manual2.10 Oscillation circuit2.10 Oscillation circuitThe 4513/4514 Group has an internal oscillation circuit to

Página 76

APPLICATION2-644513/4514 Group User’s Manual2.10 Oscillation circuit2.10.2 Oscillation operationSystem clock is supplied to CPU and peripheral device

Página 77

CHAPTER 3CHAPTER 3APPENDIX3.1 Electrical characteristics3.2 Typical characteristics3.3 List of precautions3.4 Notes on noise3.5 Mask ROM confirmation

Página 78

APPENDIX3.1 Electrical characteristics3-24513/4514 Group User’s ManualParameterSupply voltageInput voltage P0, P1, P2, P3, P4, P5, RESET,XIN, VDCEInpu

Página 79

1-4HARDWARE4513/4514 Group User’s ManualPIN CONFIGURATION (TOP VIEW) 4513 GroupM34513Mx-XXXSPM34513E4SP32313029282726252423222120191817123456789101112

Página 80

4513/4514 Group User’s ManualAPPENDIX3-33.1 Electrical characteristicsSymbolVDDVRAMVSSVIHVIHVIHVIHVILVILVILIOH(peak)IOH(avg)IOL(peak)IOL(peak)IOL(peak

Página 81

APPENDIX3.1 Electrical characteristics3-44513/4514 Group User’s ManualVDD = 2.5 V to 5.5 VVDD = 2.0 V to 5.5 VVDD = 2.5 V to 5.5 VVDD = 4.0 V to 5.5 V

Página 82

4513/4514 Group User’s ManualAPPENDIX3-53.1 Electrical characteristics3.1.3 Electrical characteristicsTable 3.1.4 Electrical characteristics(Mask ROM

Página 83

APPENDIX3.1 Electrical characteristics3-64513/4514 Group User’s Manual3.1.4 A-D converter recommended operating conditionsTable 3.1.5 A-D converter re

Página 84

4513/4514 Group User’s ManualAPPENDIX3-73.1 Electrical characteristics3.1.7 Basic timing diagram3.1.6 Voltage comparator characteristicsTable 3.1.8 Vo

Página 85

3-8APPENDIX3.2 Typical characteristics4513/4514 Group User’s Manual00.10.20.30.40.50.60.70.80.911.11.21.31.41.51.61.71.81.922.12.22.32.42.52 2.5 3 3.5

Página 86

4513/4514 Group User’s ManualAPPENDIX3-93.2 Typical characteristicsSupply voltage VDD (V)Supply current IDD (mA)Supply voltage VDD (V)Supply current I

Página 87

3-10APPENDIX3.2 Typical characteristics4513/4514 Group User’s Manual00.511.522.533.544.552 2.5 3 3.5 4 4.5 5 5.5Supply voltage VDD (V)Supply current I

Página 88

4513/4514 Group User’s ManualAPPENDIX3-113.2 Typical characteristics01020304050607080901000 0.5 1 1.5 201020304050607080901000 0.5 1 1.5 23.2.2 VOL–IO

Página 89

3-12APPENDIX3.2 Typical characteristics4513/4514 Group User’s Manual01020304050607080901000 0.5 1 1.5 201020304050607080901000 0.5 1 1.5 2(3) Pins D0–

Página 90

4513/4514 Group User’s ManualHARDWARE1-5PIN CONFIGURATION (TOP VIEW) 4514 GroupP12P11P10P03P02P01P00AIN3/CMP1+AIN2/CMP1-AIN1/CMP0+AIN0/CMP0-P31/INT1P3

Página 91

4513/4514 Group User’s ManualAPPENDIX3-133.2 Typical characteristics0501001502002503003502 2.5 3 3.5 4 4.5 5 5.5 6-100-90-80-70-60-50-40-30-20-1000 0.

Página 92

3-14APPENDIX3.2 Typical characteristics4513/4514 Group User’s Manual3.2.5 A-D converter typical characteristicsFig. 3.2.1 A-D conversion characteristi

Página 93

4513/4514 Group User’s ManualAPPENDIX3-153.2 Typical characteristics(1) VDD = 3.072 V, f(XIN) = 2 MHz, high-speed mode-4.5-3-1.501.534.50 16 32 48 64

Página 94

3-16APPENDIX3.2 Typical characteristics4513/4514 Group User’s Manual(2) VDD = 5.12 V, f(XIN) = 4 MHz, high-speed mode-7.5-5-2.502.557.50 16 32 48 64 8

Página 95

4513/4514 Group User’s ManualAPPENDIX3-173.2 Typical characteristics-25-20-15-10-505101520250 0.5 1 1.5 2 2.5 3-100-80-60-40-200204060801000 0.5 1 1.5

Página 96

3-18APPENDIX3.2 Typical characteristics4513/4514 Group User’s Manual-200-160-120-80-40040801201602000 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5-50-40-30-20-100102

Página 97

4513/4514 Group User’s ManualAPPENDIX3-193.2 Typical characteristics00.511.522.533.544.555.52 2.5 3 3.5 4 4.5 5 5.5 600.511.522.533.544.555.52 2.5 3 3

Página 98

3-20APPENDIX3.2 Typical characteristics4513/4514 Group User’s Manual00.511.522.533.544.555.52 2.5 3 3.5 4 4.5 5 5.5 6(3) Pins INT0, INT1, CNTR0, CNTR

Página 99

4513/4514 Group User’s ManualAPPENDIX3-213.3 List of precautions3.3 List of precautions➀Noise and latch-up preventionConnect a capacitor on the follow

Página 100 - HARDWARE

3-22APPENDIX3.3 List of precautions4513/4514 Group User’s Manual➉ A-D converter-1When the operating mode of the A-D converter is changed fromthe compa

Página 101

1-6HARDWARE4513/4514 Group User’s ManualBLOCK DIAGRAM (4513 Group)|[go1Voltage drop detection circuit4Serial I/O(8 bits ✕ 1)Voltage comparator(2 circu

Página 102

4513/4514 Group User’s ManualAPPENDIX3-233.3 List of precautions16Voltage comparator functionWhen the voltage comparator function is valid with the vo

Página 103

3-24APPENDIX3.4 Notes on noise4513/4514 Group User’s Manual3.4 Notes on noiseCountermeasures against noise are described below.The following counterme

Página 104 - APPLICATION

4513/4514 Group User’s ManualAPPENDIX3-253.4 Notes on noise(3) Wiring for clock input/output pins• Make the length of wiring which is connectedto clo

Página 105

3-26APPENDIX3.4 Notes on noise4513/4514 Group User’s Manual(5) Wiring to VPP pin of One Time PROM versionIn the built-in PROM version of the 4513/4514

Página 106

4513/4514 Group User’s ManualAPPENDIX3-273.4 Notes on noise3.4.3 Wiring to analog input pins• Connect an approximately 100 Ω to 1 kΩ resistorto an ana

Página 107

3-28APPENDIX3.4 Notes on noise4513/4514 Group User’s ManualFig. 3.4.9 Wiring to a signal line where potentiallevels change frequently(3) Oscillator pr

Página 108

4513/4514 Group User’s ManualAPPENDIX3-293.4 Notes on noise<The main routine>• Assigns a single word of RAM to a softwarewatchdog timer (SWDT) a

Página 109

3-30APPENDIX4513/4514 Group User’s Manual3.5 Mask ROM order confirmation form3.5 Mask ROM order confirmation form1. ConfirmationSpecify the type o

Página 110

4513/4514 Group User’s ManualAPPENDIX3-313.5 Mask ROM order confirmation form✽ 1. ConfirmationSpecify the type of EPROMs submitted.Three sets of EPROM

Página 111

3-32APPENDIX4513/4514 Group User’s Manual3.5 Mask ROM order confirmation form✽ 1. ConfirmationSpecify the type of EPROMs submitted.Three sets of EPROM

Página 112

MITSUBISHI 4-BIT SINGLE-CHIP MICROCOMPUTER4500 SERIES4513/4514GroupUser’s Manual

Página 113

4513/4514 Group User’s ManualHARDWARE1-7BLOCK DIAGRAM (4514 Group)Voltage drop detection circuitSerial I/O(8 bits ✕ 1)Voltage comparator(2 circuits)XI

Página 114

4513/4514 Group User’s ManualAPPENDIX3-333.5 Mask ROM order confirmation form✽ 1. ConfirmationSpecify the type of EPROMs submitted.Three sets of EPROM

Página 115

3-34APPENDIX4513/4514 Group User’s Manual3.5 Mask ROM order confirmation form✽ 1. ConfirmationSpecify the type of EPROMs submitted.Three sets of EPROM

Página 116

4513/4514 Group User’s ManualAPPENDIX3-353.5 Mask ROM order confirmation form✽ 1. ConfirmationSpecify the type of EPROMs submitted.Three sets of EPROM

Página 117

3-36APPENDIX4513/4514 Group User’s Manual3.6 Mark specification form3.6 Mark specification form32P4B (32-PIN SHRINK DIP) MARK SPECIFICATION FORMMitsub

Página 118

4513/4514 Group User’s ManualAPPENDIX3-373.6 Mark specification form32P6B (32-PIN LQFP) MARK SPECIFICATION FORMMitsubishi IC catalog namePlease choose

Página 119

3-38APPENDIX4513/4514 Group User’s Manual3.6 Mark specification form42P2R-A (42-PIN SHRINK SOP) MARK SPECIFICATION FORMMitsubishi IC catalog namePleas

Página 120

4513/4514 Group User’s ManualAPPENDIX3-393.7 Package outline3.7 Package outlineSDIP32-P-400-1.78Weight(g)– 2.2JEDEC CodeEIAJ Package CodeLead Material

Página 121

3-40APPENDIX4513/4514 Group User’s Manual3.7 Package outlineSSOP42-P-450-0.80Weight(g)–JEDEC Code0.63EIAJ Package CodeLead MaterialAlloy 42/Cu Alloy42

Página 122

MITSUBISHI SEMICONDUCTORSUSER’S MANUAL4513/4514 GroupDec. First Edition 1998Editioned byCommittee of editing of Mitsubishi Semiconductor USER’S MANUAL

Página 123

Rev. Rev.No. date1.0 First Edition 981211REVISION DESCRIPTION LIST 4513/4514 GROUP USER'S MANUAL(1/1)Revision Description

Página 124

1-8HARDWARE4513/4514 Group User’s ManualPERFORMANCE OVERVIEWFunction1231280.75 µs (at 4.0 MHz oscillation frequency, in high-speed mode)2048 words ✕ 1

Página 125

User’s Manual4513/4514 Group© 1998 MITSUBISHI ELECTRIC CORPORATION.New publication, effective Dec. 1998.Specifications subject to change without notic

Página 126

4513/4514 Group User’s ManualHARDWARE1-9PIN DESCRIPTIONNamePower supplyGroundVoltage drop detec-tion circuit enableCNVSSReset inputSystem clock inputS

Página 127

1-10HARDWARE4513/4514 Group User’s ManualNotes 1: Pins except above have just single function.2: The input of D6, D7, P20–P22, CMP0-, CMP0+, CMP1-, CM

Página 128

4513/4514 Group User’s ManualHARDWARE1-11Notes 1: The 4513 Group does not have P32 and P33.2: The 4513 Group does not have these ports.DEFINITION OF C

Página 129

1-12HARDWARE4513/4514 Group User’s ManualPORT BLOCK DIAGRAMSPIN DESCRIPTIONDTQAiP00,P01K00PU00DTAiP02,P03K01PU01DTAiP10,P11K02PU02DTAiP12,P13K03PU03Ke

Página 130

4513/4514 Group User’s ManualHARDWARE1-13PORT BLOCK DIAGRAMS (continued)PIN DESCRIPTIONSynchronous clock input for serial transferRegister AIAP2 instr

Página 131

1-14HARDWARE4513/4514 Group User’s ManualPORT BLOCK DIAGRAMS (continued)PIN DESCRIPTIONAIN0/CMP0-Q1Q30AIN1/CMP0++-Q32AIN2/CMP1-Q31AIN3/CMP1++-Q33OP4A

Página 132

4513/4514 Group User’s ManualHARDWARE1-15PORT BLOCK DIAGRAMS (continued)PIN DESCRIPTIONP50–P53DTQOP5A instructionAiRegister AIAP5 instructionD0–D5SD i

Página 133

1-16HARDWARE4513/4514 Group User’s ManualExternal interrupt circuit structurePIN DESCRIPTION01I2201EXF1I21SNZI1P31/INT101I12WakeupSkip01EXF0I11SNZI0P3

Página 134

keep safety first in your circuit designs !● Mitsubishi Electric Corporation puts the maximum effort into making semiconductorproducts better and more

Página 135

4513/4514 Group User’s ManualHARDWARE1-17FUNCTION BLOCK OPERATIONSFUNCTION BLOCK OPERATIONSCPU(1) Arithmetic logic unit (ALU)The arithmetic logic unit

Página 136 - 6 is set to “1.”

1-18HARDWARE4513/4514 Group User’s ManualFUNCTION BLOCK OPERATIONS(5) Stack registers (SKS) and stack pointer (SP)Stack registers (SKs) are used to te

Página 137

4513/4514 Group User’s ManualHARDWARE1-19FUNCTION BLOCK OPERATIONS(8) Program counter (PC)Program counter (PC) is used to specify a ROM address (page

Página 138

1-20HARDWARE4513/4514 Group User’s ManualFUNCTION BLOCK OPERATIONSPROGRAM MEMOY (ROM)The program memory is a mask ROM. 1 word of ROM is composedof 10

Página 139

4513/4514 Group User’s ManualHARDWARE1-21FUNCTION BLOCK OPERATIONSDATA MEMORY (RAM)1 word of RAM is composed of 4 bits, but 1-bit manipulation (withth

Página 140

1-22HARDWARE4513/4514 Group User’s ManualFUNCTION BLOCK OPERATIONSINTERRUPT FUNCTIONThe interrupt type is a vectored interrupt branching to an individ

Página 141

4513/4514 Group User’s ManualHARDWARE1-23FUNCTION BLOCK OPERATIONS(4) Internal state during an interruptThe internal state of the microcomputer during

Página 142

1-24HARDWARE4513/4514 Group User’s ManualFUNCTION BLOCK OPERATIONS(6) Interrupt control registers• Interrupt control register V1Interrupt enable bits

Página 143

4513/4514 Group User’s ManualHARDWARE1-25FUNCTION BLOCK OPERATIONS(7) Interrupt sequenceInterrupts only occur when the respective INTE flag, interrupt

Página 144

1-26HARDWARE4513/4514 Group User’s ManualFUNCTION BLOCK OPERATIONSTable 7 External interrupt activated conditionsNameExternal 0 interruptExternal 1 in

Página 145

PrefaceThis user’s manual describes the hardware andinstructions of Mitsubishi’s 4513/4514 Group CMOS4-bit microcomputer.After reading this manual, th

Página 146

4513/4514 Group User’s ManualHARDWARE1-27FUNCTION BLOCK OPERATIONS(1) External 0 interrupt request flag (EXF0)External 0 interrupt request flag (EXF0)

Página 147

1-28HARDWARE4513/4514 Group User’s ManualFUNCTION BLOCK OPERATIONS(3) External interrupt control registers• Interrupt control register I1Register I1 c

Página 148

4513/4514 Group User’s ManualHARDWARE1-29FUNCTION BLOCK OPERATIONSTIMERSThe 4513/4514 Group has the programmable timers.• Programmable timerThe progra

Página 149

1-30HARDWARE4513/4514 Group User’s ManualFUNCTION BLOCK OPERATIONSCount source• Instruction clock• Prescaler output (ORCLK)• Timer 1 underflow• Presca

Página 150

4513/4514 Group User’s ManualHARDWARE1-31FUNCTION BLOCK OPERATIONSFig. 19 Timers structureT4FT3F100100W31,W3001W33(Note 3)01W43(Note 3)11T1F(T2AB)T2F(

Página 151

1-32HARDWARE4513/4514 Group User’s ManualFUNCTION BLOCK OPERATIONSTable 10 Timer control registers01010101W210011Stop (state initialized)OperatingInst

Página 152

4513/4514 Group User’s ManualHARDWARE1-33FUNCTION BLOCK OPERATIONS(1) Timer control registers• Timer control register W1Register W1 controls the count

Página 153

1-34HARDWARE4513/4514 Group User’s ManualFUNCTION BLOCK OPERATIONS(6) Timer 3 (interrupt function)Timer 3 is an 8-bit binary down counter with the tim

Página 154

4513/4514 Group User’s ManualHARDWARE1-35FUNCTION BLOCK OPERATIONSWATCHDOG TIMERWatchdog timer provides a method to reset the system when a pro-gram r

Página 155

1-36HARDWARE4513/4514 Group User’s ManualFUNCTION BLOCK OPERATIONSSERIAL I/OThe 4513/4514 Group has a built-in clock synchronous serial I/Owhich can s

Página 156

This user’s manual consists of the following three chapters. Refer to the chapter appropriate to your conditions,such as hardware design or software d

Página 157

4513/4514 Group User’s ManualHARDWARE1-37FUNCTION BLOCK OPERATIONSFig. 23 Serial I/O register state when transferring(1) Serial I/O register SISerial

Página 158

1-38HARDWARE4513/4514 Group User’s ManualFUNCTION BLOCK OPERATIONS(5) How to use serial I/OFigure 24 shows the serial I/O connection example. Serial I

Página 159

4513/4514 Group User’s ManualHARDWARE1-39FUNCTION BLOCK OPERATIONSFig. 25 Timing of serial I/O data transferSINSOUTSCKSOUTSINS0S7’S1S2S3S4S5S6S7S0S7’S

Página 160

1-40HARDWARE4513/4514 Group User’s ManualFUNCTION BLOCK OPERATIONSTable 13 Processing sequence of data transfer from master to slave1-byte data is ser

Página 161

4513/4514 Group User’s ManualHARDWARE1-41FUNCTION BLOCK OPERATIONSA-D CONVERTERThe 4513/4514 Group has a built-in A-D conversion circuit thatperforms

Página 162

1-42HARDWARE4513/4514 Group User’s ManualFUNCTION BLOCK OPERATIONSQ13Q12Q11Q10A-D control register Q1Not usedAnalog input pin selection bits (Note 2)a

Página 163

4513/4514 Group User’s ManualHARDWARE1-43FUNCTION BLOCK OPERATIONSTable 16 Change of successive comparison register AD during A-D conversionComparison

Página 164

1-44HARDWARE4513/4514 Group User’s ManualFUNCTION BLOCK OPERATIONSFig. 28 Setting registers0 ✕✕1(Bit 3) (Bit 0)A-D control register Q2AIN4 function se

Página 165

4513/4514 Group User’s ManualHARDWARE1-45FUNCTION BLOCK OPERATIONS(10) Operation at comparator modeThe A-D converter is set to comparator mode by sett

Página 166

1-46HARDWARE4513/4514 Group User’s ManualFUNCTION BLOCK OPERATIONS(15) Notes for the use of A-D conversion 2Do not change the operating mode (both A-D

Página 167

4513/4514 Group User’s ManualiTable of contentsCHAPTER 1 HARDWAREDESCRIPTION ...

Página 168 - APPENDIX

4513/4514 Group User’s ManualHARDWARE1-47FUNCTION BLOCK OPERATIONSVOLTAGE COMPARATORThe 4513/4514 Group has 2 voltage comparator circuits thatperform

Página 169

1-48HARDWARE4513/4514 Group User’s ManualFUNCTION BLOCK OPERATIONSVoltage comparator control register Q3 (Note 2) at reset : 00002 at RAM back-up : st

Página 170

4513/4514 Group User’s ManualHARDWARE1-49FUNCTION BLOCK OPERATIONSRESET FUNCTIONSystem reset is performed by applying “L” level to RESET pin for1 mac

Página 171

1-50HARDWARE4513/4514 Group User’s ManualFUNCTION BLOCK OPERATIONS(1) Power-on resetReset can be performed automatically at power on (power-on re-set)

Página 172

4513/4514 Group User’s ManualHARDWARE1-51FUNCTION BLOCK OPERATIONS• Program counter (PC) ...

Página 173

1-52HARDWARE4513/4514 Group User’s ManualVOLTAGE DROP DETECTION CIRCUITThe built-in voltage drop detection circuit is designed to detect adrop in volt

Página 174

4513/4514 Group User’s ManualHARDWARE1-53RAM BACK-UP MODEThe 4513/4514 Group has the RAM back-up mode.When the EPOF and POF instructions are executed

Página 175

1-54HARDWARE4513/4514 Group User’s Manual(4) Return signalAn external wakeup signal is used to return from the RAM back-upmode because the oscillation

Página 176

4513/4514 Group User’s ManualHARDWARE1-55Fig. 38 State transitionFig. 39 Set source and clear source of the P flag Fig. 40 Start condition identified

Página 177

1-56HARDWARE4513/4514 Group User’s ManualTable 22 Key-on wakeup control register, pull-up control register, and interrupt control registerK03K02K01K00

Página 178

ii4513/4514 Group User’s ManualCHAPTER 2 APPLICATION2.1 I/O pins ...

Página 179

4513/4514 Group User’s ManualHARDWARE1-57CLOCK CONTROLThe clock control circuit consists of the following circuits.• System clock generating circuit•

Página 180

1-58HARDWARE4513/4514 Group User’s ManualClock signal f(XIN) is obtained by externally connecting a ceramicresonator.Connect this external circuit to

Página 181

4513/4514 Group User’s ManualHARDWARE1-59LIST OF PRECAUTIONS➀Noise and latch-up preventionConnect a capacitor on the following condition to prevent no

Página 182

1-60HARDWARE4513/4514 Group User’s Manual➉ A-D converter-1When the operating mode of the A-D converter is changed fromthe comparator mode to the A-D c

Página 183

4513/4514 Group User’s ManualHARDWARE1-6116Voltage comparator functionWhen the voltage comparator function is valid with the voltagecomparator control

Página 184

1-62HARDWARE4513/4514 Group User’s ManualSYMBOLThe symbols shown below are used in the following instruction function table and instruction list.Symbo

Página 185

4513/4514 Group User’s ManualHARDWARE1-63LIST OF INSTRUCTION FUNCTIONGroup-ingRAM addressesFunction(Mj(DP)) ← 1j = 0 to 3(Mj(DP)) ← 0j = 0 to 3(Mj(DP)

Página 186

1-64HARDWARE4513/4514 Group User’s ManualLIST OF INSTRUCTION FUNCTION (continued)Function(T1F) = 1 ?After skipping(T1F) ← 0(T2F) = 1 ?After skipping(T

Página 187

4513/4514 Group User’s ManualHARDWARE1-65LIST OF INSTRUCTION FUNCTION (continued)MnemonicTK0ATAK0TPU0ATAPU0TFR0A*TABSITSIABTAJ1TJ1ASSTSNZSIFunction(K0

Página 188

1-66HARDWARE4513/4514 Group User’s ManualINSTRUCTION CODE TABLE (for 4513 Group)D3–D0Hex.notation00000001001000110100010101100111100010011010101111001

Página 189

4513/4514 Group User’s ManualiiiCHAPTER 3 APPENDIX3.1 Electrical characteristics ...

Página 190

4513/4514 Group User’s ManualHARDWARE1-67INSTRUCTION CODE TABLE (continued) (for 4513 Group)––TJ1A–TQ1ATQ2ATQ3A–––––––TW1ATW2ATW3ATW4A–TW6A––TMRATI1AT

Página 191

1-68HARDWARE4513/4514 Group User’s ManualINSTRUCTION CODE TABLE (for 4514 Group)NOP–POFSNZPDIEIRCSC––AMAMCTYA–TBA–BLACLD–INYRDSD–DEYANDORTEAB–CMARARTA

Página 192

4513/4514 Group User’s ManualHARDWARE1-69INSTRUCTION CODE TABLE (continued) (for 4514 Group)––TJ1A–TQ1ATQ2ATQ3A–––––––TW1ATW2ATW3ATW4A–TW6A––TMRATI1AT

Página 193

ParameterInstruction codeFunctionNumber ofcyclesNumber ofwordsMnemonicType ofinstructionsD9 D8 D7 D6 D5 D4 D3 D2 D1 D0Hexadecimalnotation1-70HARDWARE4

Página 194

Skip condition Datailed descriptionCarry flag CY4513/4514 Group User’s ManualHARDWARE1-71MACHINE INSTRUCTIONSTransfers the contents of register B to r

Página 195

ParameterInstruction codeFunctionNumber ofcyclesNumber ofwordsMnemonicType ofinstructionsD9 D8 D7 D6 D5 D4 D3 D2 D1 D0Hexadecimalnotation1-72HARDWARE4

Página 196

Skip condition Datailed descriptionCarry flag CY4513/4514 Group User’s ManualHARDWARE1-73MACHINE INSTRUCTIONSContinuousdescription–––Overflow = 0––––(

Página 197

ParameterInstruction codeFunctionNumber ofcyclesNumber ofwordsMnemonicType ofinstructionsD9 D8 D7 D6 D5 D4 D3 D2 D1 D0Hexadecimalnotation1-74HARDWARE4

Página 198

Skip condition Datailed descriptionCarry flag CY4513/4514 Group User’s ManualHARDWARE1-75MACHINE INSTRUCTIONS––––––––Skip at uncondition––(EXF0) = 1(E

Página 199

ParameterInstruction codeFunctionNumber ofcyclesNumber ofwordsMnemonicType ofinstructionsD9 D8 D7 D6 D5 D4 D3 D2 D1 D0Hexadecimalnotation1-76HARDWARE4

Página 200

iv4513/4514 Group User’s ManualList of figuresCHAPTER 1 HARDWAREPIN CONFIGURATION (TOP VIEW) 4513 Group ...

Página 201

Skip condition Datailed descriptionCarry flag CY4513/4514 Group User’s ManualHARDWARE1-77MACHINE INSTRUCTIONSWhen bit 2 (I12) of register I1 is “1” :

Página 202

ParameterInstruction codeFunctionNumber ofcyclesNumber ofwordsMnemonicType ofinstructionsD9 D8 D7 D6 D5 D4 D3 D2 D1 D0Hexadecimalnotation1-78HARDWARE4

Página 203

Skip condition Datailed descriptionCarry flag CY4513/4514 Group User’s ManualHARDWARE1-79MACHINE INSTRUCTIONS––––––––––––––––––––––––(T1F) = 1(T2F) =1

Página 204

ParameterInstruction codeFunctionNumber ofcyclesNumber ofwordsMnemonicType ofinstructionsD9 D8 D7 D6 D5 D4 D3 D2 D1 D0Hexadecimalnotation1-80HARDWARE4

Página 205

Skip condition Datailed descriptionCarry flag CY4513/4514 Group User’s ManualHARDWARE1-81MACHINE INSTRUCTIONS––––––––––––––––––––––––––––––––––(D(Y))

Página 206

ParameterInstruction codeFunctionNumber ofcyclesNumber ofwordsMnemonicType ofinstructionsD9 D8 D7 D6 D5 D4 D3 D2 D1 D0Hexadecimalnotation1-82HARDWARE4

Página 207

Skip condition Datailed descriptionCarry flag CY4513/4514 Group User’s ManualHARDWARE1-83MACHINE INSTRUCTIONS–––––(SIOF) = 1––––––(ADF) = 1–––––(P) =

Página 208 - 4513/4514 Group

1-84HARDWARE4513/4514 Group User’s ManualV13V12V11V10V23V22V21V20Serial I/O interrupt enable bitA-D interrupt enable bitTimer 4 interrupt enable bitTi

Página 209 - Revision Description

4513/4514 Group User’s ManualHARDWARE1-8501010101W210011Stop (state initialized)OperatingInstruction clock divided by 4Instruction clock divided by 16

Página 210 - User’s Manual

1-86HARDWARE4513/4514 Group User’s ManualSelected pinsAIN0AIN1AIN2AIN3AIN4 (Not available for the 4513 Group)AIN5 (Not available for the 4513 Group)AI

Comentários a estes Manuais

Sem comentários