Sign In
Upload
Manuals
Brands
Renesas Manuals
Computer Hardware
M16C/6NK
Renesas M16C/6NK Manuals
Manuals and User Guides for Renesas M16C/6NK. We have
1
Renesas M16C/6NK manual available for free PDF download: Hardware Manual
Renesas M16C/6NK Hardware Manual (404 pages)
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Brand:
Renesas
| Category:
Computer Hardware
| Size: 2.86 MB
Table of Contents
How to Use this Manual
3
Table of Contents
5
SFR Page Reference
11
Overview
19
Applications
19
Performance Outline
20
Block Diagram
22
Product List
23
Pin Configuration
24
Pin Description
31
Central Processing Unit (CPU)
34
Data Registers (R0, R1, R2, and R3)
34
Address Registers (A0 and A1)
34
Frame Base Register (FB)
35
Interrupt Table Register (INTB)
35
Program Counter (PC)
35
User Stack Pointer (USP), Interrupt Stack Pointer (ISP)
35
Static Base Register (SB)
35
Flag Register (FLG)
35
Carry Flag (C Flag)
35
Debug Flag (D Flag)
35
Zero Flag (Z Flag)
35
Sign Flag (S Flag)
35
Memory
36
Special Function Register (SFR)
37
Reset
53
Hardware Reset
53
Reset on a Stable Supply Voltage
53
Power-On Reset
53
Software Reset
55
Watchdog Timer Reset
55
Oscillation Stop Detection Reset
55
Internal Space
55
Processor Mode
56
Types of Processor Mode
56
Setting Processor Modes
57
7 Bus
63
Bus Mode
63
Separate Bus
63
Multiplexed Bus
63
Bus Control
64
Address Bus
64
Data Bus
64
Chip Select Signal
64
Read and Write Signals
66
ALE Signal
66
RDY Signal
67
BCLK Output
68
HOLD Signal
68
External Bus Status When Internal Area Accessed
70
Software Wait
70
Clock Generating Circuit
74
Types of Clock Generating Circuit
74
Main Clock
82
Sub Clock
83
On-Chip Oscillator Clock
84
PLL Clock
84
CPU Clock and Peripheral Function Clock
86
CPU Clock and BCLK
86
Peripheral Function Clock
86
Clock Output Function
86
Power Control
87
Normal Operation Mode
87
Wait Mode
89
Stop Mode
91
Oscillation Stop and Re-Oscillation Detection Function
96
Operation When CM27 Bit = 0 (Oscillation Stop Detection Reset)
96
Operation When CM27 Bit = 1 (Oscillation Stop, Re-Oscillation Detection Interrupt)
96
How to Use Oscillation Stop and Re-Oscillation Detection Function
97
Protection
98
Interrupt
99
Type of Interrupts
99
Software Interrupts
100
Undefined Instruction Interrupt
100
Overflow Interrupt
100
BRK Interrupt
100
INT Instruction Interrupt
100
Hardware Interrupts
101
Special Interrupts
101
Peripheral Function Interrupts
101
Interrupts and Interrupt Vector
102
Fixed Vector Tables
102
Relocatable Vector Tables
102
Interrupt Control
104
I Flag
106
IR Bit
106
ILVL2 to ILVL0 Bits and IPL
106
Interrupt Sequence
107
Interrupt Response Time
108
Variation of IPL When Interrupt Request Is Accepted
108
Saving Registers
109
Returning from an Interrupt Routine
110
Interrupt Priority
110
Interrupt Priority Resolution Circuit
110
INT Interrupt
112
NMI Interrupt
116
Key Input Interrupt
116
CAN0/1 Wake-Up Interrupt
116
Address Match Interrupt
117
Watchdog Timer
119
Count Source Protective Mode
120
Dmac
121
Transfer Cycle
126
Effect of Source and Destination Addresses
126
Effect of BYTE Pin Level
126
Effect of Software Wait
126
Effect of RDY Signal
126
DMA Transfer Cycles
128
DMA Enable
129
DMA Request
129
Channel Priority and DMA Transfer Timing
130
Timers
131
Timer a
133
Timer Mode
137
Event Counter Mode
138
One-Shot Timer Mode
143
Pulse Width Modulation (PWM) Mode
145
Timer B
148
Timer Mode
151
Event Counter Mode
152
Pulse Period and Pulse Width Measurement Mode
153
Three-Phase Motor Control Timer Function
156
Serial Interface
167
Uarti
167
Clock Synchronous Serial I/O Mode
177
Clock Asynchronous Serial I/O (UART) Mode
185
Special Mode
193
Mode)
193
Special Mode 2
202
Special Mode 3 (IE Mode)
207
Special Mode 4 (SIM Mode) (UART2)
209
Si/Oi
214
Si/Oi Operation Timing
218
CLK Polarity Selection
218
Functions for Setting an Souti Initial Value
219
A/D Converter
220
Mode Description
224
One-Shot Mode
224
Repeat Mode
226
Single Sweep Mode
228
Repeat Sweep Mode 0
230
Repeat Sweep Mode 1
232
Function
234
Resolution Select Function
234
Sample and Hold
234
Extended Analog Input Pins
234
External Operation Amplifier (Op-Amp) Connection Mode
234
Current Consumption Reducing Function
235
Output Impedance of Sensor under A/D Conversion
235
D/A Converter
237
CRC Calculation
239
CAN Module
241
CAN Module-Related Registers
242
CAN Message Box
242
Acceptance Mask Registers
242
CAN SFR Registers
242
Cani Message Box
243
Acceptance Mask Registers
245
CAN SFR Registers
246
Operational Modes
252
CAN Reset/Initialization Mode
252
CAN Operation Mode
253
CAN Sleep Mode
253
CAN Interface Sleep Mode
253
Bus off State
254
Configuration CAN Module System Clock
255
Bit Timing Configuration
255
Bit-Rate
256
Calculation of Bit-Rate
256
Acceptance Filtering Function and Masking Function
257
Acceptance Filter Support Unit (ASU)
258
Basic CAN Mode
259
Return from Bus off Function
260
Time Stamp Counter and Time Stamp Function
260
Listen-Only Mode
260
Reception and Transmission
261
Reception
262
Transmission
263
CAN Interrupt
264
Programmable I/O Ports
265
Pdi Register
266
Pi Register, PC14 Register
266
Purj Register
266
PCR Register
266
Flash Memory Version
278
Memory Map
279
Boot Mode
280
Functions to Prevent Flash Memory from Rewriting
280
ROM Code Protect Function
280
ID Code Check Function
280
CPU Rewrite Mode
282
EW0 Mode
283
EW1 Mode
283
FMR0, FMR1 Registers
284
Precautions on CPU Rewrite Mode
289
Software Commands
291
Data Protect Function
296
Status Register (SRD Register)
296
Full Status Check
298
Standard Serial I/O Mode
300
ID Code Check Function
300
Example of Circuit Application in Standard Serial I/O Mode
304
Parallel I/O Mode
305
User ROM and Boot ROM Areas
305
ROM Code Protect Function
305
CAN I/O Mode
306
ID Code Check Function
306
Example of Circuit Application in CAN I/O Mode
309
Electrical Characteristics
310
Electrical Characteristics (Normal-Ver.)
310
Read Timing
325
Electrical Characteristics (T/V-Ver.)
346
Usage Precaution
356
Sfr
356
External Bus
357
External Clock
358
PLL Frequency Synthesizer
359
Power Control
360
Oscillation Stop, Re-Oscillation Detection Function
362
Protection
363
Interrupt
364
Reading Address 00000H
364
Setting SP
364
NMI Interrupt
364
Changing Interrupt Generate Factor
365
INT Interrupt
365
Rewrite Interrupt Control Register
366
Watchdog Timer Interrupt
366
Dmac
367
Write to DMAE Bit in Dmicon Register
367
Timers
368
Timer a
368
Timer B
372
Thee-Phase Motor Control Timer Function
374
Serial Interface
375
Clock Synchronous Serial I/O Mode
375
Special Modes
376
Si/Oi
377
A/D Converter
378
CAN Module
380
Reading Cistr Register
380
Performing CAN Configuration
382
Suggestions to Reduce Power Consumption
383
CAN Transceiver in Boot Mode
384
Programmable I/O Ports
385
Dedicated Input Pin
386
Electrical Characteristic Differences between Mask ROM and Flash Memory Version Microcomputers
387
Mask ROM Version
388
Flash Memory Version
389
Functions to Prevent Flash Memory from Rewriting
389
Stop Mode
389
Wait Mode
389
Low Power Dissipation Mode and On-Chip Oscillator Low Power Dissipation Mode
389
Writing Command and Data
389
Program Command
389
Lock Bit Program Command
389
Operation Speed
389
Prohibited Instructions
390
Interrupt
390
How to Access
390
Rewriting in User ROM Area
390
DMA Transfer
390
Flash Memory Programming Using Boot Program
391
Programming Using Serial I/O Mode
391
Programming Using CAN I/O Mode
391
Noise
392
Appendix 1. Package Dimensions
393
Register Index
395
Advertisement
Advertisement
Related Products
Renesas M16C/6NM
Renesas M16C/6N
Renesas M16C/6NL
Renesas M16C/6NN
Renesas M16C/6N4
Renesas M16C/6N5
Renesas M16C/6V
Renesas M16C/62P Group
Renesas M16C/62P Series
Renesas M16C/64C
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