欢迎访问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文件第84页浏览型号W90N745CDG的Datasheet PDF文件第85页浏览型号W90N745CDG的Datasheet PDF文件第86页浏览型号W90N745CDG的Datasheet PDF文件第87页浏览型号W90N745CDG的Datasheet PDF文件第89页浏览型号W90N745CDG的Datasheet PDF文件第90页浏览型号W90N745CDG的Datasheet PDF文件第91页浏览型号W90N745CDG的Datasheet PDF文件第92页  
W90N745CD/W90N745CDG  
Write HitData is written into both the cache and write buffer. The processor then continues to access  
the cache, while the cache controller simultaneously downloads the contents of the write buffer to main  
memory. This reduces the effective write memory cycle time from the time required for a main memory  
cycle to the cycle time of the high-speed cache.  
Write MissData is only written into write buffer, not to the cache (write no allocate).  
Data Cache Flushing  
The W90N745 allows flushing of the data cache under software control. The data cache may be  
invalidated through writing flush line (FLHS) or flush all (FLHA) commands to the CAHCON register.  
Flushing the entire D-Cache also flushed any locked down code. As flushing the data cache, the “V” bit  
of the line is cleared to “0”. The D-cache is automatically flushed during reset.  
Data Cache Load and Lock  
The W90N745 supports a cache-locking feature that can be used to lock critical sections of data into D-  
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. The locked lines are not replaced during misses and it is not affected by flush per line  
command.  
To load and lock data, the following sequence should be followed:  
1.  
2.  
3.  
4.  
5.  
Write the start address of the data to be locked into CAHADR register.  
Set LDLK and DCAH bits in the CAHCON register.  
Increased the address by 16 and written into CAHADR register.  
Set LDLK and DCAH bits in the CAHCON register.  
Repeat the steps 3 and 4, until the desired data are all locked.  
When using D-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  
data to be locked down is not already in the cache.  
Data 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 DCAH bits in the CAHCON register.  
Publication Release Date: September 22, 2006  
Revision A2  
- 83 -  
 复制成功!