R0K572011S000BE Renesas Electronics America, R0K572011S000BE Datasheet - Page 214

no-image

R0K572011S000BE

Manufacturer Part Number
R0K572011S000BE
Description
KIT STARTER FOR SH7201
Manufacturer
Renesas Electronics America
Series
Renesas Starter Kits (RSK)r
Type
MCUr

Specifications of R0K572011S000BE

Contents
CPU Board, LCD Display Module, E8 Emulator, Cable, QuickStart Guide and CD-ROM
For Use With/related Products
SH7201
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Section 8 Cache
8.2.2
CCR2 is used to enable or disable the cache locking function for operand cache and is valid in
cache locking mode only. In cache locking mode, the lock enable bit (the LE bit) in CCR2 is set to
1. In non-cache-locking mode, the cache locking function is invalid.
When a cache miss occurs in cache locking mode by executing the prefetch instruction (PREF
@Rn), the line of data pointed to by Rn is loaded into the cache according to bits 9 and 8 (the
W3LOAD and W3LOCK bits) and bits 1 and 0 (the W2LOAD and W2LOCK bits) in CCR2. The
relationship between the setting of each bit and a way, to be replaced when the prefetch instruction
is executed, are listed in table 8.3. On the other hand, when the prefetch instruction is executed
and a cache hit occurs, new data is not fetched and the entry which is already enabled is held. For
example, when the prefetch instruction is executed with W3LOAD = 1 and W3LOCK = 1
specified in cache locking mode while one-line data already exists in way 0 which is specified by
Rn, a cache hit occurs and data is not fetched to way 3.
In the cache access other than the prefetch instruction in cache locking mode, ways to be replaced
by bits W3LOCK and W2LOCK are restricted. The relationship between the setting of each bit in
CCR2 and ways to be replaced are listed in table 8.4.
Programs that change the contents of CCR2 should be placed in an address space that is not
cached, and an address space that is cached should be accessed after reading the contents of
CCR2.
CCR2 is initialized to H'00000000 by a power-on reset and in deep standby but not initialized by a
manual reset or in software standby mode.
Page 186 of 1190
Initial value:
Initial value:
Note:
R/W:
R/W:
*
Bit:
Bit:
The W3LOAD and W2LOAD bits should not be set to 1 at the same time.
Cache Control Register 2 (CCR2)
31
15
R
R
0
0
30
14
R
R
0
0
29
13
R
R
0
0
28
12
R
R
0
0
27
11
R
R
0
0
26
10
R
R
0
0
LOAD*
R/W
W3
25
R
0
9
0
LOCK
R/W
W3
24
R
0
8
0
23
R
R
0
7
0
22
R
R
0
6
0
21
R
R
0
5
0
20
R
R
0
4
0
R01UH0026EJ0300 Rev. 3.00
19
R
R
0
3
0
18
R
R
0
2
0
SH7201 Group
LOAD*
R/W
17
W2
Sep 24, 2010
R
0
1
0
LOCK
R/W
R/W
W2
16
LE
0
0
0

Related parts for R0K572011S000BE