Many
Manuals
search
Kategorie
Marki
Strona główna
Renesas
Networking
M16C/6NK
Informacje Techniczne
Renesas M16C/6NK Informacje Techniczne Strona 6
Pobierz
Podziel się
Dzielenie się
Dodaj do moich podręczników
Drukuj
Strona
/
412
Spis treści
BOOKMARKI
Oceniono
.
/ 5. Na podstawie
oceny klientów
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
Blank page
1
2
3
4
5
6
7
8
9
10
11
...
411
412
To our customers
1
Hardware Manual
3
RENESAS MCU
3
M16C FAMILY / M16C/60 SERIES
3
Blank page
6
How to Use This Manual
7
3. Register Notation
9
Table of Contents
11
__________
12
SFR Page Reference
17
1. Overview
25
1.2 Performance Overview
26
1.3 Block Diagram
28
1.4 Product Information
29
1.5 Pin Assignments
30
M16C/6N Group
33
(M16C/6NM)
33
1.6 Pin Functions
37
3. Memory
42
5. Resets
59
5.2 Software Reset
61
5.3 Watchdog Timer Reset
61
5.5 Internal Space
61
6. Processor Mode
62
6.2 Setting Processor Modes
63
Processor Mode Register 0
64
Processor Mode Register 1
65
7.1 Bus Mode
69
7.1.1 Separate Bus
69
7.1.2 Multiplexed Bus
69
7.2 Bus Control
70
7.2.2 Data Bus
70
7.2.3 Chip Select Signal
70
7.2.1 Address Bus
70
7.2.4 Read and Write Signals
72
7.2.5 ALE Signal
72
7.2.6 RDY Signal
73
HOLD > DMAC > CPU
74
7.2.10 Software Wait
76
8. Clock Generation Circuit
80
Figure 8.2 CM0 Register
82
Figure 8.3 CM1 Register
83
Figure 8.4 CM2 Register
84
Figure 8.5 PCLKR Register
85
CAN0/1 Clock Select Register
86
PLL Control Register 0
87
8.1.1 Main Clock
88
8.1.2 Sub Clock
89
8.1.4 PLL Clock
90
8.2.1 CPU Clock and BCLK
92
8.3 Clock Output Function
92
8.4 Power Control
93
8.4.1 Normal Operating Mode
93
8.4.2 Wait Mode
95
8.4.3 Stop Mode
97
REJ09B0124-0210
100
State after Transition
101
Current State
101
9. Protection
104
10.1 Type of Interrupts
105
10.2 Software Interrupts
106
10.2.2 Overflow Interrupt
106
10.2.3 BRK Interrupt
106
10.3 Hardware Interrupts
107
10.3.1 Special Interrupts
107
10.4.1 Fixed Vector Tables
108
________
109
10.5 Interrupt Control
110
Interrupt Control Register
111
10.5.1 I Flag
112
10.5.2 IR Bit
112
10.5.4 Interrupt Sequence
113
_________
114
10.5.7 Saving Registers
115
10.5.9 Interrupt Priority
116
10.6 INT Interrupt
118
Figure 10.11 IFSR0 Register
119
Figure 10.12 IFSR1 Register
120
Figure 10.13 IFSR2 Register
121
10.7 NMI Interrupt
122
10.8 Key Input Interrupt
122
10.9 CAN0/1 Wake-up Interrupt
122
10.10 Address Match Interrupt
123
11. Watchdog Timer
125
12. DMAC
127
________ ________
128
Figure 12.2 DM0SL Register
129
12.1 Transfer Cycle
132
12.1.4 Effect of RDY Signal
132
12.2 DMA Transfer Cycles
134
12.3 DMA Enable
135
12.4 DMA Request
135
13. Timers
137
13.1 Timer A
139
Up/Down Flag
141
Count Start Flag
141
One-Shot Start Flag
142
Trigger Select Register
142
Clock Prescaler Reset Flag
142
13.1.1 Timer Mode
143
13.1.2 Event Counter Mode
144
13.1.3 One-shot Timer Mode
149
13.2 Timer B
154
13.2.1 Timer Mode
157
13.2.2 Event Counter Mode
158
Figure 13.20
160
Figure 14.2 INVC0 Register
164
Figure 14.3 INVC1 Register
165
Dead Time Timer
166
Timer B2 Register
167
(1) (2) (3)
168
Timer B2 Mode Register
170
15. Serial Interface
173
_______ _______
183
_________ _________
183
Setting in UART Mode
191
15.1.3 Special Mode 1 (I
199
Figure 15.23 I
200
C Mode Block Diagram
200
_______ ________
201
_______ ________ _______
201
Function
202
15.1.4 Special Mode 2
208
Undefined
212
(NOTE 2)
214
(1) Transmit timing
217
(2) Receive timing
217
SIM card
218
(1) Direct format
219
(2) Inverse format
219
15.2 SI/Oi (i = 3 to 6)
220
Bit Symbol
222
15.2.1 SI/Oi Operation Timing
224
15.2.2 CLK Polarity Selection
224
16. A/D Converter
226
A/D Control Register 0
228
A/D Control Register 1
228
A/D Control Register 2
229
A/D Register i (i = 0 to 7)
229
16.1 Mode Description
230
16.1.1 One-shot Mode
230
16.1.2 Repeat Mode
232
16.1.3 Single Sweep Mode
234
16.1.4 Repeat Sweep Mode 0
236
16.1.5 Repeat Sweep Mode 1
238
16.2 Function
240
16.2.2 Sample and Hold
240
Data bus low-order
243
D/A Control Register
244
D/A Register i (i = 0, 1)
244
18. CRC Calculation
245
Figure 18.3 CRC Calculation
246
19. CAN Module
247
19.1.3 CAN SFR Registers
248
19.4 CAN SFR Registers
252
19.5 Operational Modes
258
Module idle
259
Module transmits
259
Module receives
259
19.5.5 Bus Off State
260
CCLKR register
261
CAN module
261
19.8 Bit-rate
262
19.11 Basic CAN Mode
265
19.14 Listen-Only Mode
266
19.15.1 Reception
268
19.15.2 Transmission
269
19.16 CAN Interrupt
270
20. Programmable I/O Ports
271
20.4 PCR Register
272
Figure 20.1 I/O Ports (1)
273
Figure 20.2 I/O Ports (2)
274
Figure 20.3 I/O Ports (3)
275
(inside dotted-line
276
included)
276
not included)
276
Figure 20.5 I/O Ports (5)
277
Figure 20.6 I/O Pins
277
Port P8 Direction Register
278
Port P8 Register
279
Pull-up Control Register 0
280
Pull-up Control Register 1
280
Pull-up Control Register 2
280
Port Control Register
281
21. Flash Memory Version
284
21.1 Memory Map
285
21.1.1 Boot Mode
286
21.2.2 ID Code Check Function
286
Figure 21.2 ROMCP Register
287
21.3 CPU Rewrite Mode
288
21.3.1 EW0 Mode
289
21.3.2 EW1 Mode
289
Power Dissipation Mode
294
21.3.5 Software Commands
297
21.3.6 Data Protect Function
302
21.3.8 Full Status Check
304
21.4 Standard Serial I/O Mode
306
21.4.1 ID Code Check Function
306
Pin Name I/O
307
Description
307
M16C/6N Group (M16C/6NK)
308
(Flash memory version)
308
M16C/6N Group (M16C/6NM)
309
21.5 Parallel I/O Mode
311
21.6 CAN I/O Mode
312
21.6.1 ID Code Check Function
312
_____________
316
(ripple)
318
P-P(ripple)
318
VCC = 5V
319
Gain error
321
Interrupt for
322
(a) Stop mode release
322
or
322
(b) Wait mode release
322
VCC = 5 V
323
VCC = 3.3 V
337
23. Usage Notes
362
23.3 External Clock
364
23.5 Power Control
366
A/D converter
367
D/A converter
367
23.7 Protection
369
23.8 Interrupts
370
23.8.1 Reading Address 00000h
370
23.8.2 Setting SP
370
23.8.3 NMI Interrupt
370
23.8.5 INT Interrupt
371
23.9 DMAC
373
23.10 Timers
374
23.10.1 Timer A
374
23.10.2 Timer B
378
23.12 Serial Interface
381
23.12.2 Special Modes
382
23.12.3 SI/Oi (i = 3 to 6)
383
23.13 A/D Converter
384
23.14 CAN Module
386
23.15 Programmable I/O Ports
391
23.16 Dedicated Input Pin
392
Version MCUs
393
23.19.10 Interrupts
396
23.19.11 How to Access
396
23.19.13 DMA Transfer
396
23.21 Noise
398
Register Index
401
REVISION HISTORY
403
Rev.2.10 Apr 14, 2006
411
Renesas Technology Corp
411
Komentarze do niniejszej Instrukcji
Brak uwag
Publish
Powiązane produkty i podręczniki dla Networking Renesas M16C/6NK
Networking Renesas Single-Chip Microcomputer M38C89T-ADF Instrukcja Użytkownika
(138 strony)
Networking Renesas 740 Family Instrukcja Użytkownika
(195 strony)
Networking Renesas RJJ10J1643-0101 Instrukcja Użytkownika
(22 strony)
Networking Renesas M16C/30P Instrukcja Użytkownika
(59 strony)
Networking Renesas H8S/2378F Instrukcja Użytkownika
(78 strony)
Networking Renesas TM V.3.20A Instrukcja Użytkownika
(2 strony)
Networking Renesas M3062PT2-EPB Instrukcja Użytkownika
(104 strony)
Networking Renesas M16C/64 Arkusz Danych
(92 strony)
Networking Renesas 740 Family Instrukcja Użytkownika
(124 strony)
Networking Renesas CPU Board M3A-HS19 Informacje Techniczne
(74 strony)
Networking Renesas MCU Signal Measurement Board PCA7759 Instrukcja Użytkownika
(8 strony)
Networking Renesas H8S/2378F Informacje Techniczne
(109 strony)
Drukuj dokument
Drukuj stronę 6
Komentarze do niniejszej Instrukcji