Precautions; Sfr; For 80-Pin And 85-Pin Package; For 64-Pin Package - Renesas M16C FAMILY series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY series:
Table of Contents

Advertisement

M
1
6
C
2 /
8
G
o r
u
p
(
M
1
6
C

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 "011
".
2

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 "010
".
2

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 "0021
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:
R
e
. v
2
0 .
0
J
a
. n
3
, 1
2
0
0
7
R
E
J
0
9
B
0
0
4
7
0 -
2
0
0
2 /
, 8
M
1
6
C
2 /
8
) B
"
16
MOV.B
#00100001b, LPCC0
BSET
PRC0
MOV.B
#00001000b, LPCC1
BCLR
PRC0
page 350
f o
3
8
5
;
; Write enabled
;
; Write disabled
20. Precautions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tiny seriesM16c series

Table of Contents