Renesas R8C/Tiny Series Manuál

Procházejte online nebo si stáhněte Manuál pro Sítě Renesas R8C/Tiny Series. Renesas R8C/Tiny Series Hardware manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 199
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER
M16C FAMILY / R8C /Tiny SERIES
R8C/10 Group
16
Rev. 1.20
Revision date: Jan 27, 2006
Hardware Manual
www.renesas.com
REJ09B0019-0120
All information contained in these materials, including products and product specifications,
represents information on the product at the time of publication and is subject to change by
Renesas Technology Corp. without notice. Please review the latest information published
by Renesas Technology Corp. through various means, including the Renesas Technology
Corp. website (http://www.renesas.com).
Zobrazit stránku 0
1 2 3 4 5 6 ... 198 199

Shrnutí obsahu

Strany 1

RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTERM16C FAMILY / R8C /Tiny SERIESR8C/10 Group16Rev. 1.20Revision date: Jan 27, 2006Hardware Manualwww.renesas.com

Strany 2

B-2SFR Page ReferenceA d d r e s s R e g i s t e rS y m b o l P a g e0 0 8 01 60 0 8 11 60 0 8 21 60 0 8 31 60 0 8 41 60 0 8 51 60 0 8 61 60 0 8 71 6

Strany 3

R8C/10 Group 13. Serial InterfaceIRev.1.20 Jan 27, 2006 page 90 of 180REJ09B0019-0120i = 0 , 1S P : S t o p b i tP A R : P a r i t y b

Strany 4

R8C/10 Group 13. Serial InterfaceRev.1.20 Jan 27, 2006 page 91 of 180REJ09B0019-0120Figure 13.3 U0TB and U1TB Registers, U0RB and U1RB Register

Strany 5

R8C/10 Group 13. Serial InterfaceIRev.1.20 Jan 27, 2006 page 92 of 180REJ09B0019-0120U A R T i t r a n s m i t / r e c e i v e m o d e r e

Strany 6

R8C/10 Group 13. Serial InterfaceRev.1.20 Jan 27, 2006 page 93 of 180REJ09B0019-0120U A R T i t r a n s m i t / r e c e i v e c o n t r o l

Strany 7

R8C/10 Group 13.1 Clock Synchronous Serial I/O ModeRev.1.20 Jan 27, 2006 page 94 of 180REJ09B0019-012013.1 Clock Synchronous Serial I/O ModeThe

Strany 8

R8C/10 Group 13.1 Clock Synchronous Serial I/O ModeRev.1.20 Jan 27, 2006 page 95 of 180REJ09B0019-0120Table 13. 2 Registers to Be Used and Sett

Strany 9

R8C/10 Group 13.1 Clock Synchronous Serial I/O ModeRev.1.20 Jan 27, 2006 page 96 of 180REJ09B0019-0120Figure 13.6 Transmit and Receive Operatio

Strany 10

R8C/10 Group 13.1 Clock Synchronous Serial I/O ModeRev.1.20 Jan 27, 2006 page 97 of 180REJ09B0019-012013.1.1 Polarity Select FunctionFigure 13.7

Strany 11

R8C/10 Group 13.1 Clock Synchronous Serial I/O ModeRev.1.20 Jan 27, 2006 page 98 of 180REJ09B0019-012013.1.3 Continuous Receive ModeThe unit is

Strany 12

R8C/10 Group 13.2 Clock Asynchronous Serial I/O (UART) ModeRev.1.20 Jan 27, 2006 page 99 of 180REJ09B0019-0120Item SpecificationTransfer data fo

Strany 13

R8C/10 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTERRev.1.20 Jan 27, 2006 page 1 of 180REJ09B0019-0120REJ09B0019-0120Rev.1.20Jan 27, 20061. Overvie

Strany 14

R8C/10 Group 13.2 Clock Asynchronous Serial I/O (UART) ModeRev.1.20 Jan 27, 2006 page 100 of 180REJ09B0019-0120Table 13.5 Registers to Be Used

Strany 15

R8C/10 Group 13.2 Clock Asynchronous Serial I/O (UART) ModeRev.1.20 Jan 27, 2006 page 101 of 180REJ09B0019-0120TxDiTransfer clockUiC1 registerTE

Strany 16

R8C/10 Group 13.2 Clock Asynchronous Serial I/O (UART) ModeRev.1.20 Jan 27, 2006 page 102 of 180REJ09B0019-0120• Example of receive timing when

Strany 17

R8C/10 Group 13.2 Clock Asynchronous Serial I/O (UART) ModeRev.1.20 Jan 27, 2006 page 103 of 180REJ09B0019-012013.2.3 Bit RateDivided-by-16 of f

Strany 18

R8C/10 GroupRev.1.20 Jan 27, 2006 page 104 of 180REJ09B0019-012014. A/D ConverterThe A/D converter consists of one 10-bit successive approximatio

Strany 19

R8C/10 GroupRev.1.20 Jan 27, 2006 page 105 of 180REJ09B0019-01201/2φAD1/2fA DA/D conversion rate selectionC K S 1 = 1C K S 0 = 0AD registerResist

Strany 20

R8C/10 GroupRev.1.20 Jan 27, 2006 page 106 of 180REJ09B0019-0120A D c o n t r o l r e g i s t e r 0(1 )S y m b o lA d d r e s sA f t e r

Strany 21

R8C/10 GroupRev.1.20 Jan 27, 2006 page 107 of 180REJ09B0019-0120Figure 14.3 ADCON2 Register and AD Register14. A/D ConverterA D c o n t r o l

Strany 22

R8C/10 GroupRev.1.20 Jan 27, 2006 page 108 of 180REJ09B0019-012014.1 One-shot ModeIn one-shot mode, the input voltage on one selected pin is A/D

Strany 23

R8C/10 GroupRev.1.20 Jan 27, 2006 page 109 of 180REJ09B0019-012014.2 Repeat ModeIn repeat mode, the input voltage on one selected pin is A/D con

Strany 24

Rev.1.20 Jan 27, 2006 page 2 of 180REJ09B0019-0120R8C/10 Group1. OverviewTable 1.1 Performance outline1.2 Performance OverviewTable 1.1. lists

Strany 25

R8C/10 GroupRev.1.20 Jan 27, 2006 page 110 of 180REJ09B0019-012014.3 Sample and HoldIf the SMP bit in the ADCON2 register is set to “1” (with sa

Strany 26

R8C/10 GroupRev.1.20 Jan 27, 2006 page 111 of 180REJ09B0019-012014.5 Internal Equivalent Circuit of Analog Input14.5 Internal Equivalent Circui

Strany 27

R8C/10 GroupRev.1.20 Jan 27, 2006 page 112 of 180REJ09B0019-012014.6 Inflow Current Bypass Circuit14.6 Inflow Current Bypass CircuitFigure 14.9

Strany 28

R8C/10 GroupRev.1.20 Jan 27, 2006 page 113 of 180REJ09B0019-012014.7 Output Impedance of Sensor under A/D ConversionTo carry out A/D conversion

Strany 29

R8C/10 GroupRev.1.20 Jan 27, 2006 page 114 of 180REJ09B0019-0120Figure 14.11 Analog Input Pin and External Sensor Equivalent CircuitR0R ( 2 . 8

Strany 30

R8C/10 Group 15. Programmable I/O PortsRev.1.20 Jan 27, 2006 page 115 of 180REJ09B0019-012015. Programmable I/O Ports15. 1 DescriptionThe progra

Strany 31

R8C/10 Group 15. Programmable I/O PortsRev.1.20 Jan 27, 2006 page 116 of 180REJ09B0019-0120Figure 15.1 Programmable I/O Ports (1)D a t a b u s

Strany 32

R8C/10 Group 15. Programmable I/O PortsRev.1.20 Jan 27, 2006 page 117 of 180REJ09B0019-0120Figure 15.2 Programmable I/O Ports (2)" 1 "

Strany 33

R8C/10 Group 15. Programmable I/O PortsRev.1.20 Jan 27, 2006 page 118 of 180REJ09B0019-0120Figure 15.3 Programmable I/O Ports (3)P 45P 32, P 3

Strany 34

R8C/10 Group 15. Programmable I/O PortsRev.1.20 Jan 27, 2006 page 119 of 180REJ09B0019-0120Figure 15.4 Programmable I/O Port (4)D a t a b u sD

Strany 35

Rev.1.20 Jan 27, 2006 page 3 of 180REJ09B0019-0120R8C/10 Group1. Overview1.3 Block DiagramFigure 1.1 shows this MCU block diagram.Figure 1.1 B

Strany 36

R8C/10 Group 15. Programmable I/O PortsRev.1.20 Jan 27, 2006 page 120 of 180REJ09B0019-0120P o r t P i r e g i s t e r ( i = 0 , 1 ,

Strany 37

R8C/10 Group 15. Programmable I/O PortsRev.1.20 Jan 27, 2006 page 121 of 180REJ09B0019-0120P u l l - u p c o n t r o l r e g i s t e r 0Sy

Strany 38

R8C/10 Group 15. Programmable I/O PortsRev.1.20 Jan 27, 2006 page 122 of 180REJ09B0019-0120PD0PD0_10001PUR0PU00010XADCON0CH2, CH1, CH0XXXXXX1102

Strany 39

R8C/10 Group 15. Programmable I/O PortsRev.1.20 Jan 27, 2006 page 123 of 180REJ09B0019-0120PD0PD0_40001PUR0PU01010XADCON0CH2, CH1, CH0XXXXXX0112

Strany 40

R8C/10 Group 15. Programmable I/O PortsRev.1.20 Jan 27, 2006 page 124 of 180REJ09B0019-0120_____Table 15.10 Port P11/KI1 SettingRegisterBitSetti

Strany 41

R8C/10 Group 15. Programmable I/O PortsRev.1.20 Jan 27, 2006 page 125 of 180REJ09B0019-0120Table 15.13 Port P14/TXD0 SettingRegisterBitSetting v

Strany 42

R8C/10 Group 15. Programmable I/O PortsRev.1.20 Jan 27, 2006 page 126 of 180REJ09B0019-0120____________Table 15.17 Port P30/CNTR0 SettingRegiste

Strany 43

R8C/10 Group 15. Programmable I/O PortsRev.1.20 Jan 27, 2006 page 127 of 180REJ09B0019-0120Table 15.21 Port P37/TXD10/RXD1 SettingRegisterBitSet

Strany 44

R8C/10 Group 15. Programmable I/O PortsRev.1.20 Jan 27, 2006 page 128 of 180REJ09B0019-0120P i n n a m eC o n n e c t i o nP o r t s P 0 ,

Strany 45

R8C/10 Group 16. Electrical CharacteristicsRev.1.20 Jan 27, 2006 page 129 of 180REJ09B0019-012016. Electrical CharacteristicsTable 16.1 Absolut

Strany 46

Rev.1.20 Jan 27, 2006 page 4 of 180REJ09B0019-0120R8C/10 Group1. Overview1.4 Product InformationTable 1.2 lists the product inforamation.Table

Strany 47

R8C/10 Group 16. Electrical CharacteristicsRev.1.20 Jan 27, 2006 page 130 of 180REJ09B0019-0120Table 16.3 A/D Conversion CharacteristicsStandar

Strany 48

R8C/10 Group 16. Electrical CharacteristicsRev.1.20 Jan 27, 2006 page 131 of 180REJ09B0019-0120Figure 16.1 Port P0 to P4 measurement circuitP0P

Strany 49

R8C/10 Group 16. Electrical CharacteristicsRev.1.20 Jan 27, 2006 page 132 of 180REJ09B0019-0120Table 16.6 Electrical Characteristics (1) [V

Strany 50

R8C/10 Group 16. Electrical CharacteristicsRev.1.20 Jan 27, 2006 page 133 of 180REJ09B0019-0120Table 16.7 Electrical Characteristics (2) [V

Strany 51

R8C/10 Group 16. Electrical CharacteristicsRev.1.20 Jan 27, 2006 page 134 of 180REJ09B0019-0120Timing requirements (Unless otherwise noted: VCC

Strany 52

R8C/10 Group 16. Electrical CharacteristicsRev.1.20 Jan 27, 2006 page 135 of 180REJ09B0019-0120Figure 16.3 Vcc=5V timing diagramCLKiTxDiRxDiINT

Strany 53

R8C/10 Group 16. Electrical CharacteristicsRev.1.20 Jan 27, 2006 page 136 of 180REJ09B0019-0120Table 16.13 Electrical Characteristics (3) [

Strany 54

R8C/10 Group 16. Electrical CharacteristicsRev.1.20 Jan 27, 2006 page 137 of 180REJ09B0019-0120Table 16.14 Electrical Characteristics (4) [

Strany 55

R8C/10 Group 16. Electrical CharacteristicsRev.1.20 Jan 27, 2006 page 138 of 180REJ09B0019-0120Timing requirements (Unless otherwise noted: VCC

Strany 56

R8C/10 Group 16. Electrical CharacteristicsRev.1.20 Jan 27, 2006 page 139 of 180REJ09B0019-0120Figure 16.4 Vcc=3V timing diagramCLKiTxDiRxDiINT

Strany 57

Rev.1.20 Jan 27, 2006 page 5 of 180REJ09B0019-0120R8C/10 Group1. OverviewPackage: PLQP0032GB-A (32P6U-A)Figure 1.3 Pin Assignments (Top View)P

Strany 58

R8C/10 Group 17. Memory MapRev.1.20 Jan 27, 2006 page 140 of 180REJ09B0019-0120Table 17.1 Flash Memory Version Performance17. Flash Memory Versi

Strany 59

17. Flash Memory VersionR8C/10 GroupRev.1.20 Jan 27, 2006 page 141 of 180REJ09B0019-012017.2 Memory MapThe ROM in the flash memory version is se

Strany 60

R8C/10 GroupRev.1.20 Jan 27, 2006 page 142 of 180REJ09B0019-012017.3 Functions To Prevent Flash Memory from RewritingTo prevent the flash memory

Strany 61

R8C/10 GroupRev.1.20 Jan 27, 2006 page 143 of 180REJ09B0019-012017.4 CPU Rewrite ModeIn CPU rewrite mode, the user ROM area can be rewritten by e

Strany 62

R8C/10 GroupRev.1.20 Jan 27, 2006 page 144 of 180REJ09B0019-012017.4.1 EW0 ModeThe microcomputer is placed in CPU rewrite mode by setting the FMR

Strany 63

R8C/10 GroupRev.1.20 Jan 27, 2006 page 145 of 180REJ09B0019-0120Figure 17.3 shows the FMR0 register. Figure 17.4 shows the FMR1 and FMR4 register

Strany 64

R8C/10 GroupRev.1.20 Jan 27, 2006 page 146 of 180REJ09B0019-0120Flash memory control register 0S y m b o lA d d r e s sA f t e r r e s e tF M R

Strany 65

R8C/10 GroupRev.1.20 Jan 27, 2006 page 147 of 180REJ09B0019-0120Figure 17.4 FMR1 and FMR4F l a s h m e m o r y c o n t r o l r e g i s t e

Strany 66

R8C/10 GroupRev.1.20 Jan 27, 2006 page 148 of 180REJ09B0019-0120Figure 17.7 Setting and Resetting of EW1 ModeS e t C M 0 a n d C M 1 r e

Strany 67

R8C/10 GroupRev.1.20 Jan 27, 2006 page 149 of 180REJ09B0019-0120Figure 17.8 Process to Reduce Power Consumption in On-Chip Oscillator Mode (Main

Strany 68

Rev.1.20 Jan 27, 2006 page 6 of 180REJ09B0019-0120R8C/10 Group1. OverviewSignal name Pin name I/O typePower supply Vcc, Iinput VssIVcc IVcc OAna

Strany 69

R8C/10 GroupRev.1.20 Jan 27, 2006 page 150 of 180REJ09B0019-012017.4.3 Software CommandsSoftware commands are described below. The command code a

Strany 70

R8C/10 GroupRev.1.20 Jan 27, 2006 page 151 of 180REJ09B0019-0120Start Program completedYESNOWrite the command code ‘4016’ to the write addressWri

Strany 71

R8C/10 GroupRev.1.20 Jan 27, 2006 page 152 of 180REJ09B0019-0120Write ‘D016’ to the given block addressStart Block erase completedYESNOWrite the

Strany 72

R8C/10 GroupRev.1.20 Jan 27, 2006 page 153 of 180REJ09B0019-0120Figure 17.11 Block Erase Command (When Using Erase-suspend Function)Write ‘D016’

Strany 73

R8C/10 GroupRev.1.20 Jan 27, 2006 page 154 of 180REJ09B0019-012017.4.4 Status RegisterThe status register indicates the operating status of the f

Strany 74

R8C/10 GroupRev.1.20 Jan 27, 2006 page 155 of 180REJ09B0019-012017.4.5 Full Status CheckWhen an error occurs, the FMR06 to FMR07 bits in the FMR0

Strany 75

R8C/10 GroupRev.1.20 Jan 27, 2006 page 156 of 180REJ09B0019-0120F u l l s t a t u s c h e c kF M R 0 6 = 1a n d F M R 0 7 = 1 ?N oY e sFMR

Strany 76

R8C/10 Group 17.5 Standard Serial I/O ModeRev.1.20 Jan 27, 2006 page 157 of 180REJ09B0019-012017.5 Standard Serial I/O ModeIn standard serial I/

Strany 77

R8C/10 Group 17.5 Standard Serial I/O ModeRev.1.20 Jan 27, 2006 page 158 of 180REJ09B0019-0120P i n DescriptionVC C, VS SA p p l y t h e v o

Strany 78

R8C/10 Group 17.5 Standard Serial I/O ModeRev.1.20 Jan 27, 2006 page 159 of 180REJ09B0019-0120Figure 17.13 Pin Connections for Standard Serial I

Strany 79

R8C/10 Group 2. Central Processing Unit (CPU)Rev.1.20 Jan 27, 2006 page 7 of 180REJ09B0019-01202. Central Processing Unit (CPU)Figure 2.1 shows

Strany 80

R8C/10 Group 17.5 Standard Serial I/O ModeRev.1.20 Jan 27, 2006 page 160 of 180REJ09B0019-0120Data inputData outputTxDCNVssRxDMicrocomputer(1) I

Strany 81

R8C/11 Group 18. On-chip DebuggerRev.1.20 Jan 27, 2006 page 161 of 180REJ09B0019-012018. On-chip debuggerThe microcomputer has functions to exe

Strany 82

R8C/10 Group 19. Usage NotesRev.1.20 Jan 27, 2006 page 162 of 180REJ09B0019-012019. Usage Notes19.1 Stop Mode and Wait Mode19.1.1 Stop ModeWhen

Strany 83

R8C/10 Group 19. Usage NotesRev.1.20 Jan 27, 2006 page 163 of 180REJ09B0019-012019.2 Interrupt19.2.1 Reading Address 0000016Do not read the addr

Strany 84

R8C/10 Group 19. Usage NotesRev.1.20 Jan 27, 2006 page 164 of 180REJ09B0019-0120Figure 19.1 Example of Procedure for Changing Interrupt FactorD

Strany 85

R8C/10 Group 19. Usage NotesRev.1.20 Jan 27, 2006 page 165 of 180REJ09B0019-0120Example 1: Use NOP instructions to prevent I flag being set to “

Strany 86

R8C/10 Group 19. Usage NotesRev.1.20 Jan 27, 2006 page 166 of 180REJ09B0019-012019.3 Clock Generation Circuit19.3.1 Oscillation Stop Detection F

Strany 87

R8C/10 Group 19. Usage NotesRev.1.20 Jan 27, 2006 page 167 of 180REJ09B0019-012019.4 Timers19.4.1 Timers X, Y and Z(1) Timers X, Y and Z stop co

Strany 88

R8C/10 Group 19. Usage NotesRev.1.20 Jan 27, 2006 page 168 of 180REJ09B0019-012019.5 Serial Interface(1) When reading data from the UiRB (i=0,1)

Strany 89

R8C/10 Group 19. Usage NotesRev.1.20 Jan 27, 2006 page 169 of 180REJ09B0019-012019.6 A/D Converter(1) When writing to each bit but except bit 6

Strany 90

R8C/10 Group 2. Central Processing Unit (CPU)Rev.1.20 Jan 27, 2006 page 8 of 180REJ09B0019-01202.2 Address Registers (A0 and A1)A0 is a 16-bit

Strany 91

R8C/10 Group 19. Usage NotesRev.1.20 Jan 27, 2006 page 170 of 180REJ09B0019-012019.7 Flash Memory Version19.7.1 CPU Rewrite Mode● Operation Spee

Strany 92

R8C/10 Group 19. Usage NotesRev.1.20 Jan 27, 2006 page 171 of 180REJ09B0019-0120● InterruptTable 19.1 list the Interrupt in EW0 Mode and Table 1

Strany 93

R8C/10 Group 19. Usage NotesRev.1.20 Jan 27, 2006 page 172 of 180REJ09B0019-0120ModeEW1StatusDuring auto-matic erasing(erase-sus-pend func-tion

Strany 94

R8C/10 Group 19. Usage NotesRev.1.20 Jan 27, 2006 page 173 of 180REJ09B0019-012019.8 Noise(1) Bypass Capacitor between VCC and VSS PinsInsert a

Strany 95

R8C/10 Group 20. Usage Notes for On-chip DebuggerRev.1.20 Jan 27, 2006 page 174 of 180REJ09B0019-012020. Usage notes for on-chip debuggerWhen u

Strany 96

R8C/10 Group Appendix 1. Package DimensionsRev.1.20 Jan 27, 2006 page 175 of 180REJ09B0019-0120Appendix 1. Package Dimensions2.1. DIMENSIONS &q

Strany 97

R8C/10 GroupAppendix 2. Connecting Examples for Serial Writer and On-chip Debugging EmulatorRev.1.20 Jan 27, 2006 page 176 of 180REJ09B0019-0120

Strany 98

R8C/10 GroupAppendix 2. Connecting Examples for Serial Writer and On-chip Debugging EmulatorRev.1.20 Jan 27, 2006 page 177 of 180REJ09B0019-0120

Strany 99

R8C/10 Group Appendix 3. Package DimensionsRev.1.20 Jan 27, 2006 page 178 of 180REJ09B0019-0120Appendix 3. Example of Oscillation Evaluation Ci

Strany 100

R8C/10 Group Register IndexRev.1.20 Jan 27, 2006 page 179 of 180REJ09B0019-0120Register IndexAAD 107ADCON0 106, 108, 109ADCON1 106, 108, 109ADCON

Strany 101

R8C/10 Group 3. MemoryRev.1.20 Jan 27, 2006 page 9 of 180REJ09B0019-01203. MemoryFigure 3.1 is a memory map of this MCU. This MCU provides 1-Mb

Strany 102

R8C/10 Group Register IndexRev.1.20 Jan 27, 2006 page 180 of 180REJ09B0019-0120TZSC 74UU0BRG 91U0C0 92U0C1 93U0MR 92U0RB 91U0TB 91U1BRG 91U1C0 92

Strany 103

C-1REVISION HISTORYRev. Date DescriptionPage SummaryR8C/10 Group Hardware Manual0.91 Sep 8, 2003 First edition issued – 0.92 Nov 5, 2003Table1.1

Strany 104

C-2REVISION HISTORYRev. Date DescriptionPage SummaryR8C/10 Group Hardware Manual 0.92 Nov 5, 2003Table 12.12 revisedFigure 12.28 Add “Sampling cloc

Strany 105

C-3REVISION HISTORYRev. Date DescriptionPage SummaryR8C/10 Group Hardware Manual 0.92 Nov 5, 2003Section 17.5 Add sentencesTable 17.7 Rev

Strany 106

C-4REVISION HISTORYRev. Date DescriptionPage SummaryR8C/10 Group Hardware ManualTable 12.9 revisedTable 12.10 revised, NOTES revisedTable 12.11 revise

Strany 107

C-5REVISION HISTORYRev. Date DescriptionPage SummaryR8C/10 Group Hardware Manual1.10Apr.27.20054 Table 1.2, Figure 1.2 package name revised5 Figure 1.

Strany 108

C-6REVISION HISTORYRev. Date DescriptionPage SummaryR8C/10 Group Hardware Manual1.20Jan.27.20062 Table 1.1 Performance outline revised3 Figure 1.1 Blo

Strany 109

C-7REVISION HISTORYRev. Date DescriptionPage SummaryR8C/10 Group Hardware Manual1.20Jan.27.2006113 14.7 Output Impedance of Sensor under A/D Conversi

Strany 110

RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTERHARDWARE MANUALR8C/10 GroupPublication Data : Rev.0.93 Feb 18, 2004Rev.1.20 Jan 27, 2006Published by : Sales

Strany 111

R8C/10 GroupHardware Manual2-6-2, Ote-machi, Chiyoda-ku, Tokyo,100-0004, Japan

Strany 112

Keep safety first in your circuit designs!Notes regarding these materials1.Renesas Technology Corp. puts the maximum effort into making semiconductor

Strany 113

R8C/10 Group 4. Special Function Register (SFR)Rev.1.20 Jan 27, 2006 page 10 of 180REJ09B0019-0120Watchdog timer start register WDTS XX16W a t c

Strany 114

R8C/10 Group 4. Special Function Register (SFR)Rev.1.20 Jan 27, 2006 page 11 of 180REJ09B0019-0120UART0 transmit interrupt control register S0TI

Strany 115

R8C/10 Group 4. Special Function Register (SFR)Rev.1.20 Jan 27, 2006 page 12 of 180REJ09B0019-01200 0 8 01 60 0 8 11 60 0 8 21 60 0 8 31 60 0 8

Strany 116

R8C/10 Group 4. Special Function Register (SFR)Rev.1.20 Jan 27, 2006 page 13 of 180REJ09B0019-01200 0 C 01 60 0 C 11 60 0 C 21 60 0 C 31 60 0 C

Strany 117

R8C/10 Group 5. ResetRev.1.20 Jan 27, 2006 page 14 of 180REJ09B0019-01205. ResetThere are three types of resets: a hardware reset, a software re

Strany 118

R8C/10 Group 5. ResetRev.1.20 Jan 27, 2006 page 15 of 180REJ09B0019-0120Figure 5.2 Reset SequenceFigure 5.1 CPU Register Status After Resetb15

Strany 119

R8C/10 Group 5. ResetRev.1.20 Jan 27, 2006 page 16 of 180REJ09B0019-0120Figure 5.3 Example Reset CircuitFigure 5.4 Example Reset Circuit (Volt

Strany 120

R8C/10 GroupRev.1.20 Jan 27, 2006 page 17 of 180REJ09B0019-0120• C P U c l o c k s o u r c e• P e r i p h e r a l f u n c t i o n c l

Strany 121

R8C/10 GroupRev.1.20 Jan 27, 2006 page 18 of 180REJ09B0019-0120C P U c l o c kI n t e r r u p t r e q u e s t l e v e l j u d g m e n t

Strany 122

R8C/10 GroupRev.1.20 Jan 27, 2006 page 19 of 180REJ09B0019-0120S y s t e m c l o c k c o n t r o l r e g i s t e r 0(1 )S y m b o lA d d

Strany 123

How to Use This Manual1. IntroductionThis hardware manual provides detailed information on the R8C/10 Group of microcomputers.Users are expected to ha

Strany 124

R8C/10 GroupRev.1.20 Jan 27, 2006 page 20 of 180REJ09B0019-0120R WR WR WR Ob 7b 6b 5b 4b 3b 2b 1b 0O C D 0O C D 1O C D 2O C D 30000O s c i l l a

Strany 125

R8C/10 GroupRev.1.20 Jan 27, 2006 page 21 of 180REJ09B0019-0120Microcomputer(Built-in feedback resistor)XINXOUTE x t e r n a l l y d e r i v e

Strany 126

R8C/10 GroupRev.1.20 Jan 27, 2006 page 22 of 180REJ09B0019-01206.2 On-Chip Oscillator ClockThis clock, approximately 125 kHz, is supplied by the

Strany 127

R8C/10 GroupRev.1.20 Jan 27, 2006 page 23 of 180REJ09B0019-01206.3 CPU Clock and Peripheral Function ClockThere are two types of clocks: CPU cloc

Strany 128

R8C/10 GroupRev.1.20 Jan 27, 2006 page 24 of 180REJ09B0019-0120M o d e s O C D r e g i s t e rO C D 2C M 1 r e g i s t e rC M 1 7 , C M

Strany 129

R8C/10 GroupRev.1.20 Jan 27, 2006 page 25 of 180REJ09B0019-01206.4.2 Wait ModeIn wait mode, the CPU clock is turned off, so are the CPU and the w

Strany 130

R8C/10 GroupRev.1.20 Jan 27, 2006 page 26 of 180REJ09B0019-01206.4.3 Stop ModeIn stop mode, all oscillator circuits are turned off, so are the CP

Strany 131

R8C/10 GroupRev.1.20 Jan 27, 2006 page 27 of 180REJ09B0019-0120Figure 6.5 State Transition of Power ControlFigure 6.5 shows the state transition

Strany 132

R8C/10 GroupRev.1.20 Jan 27, 2006 page 28 of 180REJ09B0019-01206.5 Oscillation Stop Detection FunctionThe oscillation stop detection function is

Strany 133

R8C/10 GroupRev.1.20 Jan 27, 2006 page 29 of 180REJ09B0019-0120 Generated Interrupt Factor Bit showing interrupt factorOscillation stop dete

Strany 134

Document3. M16C Family DocumentsThe following documents were prepared for the M16C family.(1)ContentsShort SheetData SheetHardware ManualSoftware Manu

Strany 135

R8C/10 Group 7. ProtectionRev.1.20 Jan 27, 2006 page 30 of 180REJ09B0019-01207. ProtectionIn the event that a program runs out of control, this

Strany 136

R8C/10 Group 8. Processor ModeRev.1.20 Jan 27, 2006 page 31 of 180REJ09B0019-01208. Processor Mode8.1 Types of Processor ModeThe processor mode

Strany 137

R8C/10 Group 9. BusRev.1.20 Jan 27, 2006 page 32 of 180REJ09B0019-01209. BusDuring access, the ROM/RAM and the SFR have different bus cycles. Ta

Strany 138

R8C/10 GroupRev.1.20 Jan 27, 2006 page 33 of 180REJ09B0019-0120• Maskable Interrupt: An interrupt which can be enabled (disabled) by the interrup

Strany 139

R8C/10 GroupRev.1.20 Jan 27, 2006 page 34 of 180REJ09B0019-012010.1.2 Software InterruptsA software interrupt occurs when executing certain inst

Strany 140

R8C/10 GroupRev.1.20 Jan 27, 2006 page 35 of 180REJ09B0019-012010.1.3 Hardware InterruptsHardware interrupts are classified into two types — spec

Strany 141

R8C/10 GroupRev.1.20 Jan 27, 2006 page 36 of 180REJ09B0019-0120Interrupt factor Vector addresses Remarks Reference Address (L) to address (H)Unde

Strany 142

R8C/10 GroupRev.1.20 Jan 27, 2006 page 37 of 180REJ09B0019-0120Table 10.2 Relocatable Vector TablesS o f t w a r e i n t e r r u p t n u m b

Strany 143

R8C/10 GroupRev.1.20 Jan 27, 2006 page 38 of 180REJ09B0019-012010.1.5 Interrupt ControlThe following describes how to enable/disable the maskable

Strany 144

R8C/10 GroupRev.1.20 Jan 27, 2006 page 39 of 180REJ09B0019-0120Figure 10.3 Interrupt Control RegistersS y m b o l A d d r e s sA f t e r r

Strany 145

A-1Table of ContentsSFR Page ReferenceChapter 1. Overview... 11.1 Applications ...

Strany 146

R8C/10 GroupRev.1.20 Jan 27, 2006 page 40 of 180REJ09B0019-0120• I FlagThe I flag enables or disables the maskable interrupt. Setting the I flag

Strany 147

R8C/10 GroupRev.1.20 Jan 27, 2006 page 41 of 180REJ09B0019-0120Figure 10.4 Time Required for Executing Interrupt Sequence• Interrupt SequenceAn

Strany 148

R8C/10 GroupRev.1.20 Jan 27, 2006 page 42 of 180REJ09B0019-0120Interrupt factors7Level that is set to IPLWatchdog timer, oscillation stop detecti

Strany 149

R8C/10 GroupRev.1.20 Jan 27, 2006 page 43 of 180REJ09B0019-0120• Saving RegistersIn the interrupt sequence, the FLG register and PC are saved to

Strany 150

R8C/10 GroupRev.1.20 Jan 27, 2006 page 44 of 180REJ09B0019-0120• Interrupt PriorityIf two or more interrupt requests are generated while executin

Strany 151

R8C/10 GroupRev.1.20 Jan 27, 2006 page 45 of 180REJ09B0019-0120Figure 10.9 Interrupts Priority Select CircuitInterruptrequestacceptedHighestLowe

Strany 152

R8C/10 GroupRev.1.20 Jan 27, 2006 page 46 of 180REJ09B0019-0120______10.2 INT Interrupt________10.2.1 INT0 Interrupt_______INT0 interrupt is trig

Strany 153

R8C/10 GroupRev.1.20 Jan 27, 2006 page 47 of 180REJ09B0019-0120_______10.2.2 INT0 Input Filter_______The INT0 input has a digital filter which ca

Strany 154

R8C/10 GroupRev.1.20 Jan 27, 2006 page 48 of 180REJ09B0019-0120______ ______10.2.3 INT1 Interrupt and INT2 Interrupt______ ______INT1 interrupts

Strany 155

R8C/10 GroupRev.1.20 Jan 27, 2006 page 49 of 180REJ09B0019-0120Figure 10.14 TCC0 Register and TCC1 Register______10.2.4 INT3 Interrupt_____ ____

Strany 156

A-26.3 CPU Clock and Peripheral Function Clock ... 236.3.1 CPU Clock...

Strany 157

R8C/10 GroupRev.1.20 Jan 27, 2006 page 50 of 180REJ09B0019-0120Key input interrupt requestPull-up transistorPull-up transistorPull-up transistorK

Strany 158

R8C/10 GroupRev.1.20 Jan 27, 2006 page 51 of 180REJ09B0019-012010.4 Address Match InterruptAn address match interrupt is generated immediately be

Strany 159

R8C/10 GroupRev.1.20 Jan 27, 2006 page 52 of 180REJ09B0019-0120Bit nameBit symbolSymbol Address After resetAIER 000916 XXXXXX002Address match int

Strany 160

R8C/10 Group 11. Watchdog TimerRev.1.20 Jan 27, 2006 page 53 of 180REJ09B0019-012011. Watchdog TimerThe watchdog timer is the function of detect

Strany 161

R8C/10 Group 11. Watchdog TimerRev.1.20 Jan 27, 2006 page 54 of 180REJ09B0019-0120Watchdog timer start registerSymbol Address After reset WDTS

Strany 162

R8C/10 GroupRev.1.20 Jan 27, 2006 page 55 of 180REJ09B0019-012012. TimersThe microcomputer has three 8-bit timers and one 16-bit timer. The three

Strany 163

R8C/10 GroupRev.1.20 Jan 27, 2006 page 56 of 180REJ09B0019-0120T X C K 1 t o T X C K 0= 0 02f1f8f32f2Toggle flip-flopP o l a r i t y s w i t

Strany 164

R8C/10 GroupRev.1.20 Jan 27, 2006 page 57 of 180REJ09B0019-0120Figure 12.3 PREX Register, TX Register, and TCSS RegisterB i t n a m eFunction

Strany 165

R8C/10 GroupRev.1.20 Jan 27, 2006 page 58 of 180REJ09B0019-012012.1.1 Timer ModeIn this mode, the timer counts an internally generated count sour

Strany 166

R8C/10 GroupRev.1.20 Jan 27, 2006 page 59 of 180REJ09B0019-012012.1.2 Pulse Output ModeIn this mode, the timer counts an internally generated cou

Strany 167

A-312.3.3 Programmable One-shot Generation Mode...8012.3.4 Programm

Strany 168

R8C/10 GroupRev.1.20 Jan 27, 2006 page 60 of 180REJ09B0019-012012.1.3 Event Counter Mode_____In this mode, the timer counts an external signal fe

Strany 169

R8C/10 GroupRev.1.20 Jan 27, 2006 page 61 of 180REJ09B0019-012012.1.4 Pulse Width Measurement Mode_____In this mode, the timer measures the pulse

Strany 170

R8C/10 GroupRev.1.20 Jan 27, 2006 page 62 of 180REJ09B0019-0120FFFF16n000016Counter contents (hex)n = high-level: the contents of TX register, lo

Strany 171

R8C/10 GroupRev.1.20 Jan 27, 2006 page 63 of 180REJ09B0019-012012.1.5 Pulse Period Measurement ModeIn this mode, the timer measures the pulse pe

Strany 172

R8C/10 GroupRev.1.20 Jan 27, 2006 page 64 of 180REJ09B0019-01200 F1 60 E1 60 E1 60 D1 60 C1 60B160A1609160 F1 60 E1 60 D1 60 11 60 01 60F160 E1 6

Strany 173

R8C/10 GroupRev.1.20 Jan 27, 2006 page 65 of 180REJ09B0019-012012.2 Timer YTimer Y is an 8-bit timer with an 8-bit prescaler and has two reload r

Strany 174

R8C/10 GroupRev.1.20 Jan 27, 2006 page 66 of 180REJ09B0019-0120T i m e r Y , Z o u t p u t c o n t r o l r e g i s t e r( 3 )Symbol Add

Strany 175

R8C/10 GroupRev.1.20 Jan 27, 2006 page 67 of 180REJ09B0019-0120Bit nameFunction Bit symbolT i m e r Y , Z w a v e f o r m o u t p u t c

Strany 176

R8C/10 GroupRev.1.20 Jan 27, 2006 page 68 of 180REJ09B0019-012012.2.1 Timer ModeIn this mode, the timer counts an internally generated count sour

Strany 177

R8C/10 GroupRev.1.20 Jan 27, 2006 page 69 of 180REJ09B0019-0120Figure 12.15 TYZMR Register and PUM Register in Timer ModeT i m e r Y , Z m

Strany 178

A-4Chapter 18. On-chip Debugger ... 16118.1 Address Match Interrupt ...

Strany 179

R8C/10 GroupRev.1.20 Jan 27, 2006 page 70 of 180REJ09B0019-012012.2.2 Programmable Waveform Generation ModeIn this mode, an signal output from th

Strany 180

R8C/10 GroupRev.1.20 Jan 27, 2006 page 71 of 180REJ09B0019-0120Figure 12.16 TYZMR Register and PUM Register in Programmable Waveform Generation

Strany 181

R8C/10 GroupRev.1.20 Jan 27, 2006 page 72 of 180REJ09B0019-0120CNTR1 pin output"H""L"IR bit in TYIC register"1"&quo

Strany 182

R8C/10 GroupRev.1.20 Jan 27, 2006 page 73 of 180REJ09B0019-0120TZSC registerf1f8T i m e r Y u n d e r f l o wf2T o g g l e f l i p - f l o

Strany 183

R8C/10 GroupRev.1.20 Jan 27, 2006 page 74 of 180REJ09B0019-0120Figure 12.20 PREZ Register, TZSC Register, TZPR Register, and TYZOC RegisterNOTES

Strany 184

R8C/10 GroupRev.1.20 Jan 27, 2006 page 75 of 180REJ09B0019-0120Figure 12.21 PUM Register and TCSS RegisterB i t n a m eF u n c t i o n Bit sy

Strany 185

R8C/10 GroupRev.1.20 Jan 27, 2006 page 76 of 180REJ09B0019-012012.3.1 Timer ModeIn this mode, the timer counts an internally generated count sour

Strany 186

R8C/10 GroupRev.1.20 Jan 27, 2006 page 77 of 180REJ09B0019-0120Figure 12.22 TYZMR Register and PUM Register in Timer ModeBit nameFunction Bit sy

Strany 187

R8C/10 GroupRev.1.20 Jan 27, 2006 page 78 of 180REJ09B0019-012012.3.2 Programmable Waveform Generation ModeIn this mode, an signal output from th

Strany 188

R8C/10 GroupRev.1.20 Jan 27, 2006 page 79 of 180REJ09B0019-0120Figure 12.23 TYZMR Register and PUM Register in Programmable Waveform Generation

Strany 189

B-1SFR Page ReferenceW a t c h d o g t i m e r s t a r t r e g i s t e rW D T S5 4W a t c h d o g t i m e r c o n t r o l r e g i s t e rW

Strany 190

R8C/10 GroupRev.1.20 Jan 27, 2006 page 80 of 180REJ09B0019-012012.3.3 Programmable One-shot Generation ModeIn this mode, upon program command or

Strany 191

R8C/10 GroupRev.1.20 Jan 27, 2006 page 81 of 180REJ09B0019-0120Figure 12.24 TYZMR Register and PUM Register in Programmable One-shot Generation

Strany 192

R8C/10 GroupRev.1.20 Jan 27, 2006 page 82 of 180REJ09B0019-0120Figure 12.25 Operation Example in Programmable One-shot Generation ModeCount sour

Strany 193

R8C/10 GroupRev.1.20 Jan 27, 2006 page 83 of 180REJ09B0019-012012.3.4 Programmable Wait One-shot Generation ModeIn this mode, upon program or ext

Strany 194

R8C/10 GroupRev.1.20 Jan 27, 2006 page 84 of 180REJ09B0019-0120Figure 12.26 TYZMR Register and PUM Register in Programmable Wait One-shot Genera

Strany 195

R8C/10 GroupRev.1.20 Jan 27, 2006 page 85 of 180REJ09B0019-0120T ZO U T p i n o u t p u tThe above applies to the following conditions;PREZ=01

Strany 196

R8C/10 GroupRev.1.20 Jan 27, 2006 page 86 of 180REJ09B0019-012012.4 Timer CTimer C is a 16-bit free-running timer. Figure 12.28 shows a block di

Strany 197

R8C/10 GroupRev.1.20 Jan 27, 2006 page 87 of 180REJ09B0019-0120Symbol Address After reset TC 009116-009016 000016RW Internal count source is coun

Strany 198

R8C/10 GroupRev.1.20 Jan 27, 2006 page 88 of 180REJ09B0019-0120Counter contents (hex)TCC00 bit in TCC0 registerMeasurement pulse(TCIN pin input)T

Strany 199

R8C/10 Group 13. Serial InterfaceRev.1.20 Jan 27, 2006 page 89 of 180REJ09B0019-012013. Serial InterfaceSerial interface is configured with two

Komentáře k této Příručce

Žádné komentáře