Resumo do conteúdo contido na página número 1
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
Resumo do conteúdo contido na página número 2
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- fl
Resumo do conteúdo contido na página número 3
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 *1 0 0 Symbol Address After Reset *5 XXX XXX 00h Bit Bit Name Function RW Symbol b1b0 *2 XXX0 0 0: XXX
Resumo do conteúdo contido na página número 4
3. M16C Family Documents (1) 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 periphe
Resumo do conteúdo contido na página número 5
Table of Contents SFR Page Reference ............................................................................................................ B-1 1. Overview ............................................................................................................................... 1 1.1 Applications ..................................................................................................................................................1 1.2 Performance Outline ...................
Resumo do conteúdo contido na página número 6
7.2 Bus Control ................................................................................................................................................46 7.2.1 Address Bus .......................................................................................................................................46 7.2.2 Data Bus ............................................................................................................................................46 7.2.3 Chip Select Signa
Resumo do conteúdo contido na página número 7
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 ...........................................
Resumo do conteúdo contido na página número 8
16. A/D Converter.................................................................................................................. 202 16.1 Mode Description ...................................................................................................................................206 16.1.1 One-shot Mode ..............................................................................................................................206 16.1.2 Repeat Mode .....................................
Resumo do conteúdo contido na página número 9
20. Programmable I/O Ports ................................................................................................. 247 20.1 PDi Register ........................................................................................................................................... 248 20.2 Pi Register, PC14 Register .................................................................................................................... 248 20.3 PURj Register .....................................
Resumo do conteúdo contido na página número 10
23.9 DMAC ....................................................................................................................................................349 23.9.1 Write to DMAE Bit in DMiCON Register ........................................................................................ 349 23.10 Timers .................................................................................................................................................. 350 23.10.1 Timer A .....................
Resumo do conteúdo contido na página número 11
SFR Page Reference Address Register Symbol Page Address Register Symbol Page 0000h 0040h CAN0/1 Wake-up Interrupt Control Register C01WKIC 86 0041h 0001h 0042h CAN0 Successful Reception Interrupt Control Register C0RECIC 86 0002h 0043h CAN0 Successful Transmission Interrupt Control Register C0TRMIC 86 0003h 0044h INT3 Interrupt Control Register INT3IC 87 0004h Processor Mode Register 0 PM0 40 Timer B5 Interrupt Control Register TB5IC 86 0045h 0005h Processor Mode Register 1 PM1 41 SI/O5 Interrup
Resumo do conteúdo contido na página número 12
Address Register Symbol Page Address Register Symbol Page 0080h 00C0h 0081h 00C1h 0082h 00C2h CAN0 Message Box 2: Identifier / DLC CAN0 Message Box 6: Identifier / DLC 0083h 00C3h 0084h 00C4h 0085h 00C5h 0086h 00C6h 0087h 00C7h 0088h 00C8h 0089h 00C9h CAN0 Message Box 2: Data Field CAN0 Message Box 6: Data Field 008Ah 00CAh 008Bh 00CBh 008Ch 00CCh 008Dh 00CDh 008Eh 00CEh CAN0 Message Box 2: Time Stamp CAN0 Message Box 6: Time Stamp 008Fh 00CFh 0090h 00D0h 0091h 00D1h 0092h 00D2h CAN0 Message Box
Resumo do conteúdo contido na página número 13
Address Register Symbol Page Address Register Symbol Page 0100h 0140h 0101h 0141h 0102h 0142h CAN0 Message Box 10: Identifier / DLC CAN0 Message Box 14: Identifier /DLC 0103h 0143h 0104h 0144h 0105h 0145h 0106h 0146h 0107h 0147h 0108h 0148h 0109h 0149h CAN0 Message Box 10: Data Field CAN0 Message Box 14: Data Field 010Ah 014Ah 010Bh 014Bh 010Ch 014Ch 010Dh 014Dh 010Eh 014Eh CAN0 Message Box 10: Time Stamp CAN0 Message Box 14: Time Stamp 010Fh 014Fh 225 0110h 0150h 226 0111h 0151h 0112h 0152h CAN
Resumo do conteúdo contido na página número 14
Address Register Symbol Page Address Register Symbol Page 0180h 01C0h TBSR 132 Timer B3, B4, B5 Count Start Flag 0181h 01C1h 0182h 01C2h TA11 143 Timer A1-1 Register 0183h 01C3h 0184h 01C4h TA21 143 Timer A2-1 Register 0185h 01C5h 0186h 01C6h TA41 143 Timer A4-1 Register 0187h 01C7h 0188h 01C8h Three-Phase PWM Control Register 0 INVC0 140 0189h 01C9h Three-Phase PWM Control Register 1 INVC1 141 018Ah 01CAh Three-Phase Output Buffer Register 0 IDB0 142 018Bh 01CBh Three-Phase Output Buffer Regist
Resumo do conteúdo contido na página número 15
Address Register Symbol Page Address Register Symbol Page 0200h 0240h CAN0 Message Control Register 0 C0MCTL0 0201h CAN0 Message Control Register 1 C0MCTL1 0241h 0202h CAN0 Message Control Register 2 C0MCTL2 0242h C0AFS 233 CAN0 Acceptance Filter Support Register 0203h CAN0 Message Control Register 3 C0MCTL3 0243h 0204h CAN0 Message Control Register 4 C0MCTL4 0244h C1AFS 233 CAN1 Acceptance Filter Support Register 0205h CAN0 Message Control Register 5 C0MCTL5 0245h 0206h CAN0 Message Control Reg
Resumo do conteúdo contido na página número 16
Address Register Symbol Page Address Register Symbol Page 0280h 02C0h 0281h 02C1h 0282h 02C2h CAN1 Message Box 2: Identifier / DLC CAN1 Message Box 6: Identifier / DLC 0283h 02C3h 0284h 02C4h 0285h 02C5h 0286h 02C6h 0287h 02C7h 0288h 02C8h 0289h 02C9h CAN1 Message Box 2: Data Field CAN1 Message Box 6: Data Field 028Ah 02CAh 028Bh 02CBh 028Ch 02CCh 028Dh 02CDh 028Eh 02CEh CAN1 Message Box 2: Time Stamp CAN1 Message Box 6: Time Stamp 028Fh 02CFh 0290h 02D0h 0291h 02D1h 0292h 02D2h CAN1 Message Box
Resumo do conteúdo contido na página número 17
Address Register Symbol Page Address Register Symbol Page 0300h 0340h 0301h 0341h 0302h 0342h CAN1 Message Box 10: Identifier / DLC CAN1 Message Box 14: Identifier / DLC 0303h 0343h 0304h 0344h 0305h 0345h 0306h 0346h 0307h 0347h 0308h 0348h 0309h 0349h CAN1 Message Box 10: Data Field CAN1 Message Box 14: Data Field 030Ah 034Ah 030Bh 034Bh 030Ch 034Ch 030Dh 034Dh 030Eh 034Eh CAN1 Message Box 10: Time Stamp CAN1 Message Box 14: Time Stamp 030Fh 034Fh 225 0310h 0350h 226 0311h 0351h 0312h 0352h
Resumo do conteúdo contido na página número 18
Address Register Symbol Page Address Register Symbol Page 0380h TABSR 117,132,145 03C0h Count Start Flag AD0 A/D Register 0 0381h CPSRF 118,132 03C1h Clock Prescaler Reset Flag 0382h One-Shot Start Flag ONSF 118 03C2h AD1 A/D Register 1 0383h Trigger Select Register TRGSR 118,145 03C3h 0384h Up/Down Flag UDF 117 03C4h AD2 A/D Register 2 0385h 03C5h 0386h 03C6h Timer A0 Register TA0 116 AD3 A/D Register 3 0387h 03C7h 205 0388h 116 03C8h Timer A1 Register AD4 TA1 A/D Register 4 0389h 143 03C9h 038
Resumo do conteúdo contido na página número 19
Under development This document is under development and its contents are subject to change M16C/6N Group (M16C/6NK, M16C/6NM) SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Rev.2.00 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 f
Resumo do conteúdo contido na página número 20
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) Performance 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 1/1