欢迎访问ic37.com |
会员登录 免费注册
发布采购

W90N745CDG 参数 Datasheet PDF下载

W90N745CDG图片预览
型号: W90N745CDG
PDF下载: 下载PDF文件 查看货源
内容描述: 16位/ 32位ARM微控制器 [16/32-bit ARM microcontroller]
分类和应用: 微控制器和处理器外围集成电路时钟
文件页数/大小: 422 页 / 2455 K
品牌: WINBOND [ WINBOND ]
 浏览型号W90N745CDG的Datasheet PDF文件第82页浏览型号W90N745CDG的Datasheet PDF文件第83页浏览型号W90N745CDG的Datasheet PDF文件第84页浏览型号W90N745CDG的Datasheet PDF文件第85页浏览型号W90N745CDG的Datasheet PDF文件第87页浏览型号W90N745CDG的Datasheet PDF文件第88页浏览型号W90N745CDG的Datasheet PDF文件第89页浏览型号W90N745CDG的Datasheet PDF文件第90页  
W90N745CD/W90N745CDG  
Instruction Cache Load and Lock  
The W90N745 supports a cache-locking feature that can be used to lock critical sections of code into I-  
Cache to guarantee quick access. Lockdown can be performed with a granularity of one cache line. The  
smallest space, which can be locked down, is 4 words. After a line is locked, it operates as a regular  
instruction SRAM. Lines locked are not replaced during misses and not affected by flush per line  
command.  
To load and lock instruction, the following sequence should be followed:  
1.  
2.  
3.  
4.  
5.  
Write the start address of the instructions to be locked into CAHADR register.  
Set LDLK and ICAH bits in the CAHCON register.  
Increased the address by 16 and written into CAHADR register.  
Set LDLK and ICAH bits in the CAHCON register.  
Repeat the steps 3 and 4, until the desired instructions are all locked.  
When using I-Cache load and lock command, there are some notes should be cared.  
y
The programs executing load and lock operation should be held in a non-  
cacheable area of memory.  
y
y
The cache should be enabled and interrupts should be disabled.  
Software must flush the cache before execute load and lock to ensure that the  
code to be locked down is not already in the cache.  
Instruction Cache Unlock  
The unlock operation is used to unlock previously locked cache lines. After unlock, the “L” bit of the line  
is cleared to “0”. W90N745 has two unlock command, unlock line and unlock all.  
The unlock line operation is performed on a cache line granularity. In case the line is found in the cache,  
it is unlocked and starts to operate as a regular valid cache line. In case the line is not found in the  
cache, no operation is done and the command terminates with no exception. To unlock one line the  
following unlock line sequence should be followed:  
1.  
2.  
Write the address of the line to be unlocked into the CAHADR Register.  
Set the ULKS and ICAH bits in the CAHCON register.  
The unlock all operation is used to unlock the whole I-Cache. This operation is performed on all cache  
lines. In case a line is locked, it is unlocked and starts to operate as regular valid cache line. In case a  
line is not locked or if it is invalid, no operation is performed. To unlock the whole cache, set the ULKA  
and ICAH bits.  
Publication Release Date: September 22, 2006  
- 81 -  
Revision A2  
 复制成功!