English
Language : 

M16C28 Datasheet, PDF (370/423 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES
M16C/28 Group (M16C/28, M16C/28B)
20. Precautions
20. Precautions
20.1 SFR
20.1.1 For 80-Pin and 85-Pin Package
Set the IFSR20 bit in the IFSR2A register to "1" after reset and set the PACR2 to PACR0 bits in the PACR
register to "0112".
20.1.2 For 64-Pin Package
Set the IFSR20bit in the IFSR2A register to "1" after reset and set the PACR2 to PACR0 bits in the PACR
register to "0102".
22.1.3 Register Setting
Immediate values should be set in the registers containing write-only bits. When establishing a new value
by modifying a previous value, write the previous value into RAM as well as the register. Change the
contents of the RAM and then transfer the new value to the register.
20.1.4 For Flash Memory (128K+4K) Version and Mask ROM Version
When setting flash memory (128K+4K) version and Mask ROM version, follow the procedure below to set
the LPCC0 and LPCC1 registers after reset.
1) Set the LPCC0 register to "002116"
2) Set the PRC0 bit in the PRCR register to "1"
3) Set the LPCC13 bit in the LPCC1 register to "1"
4) Set the PRC0 bit to "0"
Example: MOV.B #00100001b, LPCC0 ;
BSET
PRC0
; Write enabled
MOV.B #00001000b, LPCC1 ;
BCLR
PRC0
; Write disabled
Rev. 2.00 Jan. 31, 2007 page 350 of 385
REJ09B0047-0200