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

HD6417709SF133B 参数 Datasheet PDF下载

HD6417709SF133B图片预览
型号: HD6417709SF133B
PDF下载: 下载PDF文件 查看货源
内容描述: 瑞萨32位RISC单片机超级RISC引擎族/ SH7700系列 [Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series]
分类和应用: 微控制器和处理器外围集成电路时钟
文件页数/大小: 807 页 / 4409 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号HD6417709SF133B的Datasheet PDF文件第258页浏览型号HD6417709SF133B的Datasheet PDF文件第259页浏览型号HD6417709SF133B的Datasheet PDF文件第260页浏览型号HD6417709SF133B的Datasheet PDF文件第261页浏览型号HD6417709SF133B的Datasheet PDF文件第263页浏览型号HD6417709SF133B的Datasheet PDF文件第264页浏览型号HD6417709SF133B的Datasheet PDF文件第265页浏览型号HD6417709SF133B的Datasheet PDF文件第266页  
9.8  
Using the WDT  
9.8.1  
Canceling Standby  
The WDT can be used to cancel standby mode with an NMI or other interrupt. The procedure is  
described below. (The WDT does not run when a reset is used for canceling, so keep the RESET  
pin low until the clock stabilizes.)  
1. Before transitioning to standby mode, always clear the TME bit in WTCSR to 0. When the  
TME bit is 1, an erroneous reset or interval timer interrupt may be generated when the count  
overflows.  
2. Set the type of count clock used in the CKS2–CKS0 bits in WTCSR and the initial values for  
the counter in the WTCNT counter. These values should ensure that the time till count  
overflow is longer than the clock oscillation settling time.  
3. Switch to standby mode by executing a SLEEP instruction to stop the clock.  
4. The WDT starts counting by detecting the edge change of the NMI signal or detecting  
interrupts.  
5. When the WDT count overflows, the CPG starts supplying the clock and the processor  
resumes operation. The WOVF flag in WTCSR is not set when this happens.  
6. Since the WDT continues counting from H'00, set the STBY bit in the STBCR register to 0 in  
the interrupt handling routine and this will stop the WDT. When the STBY bit remains at 1,  
the SH7709S again enters standby mode when the WDT has counted up to H'80. This standby  
mode can be canceled by a power-on reset.  
9.8.2  
Changing the Frequency  
To change the frequency used by the PLL, use the WDT. When changing the frequency only by  
switching the divider, do not use the WDT.  
1. Before changing the frequency, always clear the TME bit in WTCSR to 0. When the TME bit  
is 1, an erroneous reset or interval timer interrupt may be generated when the count overflows.  
2. Set the type of count clock used in the CKS2–CKS0 bits of WTCSR and the initial values for  
the counter in the WTCNT counter. These values should ensure that the time till count  
overflow is longer than the clock oscillation settling time.  
3. When the frequency control register (FRQCR) is written to, the clock stops and the processor  
enters standby mode temporarily. The WDT starts counting.  
4. When the WDT count overflows, the CPG resumes supplying the clock and the processor  
resumes operation. The WOVF flag in WTCSR is not set when this happens.  
5. The counter stops at a value of H'00 or H'01. The stop value depends on the clock ratio.  
Rev. 5.00, 09/03, page 218 of 760  
 复制成功!