Sign In
Upload
Manuals
Brands
Renesas Manuals
Computer Hardware
M16C/26B
Renesas M16C/26B Manuals
Manuals and User Guides for Renesas M16C/26B. We have
1
Renesas M16C/26B manual available for free PDF download: Hardware Manual
Renesas M16C/26B Hardware Manual (354 pages)
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES
Brand:
Renesas
| Category:
Computer Hardware
| Size: 3.2 MB
Table of Contents
Table of Contents
11
Reset
45
Hardware Reset
45
Hardware Reset 1
45
Hardware Reset 2
45
Software Reset
46
Watchdog Timer Reset
46
Oscillation Stop Detection Reset
46
Voltage Detection Circuit
48
Voltage down Detection Interrupt
51
Limitations on Exiting Stop Mode
53
Limitations on Exiting Wait Mode
53
Processor Mode
54
Clock Generation Circuit
57
Main Clock
64
Sub Clock
65
On-Chip Oscillator Clock
66
PLL Clock
66
CPU Clock and Peripheral Function Clock
68
CPU Clock
68
Peripheral Function Clock (F 1SIO 2SIO 8SIO 32SIO AD )
68
Clockoutput Function
68
Power Control
69
Normal Operation Mode
69
Wait Mode
70
Stop Mode
72
System Clock Protective Function
76
Oscillation Stop and Re-Oscillation Detect Function
76
Operation When the CM27 Bit Is Set to "0" (Oscillation Stop Detection Reset)
77
Operation When the CM27 Bit Is Set
77
(Oscillation Stop and Re-Oscillation Detect Interrupt)
77
How to Use Oscillation Stop and Re-Oscillation Detect Function
78
Protection
79
Interrupt
80
Type of Interrupts
80
Software Interrupts
81
Hardware Interrupts
82
Interrupts and Interrupt Vector
83
Fixed Vector Tables
83
Relocatable Vector Tables
84
Interrupt Control
85
I Flag
88
IR Bit
88
ILVL2 to ILVL0 Bits and IPL
88
Interrupt Sequence
89
Interrupt Response Time
90
Variation of IPL When Interrupt Request Is Accepted
90
Saving Registers
91
Returning from an Interrupt Routine
93
Interrupt Priority
93
Interrupt Priority Resolution Circuit
93
Key Input Interrupt
96
Address Match Interrupt
97
Watchdog Timer
99
Count Source Protective Mode
100
Dmac
101
Transfer Cycles
106
DMA Transfer Cycles
108
DMA Enable
109
DMA Request
109
Channel Priority and DMA Transfer Timing
110
Timer
111
Timer a
113
Timer Mode
116
Event Counter Mode
117
One-Shot Timer Mode
122
Pulse Width Modulation (PWM) Mode
124
Timer B
127
Timer Mode
130
Event Counter Mode
131
Pulse Period and Pulse Width Measurement Mode
132
A/D Trigger Mode
134
Three-Phase Motor Control Timer Function
136
Position-Data-Retain Function
147
Three-Phase/Port Output Switch Function
149
Serial I/O
151
Uarti (I=0 to 2)
151
Clock Synchronous Serial I/O Mode
161
Clock Asynchronous Serial I/O (UART) Mode
169
Special Mode 1 (I 2 C Bus Mode)(UART2)
177
Special Mode 2 (UART2)
187
Special Mode 3 (IE Bus Mode )(UART2)
192
Special Mode 4 (SIM Mode) (UART2)
194
A/D Converter
199
Operation Modes
205
One-Shot Mode
205
Repeat Mode
207
Single Sweep Mode
209
Repeat Sweep Mode 0
211
Repeat Sweep Mode 1
213
Simultaneous Sample Sweep Mode
215
Delayed Trigger Mode 0
218
Delayed Trigger Mode 1
224
Resolution Select Function
230
Sample and Hold
230
Power Consumption Reducing Function
230
Output Impedance of Sensor under A/D Conversion
231
CRC Calculation Circuit
232
CRC Snoop
232
Programmable I/O Ports
235
Port Pi Direction Register (Pdi Register, I = 1, 6 to 10)
235
Port Pi Register (Pi Register, I = 1, 6 to 10)
235
Pull-Up Control Register 0 to Pull-Up Control Register 2 (PUR0 to PUR2 Registers)
235
Port Control Register
236
Pin Assignment Control Register (PACR)
236
Digital Debounce Function
236
Flash Memory Version
249
Flash Memory Performance
249
Boot Mode
250
Memory Map
251
Functions to Prevent Flash Memory from Rewriting
254
ROM Code Protect Function
254
ID Code Check Function
254
CPU Rewrite Mode
256
EW0 Mode
257
EW1 Mode
257
Register Description
258
Flash Memory Control Register 0 (FMR0)
258
Flash Memory Control Register 1 (FMR1)
259
Flash Memory Control Register 4 (FMR4)
259
Precautions in CPU Rewrite Mode
264
Operation Speed
264
Prohibited Instructions
264
Interrupts
264
How to Access
264
Writing in the User ROM Space
264
DMA Transfer
265
Writing Command and Data
265
Wait Mode
265
Stop Mode
265
Low Power Consumption Mode and On-Chip Oscillator-Low Power Consumption Mode
265
Software Commands
266
Read Array Command (FF )
266
Read Status Register Command (70 )
266
Clear Status Register Command (50 )
267
Program Command (40 )
267
Block Erase
268
Status Register
270
Sequence Status (SR7 and FMR00 Bits )
270
Erase Status (SR5 and FMR07 Bits)
270
Program Status (SR4 and FMR06 Bits)
270
Full Status Check
271
Standard Serial I/O Mode
273
ID Code Check Function
273
Example of Circuit Application in Standard Serial I/O Mode
277
Parallel I/O Mode
279
ROM Code Protect Function
279
Electrical Characteristics
280
M16C/26A, M16C/26B (Normal Version)
280
M16C/26T (T Version)
299
Usage Notes
318
Sfr
318
Precaution for 48-Pin Package
318
Precaution for 42-Pin Package
318
Register Setting
318
PLL Frequency Synthesizer
319
Power Control
320
Protect
322
Interrupts
323
Reading Address 00000
323
Setting the SP
323
Changing the Interrupt Generation Factor
323
Rewrite the Interrupt Control Register
325
Watchdog Timer Interrupt
325
Dmac
326
Write to DMAE Bit in Dmicon Register
326
Timer
327
Timer a
327
Timer B
330
Three-Phase Motor Control Timer Function
331
Serial I/O
332
Clock-Synchronous Serial I/O
332
Serial I/O (UART Mode)
333
A/D Converter
334
Programmable I/O Ports
336
Electric Characteristic Differences between Mask ROM
337
And Flash Memory Version Microcomputers
337
Mask ROM Version
338
Internal ROM Area
338
Reserve Bit
338
Flash Memory Version
339
Functions to Inhibit Rewriting Flash Memory
339
Stop Mode
339
Wait Mode
339
Low Power Dissipation Mode, On-Chip Oscillator Low Power Dissipation Mode
339
Writing Command and Data
339
Program Command
339
Operation Speed
339
Instructions Prohibited in EW0 Mode
339
Interrupts
340
How to Access
340
Writing in the User ROM Area
340
DMA Transfer
340
Regarding Programming/Erasure Times and Execution Time
340
Definition of Programming/Erasure Times
341
Flash Memory Version Electrical Characteristics 10,000 E/W Cycle Product
341
Boot Mode
341
Noise
342
Instruction for a Device Use
343
Appendix 1. Package Dimensions
344
Appendix 2. Functional Difference
345
Appendix 2.1 Differences between M16C/26A, M16C/26B, and M16C/26T
345
Appendix 2.2 Differences between M16C/26A Group and M16C/26 Group
346
Register Index
347
Advertisement
Advertisement
Related Products
Renesas M16C/29
Renesas M16C/26A
Renesas M16C/20 Series
Renesas M16C/26T
Renesas M16C/26 Series
Renesas M16C/6NK
Renesas M16C/6N
Renesas M16C/6NN
Renesas M16C/6V
Renesas M16C/62P Group
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