Renesas M16C, М6NM, М6NK User Manual

REJ09B0124-0200
M16C/6N Group
(M16C/6NK, M16C/6NM)
16
Hardware Manual
RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER
M16C FAMILY / M16C/60 SERIES
Before using this material, please visit our website to verify that this is the most updated document available.
Rev. 2.00 Revision date: Nov. 28, 2005
www.renesas.com

Keep safety first in your circuit designs!

Renesas Technology Corporation puts the maximum effort into making semiconductor prod­ucts better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead to personal injury, fire or property damage. Remember to give due consideration to safety when making your circuit designs, with ap­propriate measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of non­flammable material or (iii) prevention against any malfunction or mishap.

Notes regarding these materials

• These materials are intended as a reference to assist our customers in the selection of the Renesas Technology Corporation product best suited to the customer's application; they do not convey any license under any intellectual property rights, or any other rights, belonging to Renesas Technology Corporation or a third party.
• Renesas Technology Corporation assumes no responsibility for any damage, or infringe­ment of any third-party's rights, originating in the use of any product data, diagrams, charts, programs, algorithms, or circuit application examples contained in these materials.
• All information contained in these materials, including product data, diagrams, charts, pro­grams and algorithms represents information on products at the time of publication of these materials, and are subject to change by Renesas Technology Corporation without notice due to product improvements or other reasons. It is therefore recommended that custom­ers contact Renesas Technology Corporation or an authorized Renesas Technology Cor­poration product distributor for the latest product information before purchasing a product listed herein. The information described here may contain technical inaccuracies or typographical errors. Renesas Technology Corporation assumes no responsibility for any damage, liability, or other loss rising from these inaccuracies or errors. Please also pay attention to information published by Renesas Technology Corporation by various means, including the Renesas Technology Corporation Semiconductor home page (http://www.renesas.com).
• When using any or all of the information contained in these materials, including product data, diagrams, charts, programs, and algorithms, please be sure to evaluate all informa­tion as a total system before making a final decision on the applicability of the information and products. Renesas Technology Corporation assumes no responsibility for any dam­age, liability or other loss resulting from the information contained herein.
• Renesas Technology Corporation semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life is poten­tially at stake. Please contact Renesas Technology Corporation or an authorized Renesas Technology Corporation product distributor when considering the use of a product con­tained herein for any specific purposes, such as apparatus or systems for transportation, vehicular, medical, aerospace, nuclear, or undersea repeater use.
• The prior written approval of Renesas Technology Corporation is necessary to reprint or reproduce in whole or in part these materials.
• If these products or technologies are subject to the Japanese export control restrictions, they must be exported under a license from the Japanese government and cannot be im­ported into a country other than the approved destination. Any diversion or reexport contrary to the export control laws and regulations of Japan and/ or the country of destination is prohibited.
• Please contact Renesas Technology Corporation for further details on these materials or the products contained therein.

How to Use This Manual

1. Introduction

This hardware manual provides detailed information on the M16C/6N Group (M16C/6NK, M16C/6NM) of microcomputers. Users are expected to have basic knowledge of electric circuits, logical circuits and microcomputers.

2. Register Diagram

The symbols, and descriptions, used for bit function in each register are shown below.
XXX Register
b7 b6 b5 b4 b3 b2 b1 b0
00
Symbol
XXX
XXX
(b2)
(b4-b3)
*1
Symbol
XXX
Bit
0
1
-
-
Bit Name
XXX Bit
Nothing is assigned. When write, set to "0", When read, its content is indeterminate.
Reserved Bit Set to "0"
Address
XXX
Function
b1b0
0 0: XXX 0 1: XXX 1 0: Do not set a value 1 1: XXX
After Reset
00h
*5
RW
RW
RW
WO
*2
*3
*4
XXX5
XXX
XXX
XXX Bit
6
7
XXX Bit
Function varies depending on mode of operation
0: XXX 1: XXX
*1
Blank:Set to “0” or “1” according to the application 0 : Set to “0” 1 : Set to “1” X : Nothing is assigned
*2
RW : Read and write RO : Read only WO: Write only – : Nothing is assigned
*3
• Reserved bit Reserved bit. Set to specified value.
*4
• Nothing is assigned Nothing is assigned to the bit concerned. As the bit may be use for future functions, set to “0” when writing to this bit.
• Do not set to this value The operation is not guaranteed when a value is set.
• Function varies depending on mode of operation Bit function varies depending on peripheral function mode. Refer to respective register for each mode.
*5
Follow the text in each manual for binary and hexadecimal notations.
RW
RW
RO

3. M16C Family Documents

The following documents were prepared for the M16C family
Document Contents
Short Sheet Hardware overview
Data Sheet Hardware overview and electrical characteristics
Hardware Manual Hardware specifications (pin assignments, memory maps, peripheral
specifications, electrical characteristics, timing charts)
Software Manual Detailed description of assembly instructions and microcomputer
performance of each instruction
Application Note • Application examples of peripheral functions
• Sample programs
• Introduction to the basic functions in the M16C family
• Programming method with Assembly and C languages
RENESAS TECHNICAL UPDATE
Preliminary report about the specification of a product, a document, etc.
NOTE:
1. Before using this material , please visit our website to verify that this is the most updated document
available.
(1)
.

Table of Contents

SFR Page Reference ............................................................................................................ B-1
1. Overview ............................................................................................................................... 1
1.1 Applications ..................................................................................................................................................1
1.2 Performance Outline ....................................................................................................................................2
1.3 Block Diagram .............................................................................................................................................. 4
1.4 Product List ..................................................................................................................................................5
1.5 Pin Configuration .........................................................................................................................................6
1.6 Pin Description ........................................................................................................................................... 13
2. Central Processing Unit (CPU) ........................................................................................... 16
2.1 Data Registers (R0, R1, R2, and R3) ........................................................................................................ 16
2.2 Address Registers (A0 and A1) .................................................................................................................. 16
2.3 Frame Base Register (FB) .........................................................................................................................17
2.4 Interrupt Table Register (INTB) ..................................................................................................................17
2.5 Program Counter (PC) ...............................................................................................................................17
2.6 User Stack Pointer (USP), Interrupt Stack Pointer (ISP) ........................................................................... 17
2.7 Static Base Register (SB) .......................................................................................................................... 17
2.8 Flag Register (FLG) ................................................................................................................................... 17
2.8.1 Carry Flag (C Flag) ............................................................................................................................ 17
2.8.2 Debug Flag (D Flag) .......................................................................................................................... 17
2.8.3 Zero Flag (Z Flag) ..............................................................................................................................17
2.8.4 Sign Flag (S Flag) ..............................................................................................................................17
2.8.5 Register Bank Select Flag (B Flag).................................................................................................... 17
2.8.6 Overflow Flag (O Flag)....................................................................................................................... 17
2.8.7 Interrupt Enable Flag (I Flag) .............................................................................................................17
2.8.8 Stack Pointer Select Flag (U Flag)..................................................................................................... 17
2.8.9 Processor Interrupt Priority Level (IPL) .............................................................................................. 17
2.8.10 Reserved Area .................................................................................................................................17
3. Memory ............................................................................................................................... 18
4. Special Function Register (SFR)......................................................................................... 19
5. Reset ................................................................................................................................... 35
5.1 Hardware Reset .........................................................................................................................................35
5.1.1 Reset on a Stable Supply Voltage ..................................................................................................... 35
5.1.2 Power-on Reset ................................................................................................................................. 35
5.2 Software Reset .......................................................................................................................................... 37
5.3 Watchdog Timer Reset ............................................................................................................................... 37
5.4 Oscillation Stop Detection Reset ............................................................................................................... 37
5.5 Internal Space ............................................................................................................................................ 37
6. Processor Mode ..................................................................................................................38
6.1 Types of Processor Mode ..........................................................................................................................38
6.2 Setting Processor Modes ........................................................................................................................... 39
7. Bus ......................................................................................................................................45
7.1 Bus Mode ................................................................................................................................................... 45
7.1.1 Separate Bus ..................................................................................................................................... 45
7.1.2 Multiplexed Bus.................................................................................................................................. 45
A-1
7.2 Bus Control ................................................................................................................................................ 46
7.2.1 Address Bus ....................................................................................................................................... 46
7.2.2 Data Bus ............................................................................................................................................ 46
7.2.3 Chip Select Signal.............................................................................................................................. 46
7.2.4 Read and Write Signals ..................................................................................................................... 48
7.2.5 ALE Signal ......................................................................................................................................... 48
________
7.2.6 RDY Signal ........................................................................................................................................49
7.2.8 BCLK Output ...................................................................................................................................... 50
__________
7.2.7 HOLD Signal ......................................................................................................................................50
7.2.9 External Bus Status When Internal Area Accessed ...........................................................................52
7.2.10 Software Wait...................................................................................................................................52
8. Clock Generating Circuit .....................................................................................................56
8.1 Types of Clock Generating Circuit .............................................................................................................. 56
8.1.1 Main Clock ......................................................................................................................................... 64
8.1.2 Sub Clock........................................................................................................................................... 65
8.1.3 On-chip Oscillator Clock .................................................................................................................... 66
8.1.4 PLL Clock ........................................................................................................................................... 66
8.2 CPU Clock and Peripheral Function Clock ................................................................................................ 68
8.2.1 CPU Clock and BCLK ........................................................................................................................68
8.2.2 Peripheral Function Clock .................................................................................................................. 68
8.3 Clock Output Function ............................................................................................................................... 68
8.4 Power Control ............................................................................................................................................ 69
8.4.1 Normal Operation Mode..................................................................................................................... 69
8.4.2 Wait Mode .......................................................................................................................................... 71
8.4.3 Stop Mode.......................................................................................................................................... 73
8.5 Oscillation Stop and Re-oscillation Detection Function ............................................................................. 78
8.5.1 Operation When CM27 Bit = 0 (Oscillation Stop Detection Reset) .................................................... 78
8.5.2 Operation When CM27 Bit = 1 (Oscillation Stop, Re-oscillation Detection Interrupt) ........................ 78
8.5.3 How to Use Oscillation Stop and Re-oscillation Detection Function .................................................. 79
9. Protection ............................................................................................................................80
10. Interrupt ............................................................................................................................. 81
10.1 Type of Interrupts ..................................................................................................................................... 81
10.2 Software Interrupts ................................................................................................................................... 82
10.2.1 Undefined Instruction Interrupt......................................................................................................... 82
10.2.2 Overflow Interrupt ............................................................................................................................ 82
10.2.3 BRK Interrupt ................................................................................................................................... 82
10.2.4 INT Instruction Interrupt ................................................................................................................... 82
10.3 Hardware Interrupts ................................................................................................................................. 83
10.3.1 Special Interrupts .............................................................................................................................83
10.3.2 Peripheral Function Interrupts.......................................................................................................... 83
10.4 Interrupts and Interrupt Vector .................................................................................................................84
10.4.1 Fixed Vector Tables .......................................................................................................................... 84
10.4.2 Relocatable Vector Tables ............................................................................................................... 84
10.5 Interrupt Control .......................................................................................................................................86
10.5.1 I Flag ................................................................................................................................................88
10.5.2 IR Bit ................................................................................................................................................ 88
10.5.3 ILVL2 to ILVL0 Bits and IPL ............................................................................................................. 88
A-2
10.5.4 Interrupt Sequence .......................................................................................................................... 89
10.5.5 Interrupt Response Time.................................................................................................................. 90
10.5.6 Variation of IPL when Interrupt Request is Accepted ....................................................................... 90
10.5.7 Saving Registers .............................................................................................................................. 91
10.5.8 Returning from an Interrupt Routine ................................................................................................ 92
10.5.9 Interrupt Priority ............................................................................................................................... 92
10.5.10 Interrupt Priority Resolution Circuit ................................................................................................ 92
______
10.6 INT Interrupt ............................................................................................................................................. 94
______
10.7 NMI Interrupt ............................................................................................................................................98
10.8 Key Input Interrupt ...................................................................................................................................98
10.9 CAN0/1 Wake-up Interrupt ....................................................................................................................... 98
10.10 Address Match Interrupt ......................................................................................................................... 99
11. Watchdog Timer .............................................................................................................. 101
11.1 Count Source Protective Mode ..............................................................................................................102
12. DMAC.............................................................................................................................. 103
12.1 Transfer Cycle ........................................................................................................................................ 108
12.1.1 Effect of Source and Destination Addresses .................................................................................. 108
12.1.2 Effect of BYTE Pin Level................................................................................................................ 108
12.1.3 Effect of Software Wait................................................................................................................... 108
________
12.1.4 Effect of RDY Signal ...................................................................................................................... 108
12.2 DMA Transfer Cycles ............................................................................................................................. 110
12.3 DMA Enable ........................................................................................................................................... 111
12.4 DMA Request ......................................................................................................................................... 111
12.5 Channel Priority and DMA Transfer Timing............................................................................................ 112
13. Timers ............................................................................................................................. 113
13.1 Timer A ................................................................................................................................................... 115
13.1.1 Timer Mode .................................................................................................................................... 119
13.1.2 Event Counter Mode ......................................................................................................................120
13.1.3 One-shot Timer Mode ....................................................................................................................125
13.1.4 Pulse Width Modulation (PWM) Mode ...........................................................................................127
13.2 Timer B................................................................................................................................................... 130
13.2.1 Timer Mode ....................................................................................................................................133
13.2.2 Event Counter Mode ......................................................................................................................134
13.2.3 Pulse Period and Pulse Width Measurement Mode ...................................................................... 135
14. Three-Phase Motor Control Timer Function .................................................................... 138
15. Serial Interface ................................................................................................................149
15.1 UARTi.....................................................................................................................................................149
15.1.1 Clock Synchronous Serial I/O Mode ..............................................................................................159
15.1.2 Clock Asynchronous Serial I/O (UART) Mode ............................................................................... 167
15.1.3 Special Mode 1 (I2C Mode) ............................................................................................................175
15.1.4 Special Mode 2 .............................................................................................................................. 184
15.1.5 Special Mode 3 (IE Mode) ............................................................................................................. 189
15.1.6 Special Mode 4 (SIM Mode) (UART2) ........................................................................................... 191
15.2 SI/Oi .......................................................................................................................................................196
15.2.1 SI/Oi Operation Timing................................................................................................................... 200
15.2.2 CLK Polarity Selection ................................................................................................................... 200
15.2.3 Functions for Setting an SOUTi Initial Value .................................................................................. 201
A-3
16. A/D Converter .................................................................................................................. 202
16.1 Mode Description ...................................................................................................................................206
16.1.1 One-shot Mode .............................................................................................................................. 206
16.1.2 Repeat Mode ................................................................................................................................. 208
16.1.3 Single Sweep Mode .......................................................................................................................210
16.1.4 Repeat Sweep Mode 0 .................................................................................................................. 212
16.1.5 Repeat Sweep Mode 1 .................................................................................................................. 214
16.2 Function ................................................................................................................................................. 216
16.2.1 Resolution Select Function ............................................................................................................ 216
16.2.2 Sample and Hold ........................................................................................................................... 216
16.2.3 Extended Analog Input Pins........................................................................................................... 216
16.2.4 External Operation Amplifier (Op-Amp) Connection Mode ............................................................216
16.2.5 Current Consumption Reducing Function ...................................................................................... 217
16.2.6 Output Impedance of Sensor under A/D Conversion..................................................................... 217
17. D/A Converter.................................................................................................................. 219
18. CRC Calculation.............................................................................................................. 221
19. CAN Module .................................................................................................................... 223
19.1 CAN Module-Related Registers ............................................................................................................. 224
19.1.1 CAN Message Box......................................................................................................................... 224
19.1.2 Acceptance Mask Registers........................................................................................................... 224
19.1.3 CAN SFR Registers .......................................................................................................................224
19.2 CANi Message Box ................................................................................................................................ 225
19.3 Acceptance Mask Registers...................................................................................................................227
19.4 CAN SFR Registers ...............................................................................................................................228
19.5 Operational Modes ................................................................................................................................. 234
19.5.1 CAN Reset/Initialization Mode ....................................................................................................... 234
19.5.2 CAN Operation Mode..................................................................................................................... 235
19.5.3 CAN Sleep Mode ........................................................................................................................... 235
19.5.4 CAN Interface Sleep Mode ............................................................................................................ 235
19.5.5 Bus Off State.................................................................................................................................. 236
19.6 Configuration CAN Module System Clock ............................................................................................. 237
19.7 Bit Timing Configuration ......................................................................................................................... 237
19.8 Bit-rate ................................................................................................................................................... 238
19.8.1 Calculation of Bit-rate..................................................................................................................... 238
19.9 Acceptance Filtering Function and Masking Function............................................................................239
19.10 Acceptance Filter Support Unit (ASU)..................................................................................................240
19.11 Basic CAN Mode ..................................................................................................................................241
19.12 Return from Bus Off Function .............................................................................................................. 242
19.13 Time Stamp Counter and Time Stamp Function ..................................................................................242
19.14 Listen-Only Mode ................................................................................................................................. 242
19.15 Reception and Transmission................................................................................................................243
19.15.1 Reception ..................................................................................................................................... 244
19.15.2 Transmission ................................................................................................................................ 245
19.16 CAN Interrupt .......................................................................................................................................246
A-4
20. Programmable I/O Ports ................................................................................................. 247
20.1 PDi Register ........................................................................................................................................... 248
20.2 Pi Register, PC14 Register ....................................................................................................................248
20.3 PURj Register ........................................................................................................................................ 248
20.4 PCR Register .........................................................................................................................................248
21. Flash Memory Version .................................................................................................... 260
21.1 Memory Map ..........................................................................................................................................261
21.1.1 Boot Mode...................................................................................................................................... 262
21.2 Functions to Prevent Flash Memory from Rewriting ..............................................................................262
21.2.1 ROM Code Protect Function .......................................................................................................... 262
21.2.2 ID Code Check Function ................................................................................................................ 262
21.3 CPU Rewrite Mode ................................................................................................................................ 264
21.3.1 EW0 Mode ..................................................................................................................................... 265
21.3.2 EW1 Mode ..................................................................................................................................... 265
21.3.3 FMR0, FMR1 Registers ................................................................................................................. 266
21.3.4 Precautions on CPU Rewrite Mode ............................................................................................... 271
21.3.5 Software Commands ..................................................................................................................... 273
21.3.6 Data Protect Function .................................................................................................................... 278
21.3.7 Status Register (SRD Register) .....................................................................................................278
21.3.8 Full Status Check ........................................................................................................................... 280
21.4 Standard Serial I/O Mode ...................................................................................................................... 282
21.4.1 ID Code Check Function ................................................................................................................ 282
21.4.2 Example of Circuit Application in Standard Serial I/O Mode .......................................................... 286
21.5 Parallel I/O Mode ................................................................................................................................... 287
21.5.1 User ROM and Boot ROM Areas ................................................................................................... 287
21.5.2 ROM Code Protect Function .......................................................................................................... 287
21.6 CAN I/O Mode ........................................................................................................................................ 288
21.6.1 ID Code Check Function ................................................................................................................ 288
21.6.2 Example of Circuit Application in CAN I/O Mode ...........................................................................291
22. Electrical Characteristics ................................................................................................. 292
22.1 Electrical Characteristics (Normal-ver.)..................................................................................................292
22.2 Electrical Characteristics (T/V-ver.) ........................................................................................................ 328
23. Usage Precaution............................................................................................................ 338
23.1 SFR ........................................................................................................................................................ 338
23.1 External Bus ........................................................................................................................................... 339
23.3 External Clock ........................................................................................................................................ 340
23.4 PLL Frequency Synthesizer ...................................................................................................................341
23.5 Power Control ........................................................................................................................................ 342
23.6 Oscillation Stop, Re-oscillation Detection Function ............................................................................... 344
23.7 Protection ............................................................................................................................................... 345
23.8 Interrupt .................................................................................................................................................. 346
23.8.1 Reading Address 00000h............................................................................................................... 346
23.8.2 Setting SP ......................................................................................................................................346
_______
23.8.3 NMI Interrupt ..................................................................................................................................346
23.8.4 Changing Interrupt Generate Factor ..............................................................................................347
23.8.5 INT Interrupt ................................................................................................................................... 347
23.8.6 Rewrite Interrupt Control Register ................................................................................................. 348
23.8.7 Watchdog Timer Interrupt .............................................................................................................. 348
_____
A-5
23.9 DMAC .................................................................................................................................................... 349
23.9.1 Write to DMAE Bit in DMiCON Register ........................................................................................ 349
23.10 Timers .................................................................................................................................................. 350
23.10.1 Timer A ......................................................................................................................................... 350
23.10.2 Timer B.........................................................................................................................................354
23.11 Thee-Phase Motor Control Timer Function ..........................................................................................356
23.12 Serial Interface ..................................................................................................................................... 357
23.12.1 Clock Synchronous Serial I/O Mode ............................................................................................357
23.12.2 Special Modes ............................................................................................................................. 358
23.12.3 SI/Oi .............................................................................................................................................359
23.13 A/D Converter ...................................................................................................................................... 360
23.14 CAN Module ......................................................................................................................................... 362
23.14.1 Reading CiSTR Register.............................................................................................................. 362
23.14.2 Performing CAN Configuration .................................................................................................... 364
23.14.3 Suggestions to Reduce Power Consumption .............................................................................. 365
23.14.4 CAN Transceiver in Boot Mode.................................................................................................... 366
23.15 Programmable I/O Ports ...................................................................................................................... 367
23.16 Dedicated Input Pin .............................................................................................................................. 368
23.17 E
23.18 Mask ROM Version ............................................................................................................................. 370
23.19 Flash Memory Version .........................................................................................................................371
23.20 Flash Memory Programming Using Boot Program .............................................................................. 373
23.21 Noise .................................................................................................................................................... 374
lectrical Characteristic Differences Between Mask ROM and Flash Memory Version Microcomputers ....
23.19.1 Functions to Prevent Flash Memory from Rewriting ....................................................................371
23.19.2 Stop Mode.................................................................................................................................... 371
23.19.3 Wait Mode .................................................................................................................................... 371
23.19.4 Low Power Dissipation Mode and On-Chip Oscillator Low Power Dissipation Mode ................. 371
23.19.5 Writing Command and Data......................................................................................................... 371
23.19.6 Program Command...................................................................................................................... 371
23.19.7 Lock Bit Program Command ........................................................................................................ 371
23.19.8 Operation Speed .......................................................................................................................... 371
23.19.9 Prohibited Instructions ................................................................................................................. 372
23.19.10 Interrupt...................................................................................................................................... 372
23.19.11 How to Access............................................................................................................................ 372
23.19.12 Rewriting in User ROM Area...................................................................................................... 372
23.19.13 DMA Transfer .............................................................................................................................372
23.20.1 Programming Using Serial I/O Mode ........................................................................................... 373
23.20.2 Programming Using CAN I/O Mode ............................................................................................. 373
369
Appendix 1. Package Dimensions ........................................................................................ 375
Register Index ....................................................................................................................... 377
Specifications written in this manual are believed to be accurate, but are not guaranteed to be entirely free
of error. Specifications in this manual may be changed for functional or performance improvements.
Please make sure your manual is the latest edition.
A-6

SFR Page Reference

Address Register Symbol Page
C01WKIC C0RECIC C0TRMIC INT3IC TB5IC S5IC TB4IC U1BCNIC TB3IC U0BCNIC C1RECIC S4IC INT5IC C1TRMIC S3IC INT4IC U2BCNIC DM0IC DM1IC C01ERRIC ADIC KUPIC S2TIC S2RIC S0TIC S0RIC S1TIC S1RIC TA0IC TA1IC TA2IC INT7IC TA3IC INT6IC TA4IC TB0IC S6IC TB1IC INT8IC TB2IC INT0IC INT1IC INT2IC
0040h 0041h 0042h 0043h 0044h
0045h
0046h
0047h
0048h
0049h
004Ah 004Bh 004Ch 004Dh
004Eh
004Fh 0050h 0051h 0052h 0053h 0054h 0055h 0056h
0057h
0058h
0059h
005Ah
005Bh
005Ch 005Dh 005Eh 005Fh 0060h 0061h 0062h 0063h 0064h 0065h 0066h 0067h 0068h 0069h 006Ah 006Bh 006Ch 006Dh 006Eh 006Fh 0070h 0071h 0072h 0073h 0074h 0075h 0076h 0077h 0078h 0079h 007Ah 007Bh 007Ch 007Dh 007Eh 007Fh
CAN0/1 Wake-up Interrupt Control Register CAN0 Successful Reception Interrupt Control Register CAN0 Successful Transmission Interrupt Control Register INT3 Interrupt Control Register Timer B5 Interrupt Control Register SI/O5 Interrupt Control Register Timer B4 Interrupt Control Register UART1 Bus Collision Detection Interrupt Control Register Timer B3 Interrupt Control Register UART0 Bus Collision Detection Interrupt Control Register CAN1 Successful Reception Interrupt Control Register SI/O4 Interrupt Control Register INT5 Interrupt Control Register CAN1 Successful Transmission Interrupt Control Register SI/O3 Interrupt Control Register INT4 Interrupt Control Register UART2 Bus Collision Detection Interrupt Control Register DMA0 Interrupt Control Register DMA1 Interrupt Control Register CAN0/1 Error Interrupt Control Register A/D Conversion Interrupt Control Register Key Input Interrupt Control Register UART2 Transmit Interrupt Control Register UART2 Receive Interrupt Control Register UART0 Transmit Interrupt Control Register UART0 Receive Interrupt Control Register UART1 Transmit Interrupt Control Register UART1 Receive Interrupt Control Register Timer A0 Interrupt Control Register Timer A1 Interrupt Control Register Timer A2 Interrupt Control Register INT7 Interrupt Control Register Timer A3 Interrupt Control Register INT6 Interrupt Control Register Timer A4 Interrupt Control Register Timer B0 Interrupt Control Register SI/O6 Interrupt Control Register Timer B1 Interrupt Control Register INT8 Interrupt Control Register Timer B2 Interrupt Control Register INT0 Interrupt Control Register INT1 Interrupt Control Register INT2 Interrupt Control Register
CAN0 Message Box 0: Identifier / DLC
CAN0 Message Box 0: Data Field
CAN0 Message Box 0: Time Stamp
CAN0 Message Box 1: Identifier / DLC
CAN0 Message Box 1: Data Field
CAN0 Message Box 1: Time Stamp
86 86 86 87 86 86 86 86 86 86 87 87 87 87 87 87 86 86 86 86 86 86 86 86 86 86 86 86 86 86 87 87 87 87 86 86 86 87 87 86 87 87 87
225 226
Address Register Symbol Page
0000h 0001h 0002h 0003h
Processor Mode Register 0
0004h
Processor Mode Register 1
0005h
System Clock Control Register 0
0006h 0007h
The blank areas are reserved.
System Clock Control Register 1
0008h
Chip Select Control Register
0009h
Address Match Interrupt Enable Register
000Ah
Protect Register 000Bh 000Ch
Oscillation Stop Detection Register 000Dh 000Eh
Watchdog Timer Start Register 000Fh
Watchdog Timer Control Register 0010h 0011h
Address Match Interrupt Register 0 0012h 0013h 0014h 0015h
Address Match Interrupt Register 1 0016h 0017h 0018h 0019h 001Ah 001Bh
Chip Select Expansion Control Register 001Ch
PLL Control Register 0 001Dh 001Eh
Processor Mode Register 2 001Fh 0020h 0021h
DMA0 Source Pointer 0022h 0023h 0024h 0025h
DMA0 Destination Pointer 0026h 0027h 0028h
DMA0 Transfer Counter 0029h
002Ah 002Bh 002Ch
DMA0 Control Register 002Dh 002Eh 002Fh 0030h 0031h
DMA1 Source Pointer 0032h 0033h 0034h 0035h
DMA1 Destination Pointer 0036h 0037h 0038h
DMA1 Transfer Counter 0039h
003Ah 003Bh 003Ch
DMA1 Control Register 003Dh 003Eh 003Fh
PM0 PM1 CM0 CM1 CSR AIER PRCR
CM2
WDTS WDC
RMAD0
RMAD1
CSE PLC0
PM2
SAR0
DAR0
TCR0
DM0CON
SAR1
DAR1
TCR1
DM1CON
40 41 58 59 46
100
80
60
102 102
100
100
52 63
62
107
107
107
106
107
107
107
106
B-1
Address Register Symbol Page
Address Register Symbol Page
00C0h 00C1h 00C2h 00C3h 00C4h 00C5h 00C6h 00C7h 00C8h 00C9h 00CAh 00CBh 00CCh 00CDh 00CEh 00CFh 00D0h 00D1h 00D2h 00D3h 00D4h 00D5h 00D6h 00D7h 00D8h 00D9h 00DAh 00DBh 00DCh 00DDh 00DEh 00DFh 00E0h 00E1h 00E2h 00E3h 00E4h 00E5h 00E6h 00E7h 00E8h 00E9h 00EAh 00EBh 00ECh 00EDh 00EEh 00EFh 00F0h 00F1h 00F2h 00F3h 00F4h 00F5h 00F6h 00F7h 00F8h 00F9h 00FAh 00FBh 00FCh 00FDh 00FEh 00FFh
CAN0 Message Box 6: Identifier / DLC
CAN0 Message Box 6: Data Field
CAN0 Message Box 6: Time Stamp
CAN0 Message Box 7: Identifier / DLC
CAN0 Message Box 7: Data Field
CAN0 Message Box 7: Time Stamp
CAN0 Message Box 8: Identifier / DLC
CAN0 Message Box 8: Data Field
CAN0 Message Box 8: Time Stamp
CAN0 Message Box 9: Identifier / DLC
CAN0 Message Box 9: Data Field
CAN0 Message Box 9: Time Stamp
225 226
0080h 0081h 0082h
CAN0 Message Box 2: Identifier / DLC 0083h
0084h 0085h 0086h 0087h 0088h 0089h
CAN0 Message Box 2: Data Field 008Ah
008Bh 008Ch 008Dh 008Eh
CAN0 Message Box 2: Time Stamp 008Fh
0090h 0091h 0092h
CAN0 Message Box 3: Identifier / DLC 0093h
0094h 0095h 0096h 0097h 0098h 0099h
CAN0 Message Box 3: Data Field 009Ah
009Bh 009Ch 009Dh 009Eh
CAN0 Message Box 3: Time Stamp 009Fh
00A0h 00A1h 00A2h
CAN0 Message Box 4: Identifier / DLC 00A3h
00A4h 00A5h 00A6h 00A7h 00A8h 00A9h
CAN0 Message Box 4: Data Field 00AAh
00ABh 00ACh 00ADh 00AEh
CAN0 Message Box 4: Time Stamp 00AFh
00B0h 00B1h 00B2h
CAN0 Message Box 5: Identifier / DLC 00B3h
00B4h 00B5h 00B6h 00B7h 00B8h 00B9h
CAN0 Message Box 5: Data Field 00BAh
00BBh 00BCh 00BDh 00BEh
CAN0 Message Box 5: Time Stamp 00BFh
225 226
B-2
Address Register Symbol Page
C0GMR
C0LMAR
C0LMBR
Address Register Symbol Page
0140h 0141h 0142h 0143h 0144h 0145h 0146h 0147h 0148h 0149h 014Ah 014Bh 014Ch 014Dh 014Eh 014Fh 0150h 0151h 0152h 0153h 0154h 0155h 0156h 0157h 0158h 0159h 015Ah 015Bh 015Ch 015Dh 015Eh 015Fh 0160h 0161h 0162h 0163h 0164h 0165h 0166h 0167h 0168h 0169h 016Ah 016Bh 016Ch 016Dh 016Eh 016Fh 0170h 0171h 0172h 0173h 0174h 0175h 0176h 0177h 0178h 0179h 017Ah 017Bh 017Ch 017Dh 017Eh 017Fh
CAN0 Message Box 14: Identifier /DLC
CAN0 Message Box 14: Data Field
CAN0 Message Box 14: Time Stamp
CAN0 Message Box 15: Identifier /DLC
CAN0 Message Box 15: Data Field
CAN0 Message Box 15: Time Stamp
CAN0 Global Mask Register
CAN0 Local Mask A Register
CAN0 Local Mask B Register
225 226
227
227
227
0100h 0101h 0102h
CAN0 Message Box 10: Identifier / DLC 0103h
0104h 0105h 0106h 0107h 0108h 0109h
CAN0 Message Box 10: Data Field 010Ah
010Bh 010Ch 010Dh 010Eh
CAN0 Message Box 10: Time Stamp 010Fh
0110h 0111 h 0112h
CAN0 Message Box 11: Identifier / DLC 0113h
0114h 0115h 0116h 0117h 0118h 0119h
CAN0 Message Box 11: Data Field 011Ah
011Bh 011Ch 011Dh 011Eh
CAN0 Message Box 11: Time Stamp 011Fh
0120h 0121h 0122h
CAN0 Message Box 12: Identifier / DLC 0123h
0124h 0125h 0126h 0127h 0128h 0129h
CAN0 Message Box 12: Data Field 012Ah
012Bh 012Ch 012Dh 012Eh
CAN0 Message Box 12: Time Stamp 012Fh
0130h 0131h 0132h
The blank areas are reserved.
CAN0 Message Box 13: Identifier / DLC 0133h
0134h 0135h 0136h 0137h 0138h 0139h
CAN0 Message Box 13: Data Field 013Ah
013Bh 013Ch 013Dh 013Eh
CAN0 Message Box 13: Time Stamp 013Fh
225 226
B-3
Address Register Symbol Page
Address Register Symbol Page
TBSR
TA11
TA21
TA41
INVC0 INVC1 IDB0 IDB1 DTT ICTB2
IFSR2
TB3
TB4
TB5
S6TRR
S6C S6BRG S3456TRR TB3MR TB4MR TB5MR IFSR0 IFSR1 S3TRR
S3C S3BRG S4TRR
S4C S4BRG S5TRR
S5C S5BRG U0SMR4 U0SMR3 U0SMR2 U0SMR U1SMR4 U1SMR3 U1SMR2 U1SMR U2SMR4 U2SMR3 U2SMR2 U2SMR U2MR U2BRG
U2TB
U2C0 U2C1
U2RB
01C0h 01C1h 01C2h 01C3h 01C4h 01C5h 01C6h 01C7h 01C8h 01C9h 01CAh 01CBh 01CCh 01CDh 01CEh 01CFh 01D0h 01D1h 01D2h 01D3h 01D4h 01D5h 01D6h 01D7h 01D8h 01D9h 01DAh 01DBh 01DCh 01DDh 01DEh 01DFh 01E0h 01E1h 01E2h 01E3h 01E4h 01E5h 01E6h 01E7h 01E8h 01E9h 01EAh 01EBh 01ECh 01EDh 01EEh 01EFh 01F0h 01F1h 01F2h 01F3h 01F4h 01F5h 01F6h 01F7h 01F8h 01F9h 01FAh 01FBh 01FCh 01FDh 01FEh 01FFh
Timer B3, B4, B5 Count Start Flag
Timer A1-1 Register
Timer A2-1 Register
Timer A4-1 Register
Three-Phase PWM Control Register 0 Three-Phase PWM Control Register 1 Three-Phase Output Buffer Register 0 Three-Phase Output Buffer Register 1 Dead Time Timer Timer B2 Interrupt Occurrence Frequency Set Counter
Interrupt Cause Select Register 2
Timer B3 Register
Timer B4 Register
Timer B5 Register
SI/O6 Transmit/Receive Register
SI/O6 Control Register SI/O6 Bit Rate Generator SI/O3, 4, 5, 6 Transmit/Receive Register Timer B3 Mode Register Timer B4 Mode Register Timer B5 Mode Register Interrupt Cause Select Register 0 Interrupt Cause Select Register 1 SI/O3 Transmit/Receive Register
SI/O3 Control Register SI/O3 Bit Rate Generator SI/O4 Transmit/Receive Register
SI/O4 Control Register SI/O4 Bit Rate Generator SI/O5 Transmit/Receive Register
SI/O5 Control Register SI/O5 Bit Rate Generator UART0 Special Mode Register 4 UART0 Special Mode Register 3 UART0 Special Mode Register 2 UART0 Special Mode Register UART1 Special Mode Register 4 UART1 Special Mode Register 3 UART1 Special Mode Register 2 UART1 Special Mode Register UART2 Special Mode Register 4 UART2 Special Mode Register 3 UART2 Special Mode Register 2 UART2 Special Mode Register UART2 Transmit/Receive Mode Register UART2 Bit Rate Generator
UART2 Transmit Buffer Register
UART2 Transmit/Receive Control Register 0 UART2 Transmit/Receive Control Register 1
UART2 Receive Buffer Register
132
143
143
143
140 141 142 142 142 144
97
131
131
131
197
197 197 198
131 133 135 136
95 96
197
197 197 197
197 197 197
197 197 158 157 157 156 158 157 157 156 158 157 157 156 154 153
153
154 155
153
0180h 0181h 0182h 0183h 0184h 0185h 0186h 0187h 0188h 0189h 018Ah 018Bh 018Ch 018Dh 018Eh 018Fh 0190h 0191h 0192h 0193h 0194h 0195h 0196h 0197h 0198h 0199h 019Ah 019Bh 019Ch 019Dh 019Eh 019Fh 01A0h 01A1h 01A2h 01A3h 01A4h 01A5h 01A6h 01A7h 01A8h 01A9h 01AAh 01ABh 01ACh 01ADh 01AEh 01AFh 01B0h 01B1h 01B2h 01B3h 01B4h 01B5h
The blank areas are reserved.
Flash Memory Control Register 1 01B6h 01B7h
Flash Memory Control Register 0 01B8h 01B9h
Address Match Interrupt Register 2 01BAh 01BBh
Address Match Interrupt Enable Register 2 01BCh 01BDh
Address Match Interrupt Register 3 01BEh 01BFh
FMR1
FMR0
RMAD2
AIER2
RMAD3
266
266
100
100
100
B-4
Address Register Symbol Page
C0AFS
C1AFS
PCLKR CCLKR
Address Register Symbol Page
0240h 0241h 0242h 0243h 0244h 0245h 0246h 0247h 0248h 0249h 024Ah 024Bh 024Ch 024Dh 024Eh 024Fh 0250h 0251h 0252h 0253h 0254h 0255h 0256h 0257h 0258h 0259h 025Ah 025Bh 025Ch 025Dh 025Eh 025Fh 0260h 0261h 0262h 0263h 0264h 0265h 0266h 0267h 0268h 0269h 026Ah 026Bh 026Ch 026Dh 026Eh 026Fh 0270h 0271h 0272h 0273h 0274h 0275h 0276h 0277h 0278h 0279h 027Ah 027Bh 027Ch 027Dh 027Eh 027Fh
CAN0 Acceptance Filter Support Register
CAN1 Acceptance Filter Support Register
Peripheral Clock Select Register CAN0/1 Clock Select Register
CAN1 Message Box 0: Identifier / DLC
CAN1 Message Box 0: Data Field
CAN1 Message Box 0:Time Stamp
CAN1 Message Box 1: Identifier / DLC
CAN1 Message Box 1: Data Field
CAN1 Message Box 1:Time Stamp
233
233
61 62
225 226
0200h
CAN0 Message Control Register 0 CAN0 Message Control Register 1
0201h
CAN0 Message Control Register 2
0202h 0203h
CAN0 Message Control Register 3
0204h
CAN0 Message Control Register 4
0205h
CAN0 Message Control Register 5
0206h
CAN0 Message Control Register 6
0207h
CAN0 Message Control Register 7
0208h
The blank areas are reserved.
CAN0 Message Control Register 8
0209h
CAN0 Message Control Register 9
020Ah
CAN0 Message Control Register 10
020Bh
CAN0 Message Control Register 11
020Ch
CAN0 Message Control Register 12
020Dh
CAN0 Message Control Register 13
020Eh
CAN0 Message Control Register 14
020Fh
CAN0 Message Control Register 15
0210h
CAN0 Control Register
0211h 0212h
CAN0 Status Register
0213h 0214h
CAN0 Slot Status Register
0215h 0216h
CAN0 Interrupt Control Register
0217h 0218h
CAN0 Extended ID Register
0219h 021Ah
CAN0 Configuration Register
021Bh 021Ch
CAN0 Receive Error Count Register
021Dh
CAN0 Transmit Error Count Register
021Eh
CAN0 Time Stamp Register
021Fh 0220h
CAN1 Message Control Register 0
0221h
CAN1 Message Control Register 1
0222h
CAN1 Message Control Register 2
0223h
CAN1 Message Control Register 3
0224h
CAN1 Message Control Register 4
0225h
CAN1 Message Control Register 5
0226h
CAN1 Message Control Register 6
0227h
CAN1 Message Control Register 7
0228h
CAN1 Message Control Register 8
0229h
CAN1 Message Control Register 9
022Ah
CAN1 Message Control Register 10
022Bh
CAN1 Message Control Register 11
022Ch
CAN1 Message Control Register 12
022Dh
CAN1 Message Control Register 13
022Eh
CAN1 Message Control Register 14
022Fh
CAN1 Message Control Register 15
0230h
CAN1 Control Register
0231h 0232h
CAN1 Status Register
0233h 0234h
CAN1 Slot Status Register
0235h 0236h
CAN1 Interrupt Control Register
0237h 0238h
CAN1 Extended ID Register
0239h 023Ah
CAN1 Configuration Register
023Bh 023Ch
CAN1 Receive Error Count Register
023Dh
CAN1 Transmit Error Count Register
023Eh
CAN1 Time Stamp Register
023Fh
C0MCTL0 C0MCTL1
C0MCTL2 C0MCTL3 C0MCTL4 C0MCTL5 C0MCTL6 C0MCTL7 C0MCTL8 C0MCTL9 C0MCTL10 C0MCTL11 C0MCTL12 C0MCTL13 C0MCTL14 C0MCTL15
C0CTLR
C0STR
C0SSTR
C0ICR
C0IDR
C0CONR
C0RECR C0TECR
C0TSR
C1MCTL0 C1MCTL1 C1MCTL2 C1MCTL3 C1MCTL4 C1MCTL5 C1MCTL6 C1MCTL7 C1MCTL8 C1MCTL9 C1MCTL10 C1MCTL11 C1MCTL12 C1MCTL13 C1MCTL14 C1MCTL15
C1CTLR
C1STR
C1SSTR
C1ICR
C1IDR
C1CONR
C1RECR C1TECR
C1TSR
228
229
230
231
231
231
232
233 233
233
228
229
230
231
231
231
232
233 233
233
B-5
Address Register Symbol Page
Address Register Symbol Page
02C0h 02C1h 02C2h 02C3h 02C4h 02C5h 02C6h 02C7h 02C8h 02C9h 02CAh 02CBh 02CCh 02CDh 02CEh 02CFh 02D0h 02D1h 02D2h 02D3h 02D4h 02D5h 02D6h 02D7h 02D8h 02D9h 02DAh 02DBh 02DCh 02DDh 02DEh 02DFh 02E0h 02E1h 02E2h 02E3h 02E4h 02E5h 02E6h 02E7h 02E8h 02E9h 02EAh 02EBh 02ECh 02EDh 02EEh 02EFh 02F0h 02F1h 02F2h 02F3h 02F4h 02F5h 02F6h 02F7h 02F8h 02F9h 02FAh 02FBh 02FCh 02FDh 02FEh 02FFh
CAN1 Message Box 6: Identifier / DLC
CAN1 Message Box 6: Data Field
CAN1 Message Box 6: Time Stamp
CAN1 Message Box 7: Identifier / DLC
CAN1 Message Box 7: Data Field
CAN1 Message Box 7: Time Stamp
CAN1 Message Box 8: Identifier / DLC
CAN1 Message Box 8: Data Field
CAN1 Message Box 8: Time Stamp
CAN1 Message Box 9: Identifier / DLC
CAN1 Message Box 9: Data Field
CAN1 Message Box 9: Time Stamp
225 226
0280h 0281h 0282h
CAN1 Message Box 2: Identifier / DLC
0283h 0284h 0285h 0286h 0287h 0288h 0289h
CAN1 Message Box 2: Data Field
028Ah 028Bh 028Ch 028Dh 028Eh
CAN1 Message Box 2: Time Stamp
028Fh 0290h 0291h 0292h
CAN1 Message Box 3: Identifier / DLC
0293h 0294h 0295h 0296h 0297h 0298h 0299h
CAN1 Message Box 3: Data Field
029Ah 029Bh 029Ch 029Dh 029Eh
CAN1 Message Box 3: Time Stamp
029Fh 02A0h 02A1h 02A2h
CAN1 Message Box 4: Identifier / DLC
02A3h 02A4h 02A5h 02A6h 02A7h 02A8h 02A9h
CAN1 Message Box 4: Data Field
02AAh 02ABh 02ACh 02ADh 02AEh
CAN1 Message Box 4: Time Stamp
02AFh 02B0h 02B1h 02B2h
CAN1 Message Box 5: Identifier / DLC
02B3h 02B4h 02B5h 02B6h 02B7h 02B8h 02B9h
CAN1 Message Box 5: Data Field
02BAh 02BBh 02BCh 02BDh 02BEh
CAN1 Message Box 5: Time Stamp
02BFh
225 226
B-6
Address Register Symbol Page
C1GMR
C1LMAR
C1LMBR
Address Register Symbol Page
0340h 0341h 0342h 0343h 0344h 0345h 0346h 0347h 0348h 0349h 034Ah 034Bh 034Ch 034Dh 034Eh 034Fh 0350h 0351h 0352h 0353h 0354h 0355h 0356h 0357h 0358h 0359h 035Ah 035Bh 035Ch 035Dh 035Eh 035Fh 0360h 0361h 0362h 0363h 0364h 0365h 0366h 0367h 0368h 0369h 036Ah 036Bh 036Ch 036Dh 036Eh 036Fh 0370h 0371h 0372h 0373h 0374h 0375h 0376h 0377h 0378h 0379h 037Ah 037Bh 037Ch 037Dh 037Eh 037Fh
CAN1 Message Box 14: Identifier / DLC
CAN1 Message Box 14: Data Field
CAN1 Message Box 14: Time Stamp
CAN1 Message Box 15: Identifier / DLC
CAN1 Message Box 15: Data Field
CAN1 Message Box 15: Time Stamp
CAN1 Global Mask Register
CAN1 Local Mask A Register
CAN1 Local Mask B Register
225 226
227
227
227
0300h 0301h 0302h
CAN1 Message Box 10: Identifier / DLC
0303h 0304h 0305h 0306h 0307h 0308h 0309h
CAN1 Message Box 10: Data Field
030Ah 030Bh 030Ch 030Dh 030Eh
CAN1 Message Box 10: Time Stamp
030Fh 0310h 0311h 0312h
CAN1 Message Box 11: Identifier / DLC
0313h 0314h 0315h 0316h 0317h 0318h 0319h
CAN1 Message Box 11: Data Field
031Ah 031Bh 031Ch 031Dh 031Eh
CAN1 Message Box 11: Time Stamp
031Fh 0320h 0321h 0322h
CAN1 Message Box 12: Identifier / DLC
0323h 0324h 0325h 0326h 0327h 0328h 0329h
CAN1 Message Box 12: Data Field
032Ah 032Bh 032Ch 032Dh 032Eh
CAN1 Message Box 12: Time Stamp
032Fh 0330h 0331h 0332h
The blank areas are reserved.
CAN1 Message Box 13: Identifier / DLC
0333h 0334h 0335h 0336h 0337h 0338h 0339h
CAN1 Message Box 13: Data Field
033Ah 033Bh 033Ch 033Dh 033Eh
CAN1 Message Box 13: Time Stamp
033Fh
225 226
B-7
Address Register Symbol Page
Address Register Symbol Page
AD0
AD1
AD2
AD3
AD4
AD5
AD6
AD7
ADCON2
ADCON0 ADCON1 DA0
DA1
DACON
PC14 PUR3 P0 P1 PD0 PD1 P2 P3 PD2 PD3 P4 P5 PD4 PD5 P6 P7 PD6 PD7 P8 P9 PD8 PD9 P10 P11 PD10 PD11 P12 P13 PD12 PD13 PUR0 PUR1 PUR2 PCR
03C0h 03C1h 03C2h 03C3h 03C4h 03C5h 03C6h 03C7h 03C8h 03C9h 03CAh 03CBh 03CCh 03CDh 03CEh 03CFh 03D0h 03D1h 03D2h 03D3h 03D4h 03D5h 03D6h 03D7h 03D8h 03D9h 03DAh 03DBh 03DCh 03DDh 03DEh 03DFh 03E0h 03E1h 03E2h 03E3h 03E4h 03E5h 03E6h 03E7h 03E8h 03E9h 03EAh 03EBh 03ECh 03EDh 03EEh 03EFh 03F0h 03F1h 03F2h 03F3h 03F4h 03F5h 03F6h 03F7h 03F8h 03F9h 03FAh 03FBh 03FCh 03FDh 03FEh 03FFh
A/D Register 0
A/D Register 1
A/D Register 2
A/D Register 3
A/D Register 4
A/D Register 5
A/D Register 6
A/D Register 7
A/D Control Register 2
A/D Control Register 0 A/D Control Register 1 D/A Register 0
D/A Register 1
D/A Control Register
Port P14 Control Register Pull-Up Control Register 3 Port P0 Register Port P1 Register Port P0 Direction Register Port P1 Direction Register Port P2 Register Port P3 Register Port P2 Direction Register Port P3 Direction Register Port P4 Register Port P5 Register Port P4 Direction Register Port P5 Direction Register Port P6 Register Port P7 Register Port P6 Direction Register Port P7 Direction Register Port P8 Register Port P9 Register Port P8 Direction Register Port P9 Direction Register Port P10 Register Port P11 Register Port P10 Direction Register Port P11 Direction Register Port P12 Register Port P13 Register Port P12 Direction Register Port P13 Direction Register
Pull-up Control Register 0 Pull-up Control Register 1 Pull-up Control Register 2 Port Control Register
205
205
204,207,209 211,213,215
220
220
220
255 257 255 255 254 254 255 255 254 254 255 255 254 254 255 255 254 254 255 255 254 254 255 255 254 254 255 255 254 254 256 256 256 257
0380h
Count Start Flag
0381h
Clock Prescaler Reset Flag
0382h
One-Shot Start Flag
0383h
Trigger Select Register
0384h
Up/Down Flag
TABSR CPSRF ONSF TRGSR
UDF 0385h 0386h
Timer A0 Register
0387h 0388h
The blank areas are reserved.
Timer A1 Register
0389h 038Ah
Timer A2 Register
038Bh 038Ch
Timer A3 Register
038Dh 038Eh
Timer A4 Register
038Fh 0390h
Timer B0 Register
0391h 0392h
Timer B1 Register
0393h 0394h
Timer B2 Register
0395h
Timer A0 Mode Register
0396h
Timer A1 Mode Register
0397h
Timer A2 Mode Register
0398h
Timer A3 Mode Register
0399h
Timer A4 Mode Register
039Ah
Timer B0 Mode Register
039Bh
Timer B1 Mode Register
039Ch
Timer B2 Mode Register
039Dh
Timer B2 Special Mode Register
039Eh 039Fh
UART0 Transmit/Receive Mode Register
03A0h
UART0 Bit Rate Generator
03A1h 03A2h
UART0 Transmit Buffer Register
03A3h
UART0 Transmit/Receive Control Register 0
03A4h
UART0 Transmit/Receive Control Register 1
03A5h 03A6h
UART0 Receive Buffer Register
03A7h 03A8h
UART1 Transmit/Receive Mode Register
03A9h
UART1 Bit Rate Generator
03AAh
UART1 Transmit Buffer Register
03ABh 03ACh
UART1 Transmit/Receive Control Register 0
03ADh
UART1 Transmit/Receive Control Register 1
03AEh
UART1 Receive Buffer Register
03AFh 03B0h
UART Transmit/Receive Control Register 2 03B1h 03B2h 03B3h 03B4h 03B5h 03B6h 03B7h 03B8h
DMA0 Request Cause Select Register 03B9h 03BAh
DMA1 Request Cause Select Register 03BBh 03BCh
CRC Data Register 03BDh
03BEh
CRC Input Register 03BFh
TA0
TA1
TA2
TA3
TA4
TB0
TB1
TB2
TA0MR TA1MR TA2MR TA3MR TA4MR TB0MR TB1MR TB2MR TB2SC
U0MR U0BRG
U0TB
U0C0 U0C1
U0RB
U1MR U1BRG
U1TB
U1C0 U1C1
U1RB
UCON
DM0SL
DM1SL
CRCD
CRCIN
117,132,145
118,132
118
118,145
117
116
116 143 116 143
116
116 143
131
131
131
143 116 119
146
121
123,146
126
123
128
123,146 131,133 134,136
146
144
154 153
153
154 155
153
154 153
153
154 155
153
156
105
106
221
221
B-8
M16C/6N Group (M16C/6NK, M16C/6NM)
Under development
This document is under development and its contents are subject to change
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Nov 28, 2005

1. Overview

The M16C/6N Group (M16C/6NK, M16C/6NM) of single-chip microcomputers are built using the high-performance silicon gate CMOS process using an M16C/60 Series CPU core and are packaged in 100-pin and 128-pin plastic molded LQFP. These single-chip microcomputers operate using sophisticated instructions featuring a high level of instruction efficiency. With 1 Mbyte of address space, they are capable of executing instructions at high speed. Being equipped with two CAN (Controller Area Network) modules in M16C/6N Group (M16C/6NK, M16C/6NM), the microcomputer is suited to car audio and industrial control systems. The CAN modules comply with the 2.0B specification. In addition, this microcomputer contains a multiplier and DMAC which combined with fast instruction processing capability, makes it suitable for control of various OA and communication equipment which requires high-speed arithmetic/logic operations.

1.1 Applications

• Car audio and industrial control systems, other (Normal-ver. product)
• Automotive, industrial control systems and other automobile, other (T/V-ver. product)
Rev.2.00
Rev.2.00 Nov 28, 2005 page 1 of 378 REJ09B0124-0200
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM) 1. Overview

1.2 Performance Outline

Tables 1.1 and 1.2 list a performance outline of M16C/6N Group (M16C/6NK, M16C/6NM).
Table 1.1 Performance Outline of M16C/6N Group (100-pin Version: M16C/6NK)
Item
Normal-ver. T/V-ver.
CPU Number of Basic Instructions 91 instructions
Minimum Instruction 41.7ns (f(BCLK) = 24MHz, 50.0ns (f(BCLK) = 20MHz, Execution Time Operation Mode
1/1 prescaler, without software wait) 1/1 prescaler, without software wait) Single-chip, memory expansion
and microprocessor modes Address Space 1 Mbyte Memory Capacity See Table 1.3 Product List
Peripheral Port Input/Output: 87 pins, Input: 1 pin Function Multifunction Timer Timer A: 16 bits 5 channels
Timer B: 16 bits 6 channels
Three-phase motor control circuit Serial Interface 3 channels
Clock synchronous, UART, I2C-bus
2 channels
Clock synchronous A/D Converter 10-bit A/D converter: 1 circuit, 26 channels D/A Converter 8 bits 2 channels DMAC 2 channels CRC Calculation Circuit CRC-CCITT CAN Module 2 channels with 2.0B specification Watchdog Timer 15 bits 1 channel (with prescaler) Interrupt Internal: 32 sources, External: 9 sources
Software: 4 sources, Priority level: 7 levels Clock Generating Circuit 4 circuits
Main clock oscillation circuit (*)
Sub clock oscillation circuit (*)
On-chip oscillator
PLL frequency synthesizer
(*) Equipped with a built-in feedback resistor Oscillation Stop Detection Main clock oscillation stop and re-oscillation detection function Function
Electrical Supply Voltage Characteristics
VCC = 3.0 to 5.5V (f(BCLK) = 24MHz, VCC = 4.2 to 5.5V (f(BCLK) = 20MHz,
1/1 prescaler, without software wait) 1/1 prescaler, without software wait) Power Mask ROM 21mA (f(BCLK) = 24MHz, ­Consumption PLL operation, no division)
Flash Memory
23mA (f(BCLK) = 24MHz, 21mA (f(BCLK) = 20MHz,
PLL operation, no division) PLL operation, no division)
Mask ROM 3µA
Flash Memory Flash Memory Program/Erase Supply Voltage Version
Program and Erase Endurance
(f(BCLK) = 32kHz, Wait mode, Oscillation capacity Low)
0.8µA (Stop mode, Topr = 25°C)
3.0 ± 0.3V or 5.0 ± 0.5V 5.0 ± 0.5V
100 times I/O I/O Withstand Voltage 5.0V Characteristics
Output Current 5mA
Operating Ambient Temperature -40 to 85°C T version: -40 to 85°C
Device Configuration CMOS high performance silicon gate Package 100-pin plastic mold LQFP
NOTES:
1. I2C-bus is a registered trademark of Koninklijke Philips Electronics N.V.
2. IEBus is a registered trademark of NEC Electronics Corporation.
option: All options are on request basis.
Performance
Single-chip mode
V version: -40 to 125°C
(1)
, IEBus
(2)
(option)
Rev.2.00 Nov 28, 2005 page 2 of 378 REJ09B0124-0200
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM) 1. Overview
Table 1.2 Performance Outline of M16C/6N Group (128-pin Version: M16C/6NM)
Item
Normal-ver. T/V-ver.
Performance
CPU Number of Basic Instructions 91 instructions
Minimum Instruction 41.7ns (f(BCLK) = 24MHz, 50.0ns (f(BCLK) = 20MHz, Execution Time Operation Mode
1/1 prescaler, without software wait) 1/1 prescaler, without software wait)
Single-chip, memory expansion
Single-chip mode
and microprocessor modes
Address Space 1 Mbyte
Memory Capacity See Table 1.3 Product List Peripheral Port Input/Output: 113 pins, Input: 1 pin Function Multifunction Timer Timer A: 16 bits 5 channels
Timer B: 16 bits 6 channels Three-phase motor control circuit
Serial Interface 3 channels
Clock synchronous, UART, I2C-bus
(1)
, IEBus
(2)
4 channels
Clock synchronous A/D Converter 10-bit A/D converter: 1 circuit, 26 channels D/A Converter 8 bits 2 channels DMAC 2 channels CRC Calculation Circuit CRC-CCITT CAN Module 2 channels with 2.0B specification Watchdog Timer 15 bits 1 channel (with prescaler) Interrupt Internal: 34 sources, External: 12 sources
Software: 4 sources, Priority level: 7 levels Clock Generating Circuit 4 circuits
Main clock oscillation circuit (*)
Sub clock oscillation circuit (*)
On-chip oscillator
PLL frequency synthesizer
(*) Equipped with a built-in feedback resistor Oscillation Stop Detection Main clock oscillation stop and re-oscillation detection function Function
Electrical Supply Voltage Characteristics
VCC = 3.0 to 5.5V (f(BCLK) = 24MHz, VCC = 4.2 to 5.5V (f(BCLK) = 20MHz,
1/1 prescaler, without software wait) 1/1 prescaler, without software wait) Power Mask ROM 21mA (f(BCLK) = 24MHz, ­Consumption PLL operation, no division)
Flash Memory
23mA (f(BCLK) = 24MHz, 21mA (f(BCLK) = 20MHz,
PLL operation, no division) PLL operation, no division)
Mask ROM 3µA
Flash Memory Flash Memory Program/Erase Supply Voltage Version
Program and Erase Endurance
(f(BCLK) = 32kHz, Wait mode, Oscillation capacity Low)
0.8µA (Stop mode, Topr = 25°C)
3.0 ± 0.3V or 5.0 ± 0.5V 5.0 ± 0.5V
100 times I/O I/O Withstand Voltage 5.0V Characteristics
Output Current 5mA
Operating Ambient Temperature -40 to 85°C T version: -40 to 85°C
V version: -40 to 125°C
(option) Device Configuration CMOS high performance silicon gate Package 128-pin plastic mold LQFP
NOTES:
1. I2C-bus is a registered trademark of Koninklijke Philips Electronics N.V.
2. IEBus is a registered trademark of NEC Electronics Corporation.
option: All options are on request basis.
Rev.2.00 Nov 28, 2005 page 3 of 378 REJ09B0124-0200
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM) 1. Overview

1.3 Block Diagram

Figure 1.1 shows a block diagram of M16C/6N Group (M16C/6NK, M16C/6NM).
8
Port P0
Port P18Port P2
Internal peripheral functions
Expandable up to 26 channels)
Timer (16 bits)
Output (timer A): 5
Input (timer B): 6
Three-phase motor
control circuit
Watchdog timer
(15 bits)
DMAC
(2 channels)
D/A converter
(8 bits 2 channels)
NOTES:
1: ROM size depends on microcomputer type. 2: RAM size depends on microcomputer type. 3: Ports P11 to P14 are only in the 128-pin version. 4: 8 bits 2 channels in the 100-pin version.
Clock synchronous serial I/O
CRC arithmetic circuit (CCITT)
8 8 8 8
A/D converter
(10 bits 8 channels
UART or
(3 channels)
(Polynomial: X
R0H R0L R1H R1L
R2 R3
A0 A1
FB
16+X12+X5
+1)
SB
USP
ISP
INTB
PC
FLG
Port P14
(3)
2
Port P5Port P4Port P3
System clock generating circuit
XIN-XOUT
XCIN-XCOUT
PLL frequency synthesizer
On-chip oscillator
Clock synchronous serial I/O
(8 bits 4 channels)
CAN module (2 channels)
(4)
MemoryM16C/60 series CPU core
(1)
ROM
(2)
RAM
Multiplier
Port P13
Port P12
(3)
8
(3)
8
8
Port P6
Port P7
8
Port P8
7
Port P8_5
Port P9
8
Port P10
8
Port P11
(3)
8
Figure 1.1 Block Diagram
Rev.2.00 Nov 28, 2005 page 4 of 378 REJ09B0124-0200
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM) 1. Overview

1.4 Product List

Table 1.3 lists the M16C/6N Group (M16C/6NK, M16C/6NM) products and Figure 1.2 shows the type numbers, memory sizes and packages.
Table 1.3 Product List
Type No. ROM Capacity RAM Capacity Package Type Remarks
M306NKFHGP
384 K + 4 Kbytes 31 Kbytes
PLQP0100KB-A M306NMFHGP PLQP0128KB-A M306NKFJGP
(D) 512 K + 4 Kbytes 31 Kbytes
PLQP0100KB-A M306NMFJGP PLQP0128KB-A M306NKFHTGP M306NMFHTGP M306NKFJTGP M306NMFJTGP M306NKFHVGP M306NMFHVGP M306NKFJVGP M306NMFJVGP M306NKME-XXXGP
(D) 384 K + 4 Kbytes 31 Kbytes (D) (D) 512 K + 4 Kbytes 31 Kbytes (D) (D) 384 K + 4 Kbytes 31 Kbytes (D) (D) 512 K + 4 Kbytes 31 Kbytes (D)
192 Kbytes
16
Kbytes
PLQP0100KB-A T-ver.
PLQP0128KB-A
PLQP0100KB-A
PLQP0128KB-A
PLQP0100KB-A V-ver.
PLQP0128KB-A
PLQP0100KB-A
PLQP0128KB-A
PLQP0100KB-A M306NMME-XXXGP PLQP0128KB-A M306NKMG-XXXGP
256 Kbytes
20
Kbytes
PLQP0100KB-A M306NMMG-XXXGP PLQP0128KB-A
(D): Under development NOTE:
1. In the flash memory version, there is 4-Kbyte space (block A).
As of Nov. 2005
Flash memory version
(1)
Mask ROM version
Normal-ver.
Normal-ver.
Type No.
M30 6N K M G T - XXX GP
Figure 1.2 Type No., Memory Size, and Package
Package type:
GP: Package PLQP0100KB-A, PLQP0128KB-A
ROM No.
Omitted on flash memory version
Characteristics (no): Normal-ver. T : T-ver. (Automotive 85°C version) V : V-ver. (Automotive 125°C version)
ROM capacity: E : 192 Kbytes G: 256 Kbytes H : 384 Kbytes J : 512 Kbytes
Memory type:
M : Mask ROM version F : Flash memory version
Shows the number of CAN module, pin count, etc.
6N Group
M16C Family
Rev.2.00 Nov 28, 2005 page 5 of 378 REJ09B0124-0200
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM) 1. Overview

1.5 Pin Configuration

Figures 1.3 and 1.4 show the pin configuration (top view). Tables 1.4 to 1.8 list the pin characteristics.
PIN CONFIGURATION (top view)
P1_2/D10
P1_1/D9
P1_0/D8 P0_7/AN0_7/D7 P0_6/AN0_6/D6 P0_5/AN0_5/D5 P0_4/AN0_4/D4 P0_3/AN0_3/D3 P0_2/AN0_2/D2 P0_1/AN0_1/D1 P0_0/AN0_0/D0
P10_7/AN7/KI3 P10_6/AN6/KI2 P10_5/AN5/KI1 P10_4/AN4/KI0
P10_3/AN3 P10_2/AN2 P10_1/AN1
AVSS
P10_0/AN0
VREF
P9_7/ADTRG/SIN4
P9_6/ANEX1/CTX0/SOUT4
P9_5/ANEX0/CRX0/CLK4
AVCC
P2_3/AN2_3/A3(/D3/D2)
P2_7/AN2_7/A7(/D7/D6)
P2_2/AN2_2/A2(/D2/D1)
P1_4/D12
P1_3/D11
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
1 2 3 4 5 6 7 8 9 10111213141516171819202122232425
P9_3/DA0/TB3IN
P9_4/DA1/TB4IN
P2_1/AN2_1/A1(/D1/D0)
P2_0/AN2_0/A0(/D0/-)
P1_5/D13/INT3
P1_6/D14/INT4
P1_7/D15/INT5
M16C/6N Group
(M16C/6NK)
BYTE
CNVSS
P8_7/XCIN
P8_6/XCOUT
P9_1/TB1IN/SIN3
P9_0/TB0IN/CLK3
P9_2/TB2IN/SOUT3
(1)
P2_4/AN2_4/A4(/D4/D3)
RESET
P3_0/A8(/-/D7)
P2_6/AN2_6/A6(/D6/D5)
P2_5/AN2_5/A5(/D5/D4)
XIN
VSS
XOUT
VSS
VCC1
P8_5/NMI
P3_2/A10
VCC2
P3_1/A9
57585960616263646566676869707172737475
P8_2/INT0
P8_3/INT1
P8_4/INT2/ZP
P3_3/A11
P8_1/TA4IN/U
P3_4/A12
P8_0/TA4OUT/U(SIN4)
P4_1/A17
P4_0/A16
P3_7/A15
P3_6/A14
P3_5/A13
515253545556
50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31
30 29 28 27 26
P7_7/TA3IN/CRX1
P7_6/TA3OUT/CTX1
P7_5/TA2IN/W(SOUT4)
P7_4/TA2OUT/W(CLK4)
P7_3/CTS2/RTS2/TA1IN/V
1. P7_1 and P9_1 are N channel open-drain pins.
2. Not available the bus control pins (except CLKOUT pin) in T/V-ver..
P4_2/A18 P4_3/A19 P4_4/CS0 P4_5/CS1 P4_6/CS2 P4_7/CS3 P5_0/WRL/WR P5_1/WRH/BHE P5_2/RD P5_3/BCLK P5_4/HLDA P5_5/HOLD P5_6/ALE P5_7/RDY/CLKOUT P6_0/CTS0/RTS0 P6_1/CLK0 P6_2/RXD0/SCL0 P6_3/TXD0/SDA0 P6_4/CTS1/RTS1/CTS0/CLKS1 P6_5/CLK1 P6_6/RXD1/SCL1 P6_7/TXD1/SDA1 P7_0/TXD2/SDA2/TA0OUT P7_1/RXD2/SCL2/TA0IN/TB5IN P7_2/CLK2/TA1OUT/V
Package: PLQP0100KB-ANOTES:
(1)
Figure 1.3 Pin Configuration (Top View) (1)
Rev.2.00 Nov 28, 2005 page 6 of 378 REJ09B0124-0200
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM) 1. Overview
Table 1.4 Pin Characteristics for 100-Pin Package (1)
Pin No.
Control
Pin Pin Pin Pin Pin
1 P9_4 TB4IN DA1
Port
2 P9_3 TB3IN DA0 3 P9_2 TB2IN SOUT3 4 P9_1 TB1IN SIN3 5 P9_0 TB0IN CLK3 6 BYTE 7 CNVSS 8 XCIN P8_7 9 XCOUT P8_6
_____________
10
RESET 11 XOUT 12 VSS 13 XIN 14 VCC1 15 P8_5 16 P8_4 17 P8_3 18 P8_2 19 P8_1 20 P8_0 TA4OUT/U (SIN4) 21 P7_7 TA3IN CRX1 22 P7_6 TA3OUT CTX1 23 P7_5 24 P7_4 TA2OUT/W (CLK4) 25 P7_3 26 P7_2 TA1OUT/V CLK2 27 P7_1 TA0IN/TB5IN RXD2/SCL2 28 P7_0 TA0OUT TXD2/SDA2 29 P6_7 TXD1/SDA1 30 P6_6 RXD1/SCL1 31 P6_5 CLK1 32 P6_4 33 P6_3 TXD0/SDA0 34 P6_2 RXD0/SCL0 35 P6_1 CLK0 36 P6_0 37 P5_7 38 P5_6 ALE 39 P5_5 40 P5_4 41 P5_3 BCLK 42 P5_2 43 P5_1 44 P5_0 45 P4_7 46 P4_6 47 P4_5 48 P4_4 49 P4_3 A19 50 P4_2 A18
Interrupt
________
NMI
_________
INT2 ZP
_________
INT1
_________
INT0
TA4IN/U
TA2IN/W (SOUT4)
TA1IN/V
Timer Pin UART Pin
___
____
___
__________ __________
CTS2/RTS2
_________ __________________
CTS1/RTS1/CTS0/CLKS1
__________ __________
CTS0/RTS0
Analog
CAN Module
_________
RDY/CLKOUT
___________
HOLD
___________
HLDA
______
RD
__________________
WRH/BHE
_________ ______
WRL/WR
_______
CS3
_______
CS2
_______
CS1
_______
CS0
Bus Control
(1)
NOTE:
1. Not available the bus control pins (except CLKOUT pin; Pin No.37) in T/V-ver..
Rev.2.00 Nov 28, 2005 page 7 of 378 REJ09B0124-0200
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM) 1. Overview
Table 1.5 Pin Characteristics for 100-Pin Package (2)
Pin No.
Control
Pin Pin Pin Pin Pin
51 P4_1 A17
Port
52 P4_0 A16 53 P3_7 A15 54 P3_6 A14 55 P3_5 A13 56 P3_4 A12 57 P3_3 A11 58 P3_2 A10 59 P3_1 A9 60 VCC2 61 P3_0 A8(/-/D7) 62 VSS 63 P2_7 AN2_7 A7(/D7/D6) 64 P2_6 AN2_6 A6(/D6/D5) 65 P2_5 AN2_5 A5(/D5/D4) 66 P2_4 AN2_4 A4(/D4/D3) 67 P2_3 AN2_3 A3(/D3/D2) 68 P2_2 AN2_2 A2(/D2/D1) 69 P2_1 AN2_1 A1(/D1/D0) 70 P2_0 AN2_0 A0(/D0/-) 71 P1_7 72 P1_6 73 P1_5 74 P1_4 D12 75 P1_3 D11 76 P1_2 D10 77 P1_1 D9 78 P1_0 D8 79 P0_7 AN0_7 D7 80 P0_6 AN0_6 D6 81 P0_5 AN0_5 D5 82 P0_4 AN0_4 D4 83 P0_3 AN0_3 D3 84 P0_2 AN0_2 D2 85 P0_1 AN0_1 D1 86 P0_0 AN0_0 D0 87 P10_7 88 P10_6 89 P10_5 90 P10_4 91 P10_3 AN3 92 P10_2 AN2 93 P10_1 AN1 94 AVSS 95 P10_0 AN0 96 VREF 97 AVCC 98 P9_7 SIN4 99 P9_6 SOUT4 ANEX1 CTX0
100 P9_5 CLK4 ANEX0 CRX0
Interrupt
_________
INT5 D15
_________
INT4 D14
_________
Timer Pin UART Pin
Analog
CAN Module
Bus Control
INT3 D13
______
KI3 AN7
______
KI2 AN6
______
KI1 AN5
______
KI0 AN4
______________
ADTRG
(1)
NOTE:
1. Not available the bus control pins in T/V-ver..
Rev.2.00 Nov 28, 2005 page 8 of 378 REJ09B0124-0200
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM) 1. Overview
PIN CONFIGURATION (top view)
P1_0/D8 P0_7/AN0_7/D7 P0_6/AN0_6/D6 P0_5/AN0_5/D5 P0_4/AN0_4/D4 P0_3/AN0_3/D3 P0_2/AN0_2/D2 P0_1/AN0_1/D1 P0_0/AN0_0/D0
P11_7/SIN6
P11_6/SOUT6
P11_5/CLK6
P11_4 P11_3
P11_2/SOUT5
P11_1/SIN5
P11_0/CLK5 P10_7/AN7/KI3 P10_6/AN6/KI2 P10_5/AN5/KI1 P10_4/AN4/KI0
P10_3/AN3 P10_2/AN2 P10_1/AN1
AVSS
P10_0/AN0
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
P1_1/D9
P1_2/D10
P1_5/D13/INT3
P1_4/D12
P1_3/D11
P1_6/D14/INT4
100101102
VREF
AVCC
P9_4/DA1/TB4IN
P9_7/ADTRG/SIN4
P9_5/ANEX0/CRX0/CLK4
P9_6/ANEX1/CTX0/SOUT4
P2_3/AN2_3/A3(/D3/D2)
P2_2/AN2_2/A2(/D2/D1)
P2_1/AN2_1/A1(/D1/D0)
P1_7/D15/INT5
P2_0/AN2_0/A0(/D0/-)
P2_4/AN2_4/A4(/D4/D3)
P14_1
P14_0
P9_3/DA0/TB3IN
P9_0/TB0IN/CLK3
P9_1/TB1IN/SIN3
P9_2/TB2IN/SOUT3
(1)
P2_5/AN2_5/A5(/D5/D4)
M16C/6N Group
BYTE
VCC2
VSS
P2_7/AN2_7/A7(/D7/D6)
P2_6/AN2_6/A6(/D6/D5)
P12_2
P12_1
P12_0
P3_0/A8(/-/D7)
(M16C/6NM)
21 22 23 24 25 26 27 28 29 3011 12 13 14 15 16 17 18 19 2012345678910
XIN
VSS
VCC1
XOUT
RESET
CNVSS
P8_7/XCIN
P8_6/XCOUT
P12_3
P12_4
P3_1/A9
P8_5/NMI
P8_3/INT1
P8_2/INT0
P8_4/INT2/ZP
P3_7/A15
P3_6/A14
P3_5/A13
P3_4/A12
P3_3/A11
P3_2/A10
737475767778798081828384858687888990919293949596979899
31 32 33 34 35 36 37
P8_1/TA4IN/U
P7_7/TA3IN/CRX1
P7_6/TA3OUT/CTX1
P8_0/TA4OUT/U(SIN4)
P7_5/TA2IN/W(SOUT4)
P4_1/A17
P4_0/A16
P7_4/TA2OUT/W(CLK4)
P7_3/CTS2/RTS2/TA1IN/V
1. P7_1 and P9_1 are N channel open-drain pins.
2. Not available the bus control pins (except CLKOUT pin) in T/V-ver..
P4_7/CS3
P4_6/CS2
P4_5/CS1
P4_3/A19
P4_2/A18
P4_4/CS0
66676869707172
65
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39
38
VCC1
P6_6/RXD1/SCL1
P6_7/TXD1/SDA1
P7_2/CLK2/TA1OUT/V
P7_0/TXD2/SDA2/TA0OUT
P7_1/RXD2/SCL2/TA0IN/TB5IN
(1)
Package: PLQP0128KB-ANOTES:
P12_5 P12_6 P12_7 P5_0/WRL/WR P5_1/WRH/BHE P5_2/RD P5_3/BCLK P13_0 P13_1 P13_2 P13_3 P5_4/HLDA P5_5/HOLD P5_6/ALE P5_7/RDY/CLKOUT P13_4 P13_5/INT6 P13_6/INT7 P13_7/INT8 P6_0/CTS0/RTS0 P6_1/CLK0 P6_2/RXD0/SCL0 P6_3/TXD0/SDA0 P6_4/CTS1/RTS1/CTS0/CLKS1 P6_5/CLK1 VSS
Figure 1.4 Pin Configuration (Top View) (2)
Rev.2.00 Nov 28, 2005 page 9 of 378 REJ09B0124-0200
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM) 1. Overview
Table 1.6 Pin Characteristics for 128-Pin Package (1)
Pin No.
Control
Pin Pin Pin Pin Pin
1 VREF
Port
2 AVCC 3 P9_7 SIN4 4 P9_6 SOUT4 ANEX1 CTX0 5 P9_5 CLK4 ANEX0 CRX0 6 P9_4 TB4IN DA1 7 P9_3 TB3IN DA0 8 P9_2 TB2IN SOUT3
9 P9_1 TB1IN SIN3 10 P9_0 TB0IN CLK3 11 P14_1 12 P14_0 13 BYTE 14 CNVSS 15 XCIN P8_7 16 XCOUT P8_6
_____________
17
RESET 18 XOUT 19 VSS 20 XIN 21 VCC1 22 P8_5 23 P8_4 24 P8_3 25 P8_2 26 P8_1 27 P8_0 TA4OUT/U (SIN4) 28 P7_7 TA3IN CRX1 29 P7_6 TA3OUT CTX1 30 P7_5 31 P7_4 TA2OUT/W (CLK4) 32 P7_3 33 P7_2 TA1OUT/V CLK2 34 P7_1 TA0IN/TB5IN RXD2/SCL2 35 P7_0 TA0OUT TXD2/SDA2 36 P6_7 TXD1/SDA1 37 VCC1 38 P6_6 RXD1/SCL1 39 VSS 40 P6_5 CLK1 41 P6_4 42 P6_3 TXD0/SDA0 43 P6_2 RXD0/SCL0 44 P6_1 CLK0 45 P6_0 46 P13_7 47 P13_6 48 P13_5 49 P13_4 50 P5_7
Interrupt
________
NMI
_________
INT2 ZP
_________
INT1
_________
INT0
TA4IN/U
TA2IN/W (SOUT4)
TA1IN/V
_________
INT8
_________
INT7
_________
INT6
Timer Pin UART Pin
___
____
___
__________ __________
CTS2/RTS2
_________ __________________
CTS1/RTS1/CTS0/CLKS1
__________ __________
CTS0/RTS0
Analog
______________
ADTRG
CAN Module
_________
RDY/CLKOUT
Bus Control
(1)
NOTE:
1. Not available the bus control pins (except CLKOUT pin; Pin No.50) in T/V-ver..
Rev.2.00 Nov 28, 2005 page 10 of 378 REJ09B0124-0200
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM) 1. Overview
Table 1.7 Pin Characteristics for 128-Pin Package (2)
Pin No.
Control
Pin Pin Pin Pin Pin
51 P5_6 ALE
Port
52 P5_5 53 P5_4 54 P13_3 55 P13_2 56 P13_1 57 P13_0 58 P5_3 BCLK 59 P5_2 60 P5_1 61 P5_0 62 P12_7 63 P12_6 64 P12_5 65 P4_7 66 P4_6 67 P4_5 68 P4_4 69 P4_3 A19 70 P4_2 A18 71 P4_1 A17 72 P4_0 A16 73 P3_7 A15 74 P3_6 A14 75 P3_5 A13 76 P3_4 A12 77 P3_3 A11 78 P3_2 A10 79 P3_1 A9 80 P12_4 81 P12_3 82 P12_2 83 P12_1 84 P12_0 85 VCC2 86 P3_0 A8(/-/D7) 87 VSS 88 P2_7 AN2_7 A7(/D7/D6) 89 P2_6 AN2_6 A6(/D6/D5) 90 P2_5 AN2_5 A5(/D5/D4) 91 P2_4 AN2_4 A4(/D4/D3) 92 P2_3 AN2_3 A3(/D3/D2) 93 P2_2 AN2_2 A2(/D2/D1) 94 P2_1 AN2_1 A1(/D1/D0) 95 P2_0 AN2_0 A0(/D0/-) 96 P1_7 97 P1_6 98 P1_5 99 P1_4 D12
100 P1_3 D11
Interrupt
Timer Pin UART Pin
Analog
CAN Module
___________
HOLD
___________
Bus Control
HLDA
______
RD
__________________
WRH/BHE
_________ ______
WRL/WR
_______
CS3
_______
CS2
_______
CS1
_______
CS0
_________
INT5 D15
_________
INT4 D14
_________
INT3 D13
(1)
NOTE:
1. Not available the bus control pins in T/V-ver..
Rev.2.00 Nov 28, 2005 page 11 of 378 REJ09B0124-0200
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM) 1. Overview
Table 1.8 Pin Characteristics for 128-Pin Package (3)
Pin No.
101 P1_2 D10
Control
Pin Pin Pin Pin Pin
Port
102 P1_1 D9 103 P1_0 D8 104 P0_7 AN0_7 D7 105 P0_6 AN0_6 D6 106 P0_5 AN0_5 D5 107 P0_4 AN0_4 D4 108 P0_3 AN0_3 D3 109 P0_2 AN0_2 D2 110 P0_1 AN0_1 D1 111 P0_0 AN0_0 D0 112 P11_7 SIN6 113 P11_6 SOUT6 114 P11_5 CLK6 115 P11_4 116 P11_3 117 P11_2 SOUT5 118 P11_1 SIN5 119 P11_0 CLK5 120 P10_7 121 P10_6 122 P10_5 123 P10_4 124 P10_3 AN3 125 P10_2 AN2 126 P10_1 AN1 127 AVSS 128 P10_0 AN0
Interrupt
______
KI3 AN7
______
KI2 AN6
______
KI1 AN5
______
Timer Pin UART Pin
Analog
KI0 AN4
CAN Module
Bus Control
(1)
NOTE:
1. Not available the bus control pins in T/V-ver..
Rev.2.00 Nov 28, 2005 page 12 of 378 REJ09B0124-0200
Loading...
+ 374 hidden pages