Sign In
Upload
Manuals
Brands
Renesas Manuals
Computer Hardware
M16C FAMILY
Renesas M16C FAMILY Manuals
Manuals and User Guides for Renesas M16C FAMILY. We have
9
Renesas M16C FAMILY manuals available for free PDF download: User Manual, Hardware Manual
Renesas M16C FAMILY User Manual (501 pages)
Brand:
Renesas
| Category:
Microcontrollers
| Size: 4.06 MB
Table of Contents
Table of Contents
11
Resets
61
Hardware Reset
61
Hardware Reset 1
61
Brown-Out Detection Reset (Hardware Reset 2)
61
Software Reset
62
Watchdog Timer Reset
62
Oscillation Stop Detection Reset
62
Voltage Detection Circuit
64
Low Voltage Detection Interrupt
67
Limitations on Stop Mode
69
Limitations on WAIT Instruction
69
Processor Mode
70
Clock Generation Circuit
73
Main Clock
80
Sub Clock
81
On-Chip Oscillator Clock
82
PLL Clock
82
CPU Clock and Peripheral Function Clock
84
CPU Clock
84
Peripheral Function Clock(F 1SIO 2SIO 8SIO 32SIO AD CAN0 )
84
Clockoutput Function
84
Power Control
85
Normal Operation Mode
85
Wait Mode
86
Stop Mode
88
System Clock Protective Function
92
Oscillation Stop and Re-Oscillation Detect Function
92
Operation When CM27 Bit = 0 (Oscillation Stop Detection Reset)
93
Operation When CM27 Bit = 1 (Oscillation Stop and Re-Oscillation Detect Interrupt)
93
How to Use Oscillation Stop and Re-Oscillation Detect Function
94
Protection
95
Interrupts
96
Type of Interrupts
96
Software Interrupts
97
Hardware Interrupts
98
Interrupts and Interrupt Vector
99
Fixed Vector Tables
99
Relocatable Vector Tables
100
Interrupt Control
101
I Flag
104
IR Bit
104
ILVL2 to ILVL0 Bits and IPL
104
Interrupt Sequence
105
Interrupt Response Time
106
Variation of IPL When Interrupt Request Is Accepted
106
Saving Registers
107
Returning from an Interrupt Routine
109
Interrupt Priority
109
Interrupt Priority Resolution Circuit
109
INT Interrupt
111
NMI Interrupt
112
Key Input Interrupt
112
CAN0 Wake-Up Interrupt
113
Address Match Interrupt
113
Watchdog Timer
115
Count Source Protective Mode
116
Dmac
117
Transfer Cycles
122
Effect of Source and Destination Addresses
122
Effect of Software Wait
122
DMA Transfer Cycles
124
DMA Enable
125
DMA Request
125
Channel Priority and DMA Transfer Timing
126
Timers
127
Timer a
129
Timer Mode
132
Event Counter Mode
133
One-Shot Timer Mode
138
Pulse Width Modulation (PWM) Mode
140
Timer B
143
Timer Mode
145
Event Counter Mode
146
Pulse Period and Pulse Width Measurement Mode
147
A/D Trigger Mode
149
Three-Phase Motor Control Timer Function
151
Position-Data-Retain Function
162
Three-Phase/Port Output Switch Function
164
Timer S
166
Base Timer
177
Base Timer Reset Register(G1BTRR)
181
Interrupt Operation
182
DMA Support
182
Time Measurement Function
183
Waveform Generating Function
187
Single-Phase Waveform Output Mode
188
Phase-Delayed Waveform Output Mode
190
Set/Reset Waveform Output (SR Waveform Output) Mode
192
I/O Port Function Select
194
INPC17 Alternate Input Pin Selection
195
Digital Debounce Function for Pin P17/INT5/INPC17
195
Serial I/O
196
Uarti (I=0 to 2)
196
Clock Synchronous Serial I/O Mode
206
Clock Asynchronous Serial I/O (UART) Mode
214
Special Mode 1 (I 2 C Bus Mode)(UART2)
222
Special Mode 2 (UART2)
232
Special Mode 3 (Iebus Mode)(UART2)
236
Special Mode 4 (SIM Mode) (UART2)
238
O3 and SI/O4
243
CLK Polarity Selection
246
Oi Operation Timing
246
Functions for Setting an Souti Initial Value
247
A/D Converter
248
Operating Modes
254
One-Shot Mode
254
Repeat Mode
256
Single Sweep Mode
258
Repeat Sweep Mode 0
260
Repeat Sweep Mode 1
262
Simultaneous Sample Sweep Mode
264
Delayed Trigger Mode 0
267
Delayed Trigger Mode 1
273
Resolution Select Function
279
Sample and Hold
279
Power Consumption Reducing Function
279
Output Impedance of Sensor under A/D Conversion
280
Multi-Master I C Bus Interface
282
I 2 C0 Data Shift Register (S00 Register)
290
I 2 C0 Address Register (S0D0 Register)
290
I 2 C0 Clock Control Register (S20 Register)
291
Bits 0 to 4: SCL Frequency Control Bits (CCR0-CCR4)
291
Bit 5: SCL Mode Specification Bit (FAST MODE)
291
Bit 6: ACK Bit (ACKBIT)
291
Bit 7: ACK Clock Bit (ACK-CLK)
291
I 2 C0 Control Register 0 (S1D0)
293
Bits 0 to 2: Bit Counter (BC0-BC2)
293
Bit 3: I C Interface Enable Bit (ES0)
293
Bit 4: Data Format Select Bit (ALS)
293
Bit 6: I C Bus Interface Reset Bit (IHR)
293
Bit 7: I 2 C Bus Interface Pin Input Level Select Bit (TISS)
294
I 2 C0 Status Register (S10 Register)
295
Bit 0: Last Receive Bit (LRB)
295
Bit 1: General Call Detection Flag (ADR0)
295
Bit 2: Slave Address Comparison Flag (AAS)
295
Bit 3: Arbitration Lost Detection Flag (AL)
295
Bit 4: I C Bus Interface Interrupt Request Bit (PIN)
296
Bit 5: Bus Busy Flag (BB)
296
Bit 6: Communication Mode Select Bit (Transfer Direction Select Bit: TRX)
297
Bit 7: Communication Mode Select Bit (Master/Slave Select Bit: MST)
297
I 2 C0 Control Register 1 (S3D0 Register)
298
Bit 0 : Interrupt Enable Bit by STOP Condition (SIM )
298
Bit 1: Interrupt Enable Bit at the Completion of Data Receive (WIT)
298
Bits 2,3 : Port Function Select Bits PED, PEC
299
Bits 4,5 : SDA/SCL Logic Output Value Monitor Bits SDAM/SCLM
300
Bits 6,7 : I C System Clock Select Bits ICK0, ICK1
300
Address Receive in STOP/WAIT Mode
300
I 2 C0 Control Register 2 (S4D0 Register)
301
Bit0: Time-Out Detection Function Enable Bit (TOE)
302
Bit1: Time-Out Detection Flag (TOF )
302
Bit2: Time-Out Detection Period Select Bit (TOSEL)
302
Bits 3,4,5: I 2 C System Clock Select Bits (ICK2-4)
302
Bit7: STOP Condition Detection Interrupt Request Bit (SCPIN)
302
I 2 C0 START/STOP Condition Control Register (S2D0 Register)
303
Bit0-Bit4: START/STOP Condition Setting Bits (SSC0-SSC4)
303
Bit5: SCL/SDA Interrupt Pin Polarity Select Bit (SIP)
303
Bit6 : SCL/SDA Interrupt Pin Select Bit (SIS)
303
Bit7: START/STOP Condition Generation Select Bit (STSPSEL)
303
START Condition Generation Method
304
START Condition Duplicate Protect Function
305
STOP Condition Generation Method
305
START/STOP Condition Detect Operation
307
Address Data Communication
308
Example of Master Transmit
308
Example of Slave Receive
309
Precautions
310
Advertisement
Renesas M16C FAMILY Hardware Manual (468 pages)
16-BIT SINGLE-CHIP MICROCOMPUTER
Brand:
Renesas
| Category:
Computer Hardware
| Size: 4.29 MB
Table of Contents
Table of Contents
6
Software Reset
49
Watchdog Timer Reset
49
Oscillation Stop Detection Reset
49
Voltage Detection Circuit
51
Voltage down Detection Interrupt
54
Limitations on Exiting Stop Mode
56
Limitations on Exiting Wait Mode
56
Processor Mode
57
Clock Generation Circuit
58
Main Clock
65
Sub Clock
66
On-Chip Oscillator Clock
67
PLL Clock
67
CPU Clock and Peripheral Function Clock
69
CPU Clock
69
Peripheral Function Clock(F1, F2, F8, F32, F1Sio, F2Sio, F8Sio, F32Sio, Fad, Fc32, Fcan0)
69
Clockoutput Function
69
Power Control
70
Normal Operation Mode
70
High-Speed Mode
70
Low Power Dissipation Mode
70
Low-Speed Mode
70
Medium-Speed Mode
70
PLL Operation Mode
70
On-Chip Oscillator Low Power Dissipation Mode
71
On-Chip Oscillator Mode
71
Wait Mode
71
Entering Wait Mode
71
Peripheral Function Clock Stop Function
71
Exiting Wait Mode
72
Pin Status During Wait Mode
72
Stop Mode
73
Entering Stop Mode
73
Exiting Stop Mode
73
Pin Status During Stop Mode
73
System Clock Protective Function
77
Oscillation Stop and Re-Oscillation Detect Function
77
Operation When CM27 Bit = 0 (Oscillation Stop Detection Reset)
78
Operation When CM27 Bit = 1 (Oscillation Stop and Re-Oscillation Detect Interrupt)
78
How to Use Oscillation Stop and Re-Oscillation Detect Function
79
Protection
80
Interrupts
81
Type of Interrupts
81
Software Interrupts
82
BRK Interrupt
82
INT Instruction Interrupt
82
Overflow Interrupt
82
Undefined Instruction Interrupt
82
Hardware Interrupts
83
Address Match Interrupt
83
DBC Interrupt
83
NMI Interrupt
83
Oscillation Stop and Re-Oscillation Detection Interrupt
83
Peripheral Function Interrupts
83
Single-Step Interrupt
83
Special Interrupts
83
Voltage down Detection Interrupt
83
Watchdog Timer Interrupt
83
Interrupts and Interrupt Vector
84
Fixed Vector Tables
84
Relocatable Vector Tables
85
Interrupt Control
86
I Flag
89
IR Bit
89
ILVL2 to ILVL0 Bits and IPL
89
Interrupt Sequence
90
Interrupt Response Time
91
Variation of IPL When Interrupt Request Is Accepted
91
Saving Registers
92
Returning from an Interrupt Routine
94
Interrupt Priority
94
Interrupt Priority Resolution Circuit
94
INT Interrupt
96
NMI Interrupt
96
Key Input Interrupt
97
CAN0 Wake-Up Interrupt
97
Address Match Interrupt
98
Watchdog Timer
100
Count Source Protective Mode
100
Cold Start / Warm Start
102
Dmac
103
Transfer Cycles
108
Effect of Source and Destination Addresses
108
Effect of Software Wait
108
DMA Transfer Cycles
110
DMA Enable
111
DMA Request
111
Channel Priority and DMA Transfer Timing
112
Timers
113
Timer a
115
Timer Mode
118
Event Counter Mode
119
Counter Initialization by Two-Phase Pulse Signal Processing
123
One-Shot Timer Mode
124
Pulse Width Modulation (PWM) Mode
126
Timer B
129
Timer Mode
131
Event Counter Mode
132
Pulse Period and Pulse Width Measurement Mode
133
A/D Trigger Mode
135
Three-Phase Motor Control Timer Function
137
Position-Data-Retain Function
148
Operation of the Position-Data-Retain Function
148
Position-Data-Retain Function Control Register
149
Retain-Trigger Polarity Select Bit (PDRT)
149
U-Phase Position Data Retain Bit (PDRU)
149
V-Phase Position Data Retain Bit (PDRV)
149
W-Phase Position Data Retain Bit (PDRW)
149
Three-Phase/Port Output Switch Function
150
Timer S (Input Capture/Output Compare)
152
Base Timer
164
Base Timer Reset Register
168
Interrupt Operation
169
DMA Support
169
Time Measurement Function
170
Waveform Generation Function
174
Single-Phase Waveform Output Mode
175
Phase-Delayed Waveform Output Mode
177
Set/Reset Waveform Output (SR Waveform Output) Mode
179
I/O Port Function Select
181
INPC17 Alternate Input Pin Selection
182
Digital Debounce Function for Pin P17/INT5/INPC17
182
Serial I/O
183
Uarti (I=0 to 2)
183
Clock Synchronous Serial I/O Mode
193
CLK Polarity Select Function
197
LSB First/Msb First Select Function
197
Continuous Receive Mode
198
Serial Data Logic Switch Function (UART2)
198
Transfer Clock Output from Multiple Pins Function (UART1)
198
CTS/RTS Separate Function (UART0)
199
Clock Asynchronous Serial I/O (UART) Mode
200
LSB First/Msb First Select Function
204
Serial Data Logic Switching Function (UART2)
205
Txd and Rxd I/O Polarity Inverse Function (UART2)
205
CTS/RTS Separate Function (UART0)
206
Special Mode 1 (I 2 C Bus Mode)(UART2)
207
Detection of Start and Stop Condition
213
Output of Start and Stop Condition
213
Arbitration
214
SDA Input
215
SDA Output
215
Transfer Clock
215
ACK and NACK
216
Initialization of Transmission/Reception
216
Special Mode 2 (UART2)
217
Clock Phase Setting Function
220
Master (Internal Clock)
220
Slave (External Clock)
220
Special Mode 3 (Iebus Mode)(UART2)
222
Special Mode 4 (SIM Mode) (UART2)
224
Parity Error Signal Output
227
Format
228
O3 and SI/O4
229
Oi Operation Timing
232
CLK Polarity Selection
232
Functions for Setting an Souti Initial Value
233
Renesas M16C FAMILY Hardware Manual (423 pages)
16-BIT SINGLE-CHIP MICROCOMPUTER
Brand:
Renesas
| Category:
Computer Hardware
| Size: 3.14 MB
Table of Contents
How to Use this Manual
4
Table of Contents
8
1 Overview
21
Specifications
22
Block Diagram
24
Product Information
26
Pin Assignment
30
Pin Description
39
2 Central Processing Unit (CPU)
42
Frame Base Register (FB)
43
3 Memory
44
4 Special Function Register (SFR)
45
5 Reset
52
Hardware Reset
52
Hardware Reset 1
52
Hardware Reset 2
52
Software Reset
53
Watchdog Timer Reset
53
Oscillation Stop Detection Reset
53
Voltage Detection Circuit
55
Low Voltage Detection Interrupt
58
Limitations on Stop Mode
60
Limitations on WAIT Instruction
60
6 Processor Mode
61
7 Clock Generation Circuit
64
Main Clock
71
Sub Clock
72
On-Chip Oscillator Clock
73
PLL Clock
73
CPU Clock and Peripheral Function Clock
75
CPU Clock
75
Peripheral Function Clock(F 1SIO 2SIO 8SIO 32SIO AD )
75
Power Control
76
Normal Operation Mode
76
Wait Mode
77
Stop Mode
79
System Clock Protective Function
83
Oscillation Stop and Re-Oscillation Detect Function
83
Operation When CM27 Bit Is Set to "0" (Oscillation Stop Detection Reset)
84
Operation When CM27 Bit Is Set to "1" (Oscillation Stop and Re-Oscillation Detect Interrupt)
84
How to Use Oscillation Stop and Re-Oscillation Detect Function
85
8 Protection
86
9 Interrupts
87
Type of Interrupts
87
Software Interrupts
88
Hardware Interrupts
89
Interrupts and Interrupt Vector
90
Fixed Vector Tables
90
Relocatable Vector Tables
91
Interrupt Control
92
I Flag
95
IR Bit
95
ILVL2 to ILVL0 Bits and IPL
95
Interrupt Sequence
96
Interrupt Response Time
97
Variation of IPL When Interrupt Request Is Accepted
97
Saving Registers
98
Returning from an Interrupt Routine
100
Interrupt Priority
100
Interrupt Priority Resolution Circuit
100
INT Interrupt
102
NMI Interrupt
103
Key Input Interrupt
103
Address Match Interrupt
104
10 Watchdog Timer
106
Count Source Protective Mode
107
11 Dmac
108
Transfer Cycles
113
Effect of Source and Destination Addresses
113
Effect of Software Wait
113
DMA Transfer Cycles
115
DMA Enable
116
DMA Request
116
Channel Priority and DMA Transfer Timing
117
12 Timer
118
Timer a
120
Timer Mode
123
Event Counter Mode
124
One-Shot Timer Mode
129
Pulse Width Modulation (PWM) Mode
131
Timer B
134
Timer Mode
136
Event Counter Mode
137
Pulse Period and Pulse Width Measurement Mode
138
A/D Trigger Mode
140
Three-Phase Motor Control Timer Function
142
Position-Data-Retain Function
153
13 Timer S
155
Interrupt Request Register
164
Base Timer
166
Base Timer Reset Register(G1BTRR)
170
Interrupt Operation
171
DMA Support
171
Time Measurement Function
172
Waveform Generating Function
176
Single-Phase Waveform Output Mode
177
Phase-Delayed Waveform Output Mode
179
Set/Reset Waveform Output (SR Waveform Output) Mode
181
I/O Port Function Select
183
INPC17 Alternate Input Pin Selection
184
Digital Debounce Function for Pin P17/INT5/INPC17
184
14 Serial I/O
185
Uarti (I=0 to 2)
185
Clock Synchronous Serial I/O Mode
195
Clock Asynchronous Serial I/O (UART) Mode
203
Special Mode 1 (I 2 C Bus Mode)(UART2)
211
Special Mode 2 (UART2)
221
Special Mode 3 (Iebus Mode)(UART2)
225
Special Mode 4 (SIM Mode) (UART2)
227
SI/O3 and SI/O4
232
Si/Oi Operation Timing
235
CLK Polarity Selection
235
Functions for Setting an Souti Initial Value
236
15 A/D Converter
237
Operating Modes
243
One-Shot Mode
243
Repeat Mode
245
Single Sweep Mode
247
Repeat Sweep Mode 0
249
Repeat Sweep Mode 1
251
Simultaneous Sample Sweep Mode
253
Delayed Trigger Mode 0
256
Delayed Trigger Mode 1
262
Resolution Select Function
268
Sample and Hold
268
Power Consumption Reducing Function
268
Output Impedance of Sensor under A/D Conversion
269
Advertisement
Renesas M16C FAMILY User Manual (380 pages)
16-BIT SINGLE-CHIP MICROCOMPUTER
Brand:
Renesas
| Category:
Computer Hardware
| Size: 4.06 MB
Table of Contents
Table of Contents
7
Chapter 1: Hardware
19
Description
20
Features
20
Applications
20
Pin Configuration
21
Block Diagram
22
Performance Outline
23
Pin Description
25
Overview
27
Operation of Functional Blocks
28
Central Processing Unit
28
Data Registers
28
Address Registers (A0 and A1)
28
Frame Base Register (FB)
29
Program Counter (PC)
29
Interrupt Table Register (INTB)
29
Stack Pointer (USP/ISP)
29
Static Base Register (SB)
29
Flag Register (FLG)
29
Processor Mode
31
Memory
32
SFR Map
33
Reset
39
Clock-Generating Circuit
40
Stop Mode
43
Wait Mode
43
Status Transition of Internal Clock Φ
43
Power Control
44
Normal Operation Mode
44
Wait Mode
44
Stop Mode
44
Protection
45
Interrupts
46
Interrupt Control Registers
48
Interrupt Priority
50
Flag Changes
52
NMI Interrupt
52
Key Input Interrupt
53
Address Match Interrupt
54
Watchdog Timer
54
Frequency Synthesizer Circuit
56
Prescaler
56
Multiplier
57
Divider
57
Universal Serial Bus
59
USB Function Control Unit (USB FCU)
59
USB Interrupts
60
USB Endpoint Fifos
62
USB Special Function Registers
64
Dmac
78
Timers
83
Timer a
84
Timer Mode
87
Event Counter Mode
88
One-Shot Timer Mode
91
Pulse-Width Modulation (PWM) Mode
92
Timer B
94
Timer Mode
95
UART0 to UART2
96
Clock Synchronous Serial I/O Mode
103
Clock Asynchronous Serial I/O (UART) Mode
109
Clock-Asynchronous Serial I/O Mode (Compliant with the SIM Interface)
114
A-D Converter
117
One-Shot Mode
121
Repeat Mode
122
Single-Sweep Mode
123
Repeat-Sweep Mode 0
124
Repeat-Sweep Mode 1
125
Sample and Hold
126
CRC Calculation Circuit
127
Programmable I/O Ports
128
Direction Registers
128
Port Registers
128
Pull-Up Control Registers
128
High Drive Capacity Registers
128
Usage Precautions
135
A-D Converter
135
Built-In PROM Version
135
Dedicated Input Pins
136
Dmac
136
Frequency Synthesizer
136
Interrupt
136
Noise
137
Software Reset
137
Stop Mode and Wait Mode
137
Timer a (Timer Mode)
138
Timer a (Event Counter Mode)
138
Timer a (One-Shot Timer Mode)
138
Timer a (Pulse-Width Modulation Mode)
139
Timer B (Timer Mode)
139
Uart2
139
Usb
139
Specifications
142
Electrical Characteristics
142
Timing
146
Applications
149
Frequency Synthesizer
149
Reset of USB-Related Registers
149
Set up of Frequency Synthesizer and DC-DC Converter
150
Set up after Hardware Reset
150
Set up after USB Reset Signaling Detected
151
Set up after USB Suspend Detected
151
Set up after USB Resume Signaling Detected
152
PLL Lock Bit
152
Attach/Detach Function
153
Low Pass Filter Network
153
USB Transceiver
154
Programming Notes
155
Accessing USB IN/OUT Control and Status Registers
155
USB Consecutive Set Address
156
Renesas M16C FAMILY User Manual (369 pages)
16-BIT SINGLE-CHIP MICROCOMPUTER
Brand:
Renesas
| Category:
Computer Hardware
| Size: 3.19 MB
Table of Contents
Chapter 1. Hardware
12
Table of Contents
8
Chapter 2. Peripheral Functions Usage
14
Protect
15
Overview
15
Protect Operation
16
Timer a
17
Overview
17
Operation of Timer a (Timer Mode)
23
Operation of Timer a (Timer Mode, Gate Function Selected)
25
Operation of Timer a (Timer Mode, Pulse Output Function Selected)
27
Operation of Timer a (Event Counter Mode, Reload Type Selected)
29
Operation of Timer a (Event Counter Mode, Free Run Type Selected)
31
Operation of Timer a (Two-Phase Pulse Signal Process in Event Counter Mode, Normal Mode Selected)
33
Operation of Timer a (Two-Phase Pulse Signal Process in Event Counter Mode, Multiply-By-4 Mode Selected)
35
Operation of Timer a (One-Shot Timer Mode)
37
Operation of Timer a (Pulse Width Modulation Mode, 16-Bit PWM Mode Selected)
39
Operation of Timer a (Pulse Width Modulation Mode, 8-Bit PWM Mode Selected)
42
Precautions for Timer a (Timer Mode)
45
Precautions for Timer a (Event Counter Mode)
46
Precautions for Timer a (One-Shot Timer Mode)
48
Precautions for Timer a (Pulse Width Modulation Mode)
49
Clock-Synchronous Serial I/O
50
Overview
50
Operation of Serial I/O (Transmission in Clock-Synchronous Serial I/O Mode)
56
Operation of Serial I/O (Reception in Clock-Synchronous Serial I/O Mode)
60
Precautions for Serial I/O (in Clock-Synchronous Serial I/O Mode)
64
Clock-Asynchronous Serial I/O (UART)
66
Overview
66
Operation of Serial I/O (Transmission in UART Mode)
75
Operation of Serial I/O (Reception in UART Mode)
79
Serial I/O Precautions (UART Mode)
83
Operation of Serial I/O (Transmission Used for SIM Interface)
84
Operation of Serial I/O (Reception Used for SIM Interface)
88
Clock Signals in Used for the SIM Interface
92
Serial Interface Special Function
96
Overview
96
Operation of Serial Interface Special Function (Transmission in Master Mode Without Delay)
105
Operation of Serial Interface Special Function (Reception in Master Mode with Clock Delay)
109
Operation of Serial Interface Special Function
113
Without Delay)
113
Operation of Serial Interface Special Function
117
Clock Delay)
117
Serial Sound Interface
121
Overview
121
Example of Serial Sound Interface Operation
127
Precautions for Serial Sound Interface
131
Frequency Synthesizer (PLL)
132
Overview
132
Operation of Frequency Synthesizer
135
Precautions for Frequency Synthesizer
137
USB Function
138
Overview
138
USB Function Control
150
USB Interrupt
161
USB Operation (Suspend/Resume Function)
172
USB Operation (Endpoint 0)
180
USB Operation (Endpoints 1 to 4 Receive)
193
USB Operation (Endpoints 1 to 4 Transmit)
204
USB Operation (Interface with DMAC Transfer)
218
Precautions for USB
221
A/D Converter
224
Overview
224
Operation of A/D Converter (One-Shot Mode)
229
Operation of A/D Converter (in One-Shot Mode, an External Trigger Selected)
231
Operation of A/D Converter (in Repeat Mode)
233
Operation of A/D Converter (in Single Sweep Mode)
235
Operation of A/D Converter (in Repeat Sweep Mode 0)
237
Operation of A/D Converter (in Repeat Sweep Mode 1)
239
Precautions for A/D Converter
241
Method of A/D Conversion (10-Bit Mode)
242
Method of A/D Conversion (8-Bit Mode)
244
Absolute Accuracy and Differential Non-Linearity Error
246
Internal Equivalent Circuit of Analog Input
248
Sensor's Output Impedance under A/D Conversion (Reference Value)
249
DMAC Usage
251
Overview of the DMAC Usage
251
Operation of DMAC (One-Shot Transfer Mode)
256
Operation of DMAC (Repeated Transfer Mode)
258
CRC Calculation Circuit
260
Overview
260
Operation of CRC Calculation Circuit
262
SFR Access Snoop Function
263
Overview
264
Watchdog Timer
264
Operation of Watchdog Timer (Watchdog Timer Interrupt)
267
RENESAS M16C FAMILY Hardware Manual (257 pages)
16-BIT SINGLE-CHIP MCU
Brand:
RENESAS
| Category:
Computer Hardware
| Size: 2.42 MB
Table of Contents
How to Use this Manual
4
Table of Contents
8
1 Overview
16
Applications
16
Performance Overview
17
Block Diagram
19
Product Information
20
Pin Assignments
22
Pin Functions
25
2 Central Processing Unit (CPU)
28
Data Registers (R0, R1, R2, and R3)
29
Address Registers (A0 and A1)
29
Frame Base Register (FB)
29
Interrupt Table Register (INTB)
29
Program Counter (PC)
29
User Stack Pointer (USP) and Interrupt Stack Pointer (ISP)
29
Static Base Register (SB)
29
Flag Register (FLG)
29
Carry Flag (C)
29
Debug Flag (D)
29
Interrupt Enable Flag (I)
30
Stack Pointer Select Flag (U)
30
Processor Interrupt Priority Level (IPL)
30
Reserved Bit
30
3 Memory
31
R8C/18 Group
31
R8C/19 Group
32
4 Special Function Registers (Sfrs)
33
5 Resets
37
Hardware Reset
39
When Power Supply Is Stable
39
Power on
39
Power-On Reset Function
41
Voltage Monitor 1 Reset
42
Voltage Monitor 2 Reset
42
Watchdog Timer Reset
42
Software Reset
42
6 Programmable I/O Ports
43
Functions of Programmable I/O Ports
43
Effect on Peripheral Functions
43
Pins Other than Programmable I/O Ports
43
Port Settings
50
Unassigned Pin Handling
54
7 Voltage Detection Circuit
55
VCC Input Voltage
61
Monitoring Vdet1
61
Monitoring Vdet2
61
Digital Filter
61
Voltage Monitor 1 Reset
63
Voltage Monitor 2 Interrupt and Voltage Monitor 2 Reset
64
8 Processor Mode
66
Processor Modes
66
9 Bus
67
10 Clock Generation Circuit
68
Main Clock
75
On-Chip Oscillator Clocks
76
Low-Speed On-Chip Oscillator Clock
76
High-Speed On-Chip Oscillator Clock
76
CPU Clock and Peripheral Function Clock
77
System Clock
77
CPU Clock
77
Peripheral Function Clock (F1, F2, F4, F8, and F32)
77
Fring and Fring128
77
Fring-Fast
77
Fring-S
77
Power Control
78
Standard Operating Mode
78
Wait Mode
79
Stop Mode
81
Oscillation Stop Detection Function
83
How to Use Oscillation Stop Detection Function
83
Notes on Clock Generation Circuit
85
Stop Mode and Wait Mode
85
Oscillation Stop Detection Function
85
Oscillation Circuit Constants
85
High-Speed On-Chip Oscillator Clock
85
11 Protection
86
Renesas M16C FAMILY Hardware Manual (227 pages)
16-Bit Microcopmuter
Brand:
Renesas
| Category:
Computer Hardware
| Size: 2.09 MB
Table of Contents
How to Use this Manual
3
Table of Contents
5
Chapter 1. Overview
12
Performance Overview
13
Block Diagram
14
Product Information
15
Pin Assignments
16
Pin Description
17
Chapter 2. Central Processing Unit (CPU)
18
Address Registers (A0 and A1)
19
Chapter 3. Memory
20
Chapter 4. Special Function Registers (SFR)
21
Chapter 5. Reset
25
Hardware Reset 2
28
Power-On Reset Function
29
Software Reset
31
Voltage Detection Circuit
32
Voltage Detection Interrupt
37
Chapter 6. Clock Generation Circuit
40
Main Clock
45
On-Chip Oscillator Clock
46
CPU Clock and Peripheral Function Clock
47
Power Control
48
Wait Mode
50
Stop Mode
51
Oscillation Stop Detection Function
53
Since the Oscillation Stop
53
Chapter 7. Protection
55
Chapter 8. Processor Mode
56
Chapter 9. Bus
57
Chapter 10. Interrupt
58
Software Interrupts
59
Hardware Interrupts
60
Interrupts and Interrupt Vector
61
Interrupt Control
63
INT Interrupt
71
INT1 Interrupt and INT2 Interrupt
73
INT3 Interrupt
74
Key Input Interrupt
76
Address Match Interrupt
77
Chapter 11. Watchdog Timer
79
Watchdog Timer
80
Chapter 12. Timers
81
Timer X
83
Timer Mode
84
Pulse Output Mode
85
Event Counter Mode
86
Pulse Width Measurement Mode
87
Pulse Period Measurement Mode
89
Timer y
91
Timer Mode
94
Programmable Waveform Generation Mode
96
Timer Z
99
Timer Mode
102
Programmable Waveform Generation Mode
104
Programmable One-Shot Generation Mode
106
Programmable Wait One-Shot Generation Mode
109
Timer C
112
Input Capture Mode
116
Output Compare Mode
118
Renesas M16C FAMILY Hardware Manual (197 pages)
16-BIT SINGLE-CHIP MICROCOMPUTER
Brand:
Renesas
| Category:
Computer Hardware
| Size: 2.15 MB
Table of Contents
How to Use this Manual
3
Table of Contents
5
Chapter 1. Overview
11
Performance Outline
12
Block Diagram
13
Product Information
14
Pin Assignments
15
Pin Description
16
Chapter 2. Central Processing Unit (CPU)
17
Address Registers (A0 and A1)
18
Chapter 3. Memory
19
Chapter 4. Special Function Registers (SFR)
20
Chapter 5. Reset
24
Hardware Reset
27
Power-On Reset Function
28
Software Reset
29
Voltage Detection Circuit
30
Voltage Detection Interrupt
35
Get out of Stop Mode Due to the Voltage Detection Interrupt
37
Chapter 6. Clock Generating Circuit
38
Clock Generation Circuit
38
Main Clock
43
Ring Oscillator Clock
44
Low-Speed Ring Oscillator
44
High-Speed Ring Oscillator
44
CPU Clock and Peripheral Function Clock
45
CPU Clock
45
Peripheral Function Clock (F1, F2, F8, F32, Fad, F1Sio, F8Sio, F32Sio, Fring, Fring128)
45
Fring and Fring128
45
Fring-Fast
45
Power Control
46
Normal Operation Mode
46
Wait Mode
48
Stop Mode
49
Oscillation Stop Detection Function
52
How to Use Oscillation Stop Detection Function
52
Chapter 7. Protection
54
Chapter 8. Processor Mode
55
Types of Processor Mode
55
Chapter 9. Bus Control
56
Chapter 10. Interrupt
57
Interrupt Overview
57
Type of Interrupts
57
Software Interrupts
58
Hardware Interrupts
59
Interrupts and Interrupt Vector
60
Interrupt Control
62
Interrupt Control Register
63
INT Interrupt
70
INT0 Input Filter
71
INT1 Interrupt and INT2 Interrupt
72
INT3 Interrupt
73
Key Input Interrupt
75
Address Match Interrupt
76
Chapter 11. Watchdog Timer
78
Renesas M16C FAMILY User Manual (103 pages)
USB Flash Writer
Brand:
Renesas
| Category:
Computer Hardware
| Size: 2.06 MB
Table of Contents
Table of Contents
4
1 Contents of Product
7
Operating Environment
8
Compatible Products
8
Board Specification
10
CD-Rom
11
System Requirements
11
2 Product Specifications
12
Fousb (Flash-Over-USB)
12
Kd30/Kd3083
12
3 Installing
14
Before Installing
14
Preparation before Installing
14
Fousb (Flash-Over-USB) Installing
15
Method of Installation
15
Method of Uninstallation
20
Recognition of USB Monitor Board
21
Recognition of USB Monitor Board 1 (for USBMON Driver)
21
Recognition of USB Monitor Board 2 (for Fousb Driver)
23
Other Notes
26
KD30/KD3083 Intalling
27
Installing
27
Uninstalling the Remote Debugger
29
4 Using the Fousb
30
Using the Fousb (Flash-Over-USB)
30
Before Starting the Fousb
30
Fousb Starts
33
Details of Main Button 1
34
Details of the Update Button
45
Details of the Select MCU Button
46
Monitor Information
50
Detailed File Information
50
Details of Main Button 2
50
Other Functions
51
5 Using the KD
52
Before Starting the KD
52
Starting the KD
53
Program Download
58
Program Execution
59
Program Stop
59
Program Step Execution
59
Software Break Method
60
Reset Execution
60
KD Completion
60
If a Communication Error Occurs
61
Error Except a Communication Error Occurs
61
Operation Method
61
KD Limitations
62
Limitations on Special
62
A Limitation Item about the C Language
63
Limitations on Memory Extension
64
Precautions on Internal Reserved Area Expansion Bit
64
Limitations on Stop and Wait Modes
65
Realtime Capability of the User Program
65
Memory Map Limitations
66
Peripheral Function Related Limitations
69
Fousb Debugger Principle
69
Communication Function with Fousb
70
Command Execution
70
The Difference from an Actual CPU Operation
71
Advertisement
Related Products
Renesas M16C/29
Renesas M16C/64
Renesas M16C/6NK
Renesas M16C/6NM
Renesas M16C/26A
Renesas M16C/6N
Renesas M16C/6NL
Renesas M16C/6NN
Renesas M16C/6N4
Renesas M16C/6N5
Renesas Categories
Computer Hardware
Motherboard
Microcontrollers
Adapter
Switch
More Renesas Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL