| 数据搜索系统,热门电子元器件搜索 |
|
AN1131 数据表(PDF) 9 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1131 数据表(HTML) 9 Page - STMicroelectronics |
|
9 / 17 page ![]() 9/17 MIGRATING APPLICATIONS FROM ST72511/311/314/124 TO ST72521/321/324 Figure 2. Exact Timeout Duration (tmin and tmax) Note: The timing variation shown in Figure 2 is due to the unknown status of the prescaler when writing to the WDGCR register. WHERE: tmin0 = (LSB + 128) x 64 x tOSC2 tmax0 = 16384 x tOSC2 tOSC2 = 125ns if fOSC2=8 MHz CNT = Value of T[6:0] bits in the WDGCR register (7 bits) MSB and LSB are values from the table below depending on the timebase selected by the TB[1:0] bits in the MCCSR register To calculate the minimum Watchdog Timeout (tmin): IF THEN ELSE To calculate the maximum Watchdog Timeout (tmax): IF THEN ELSE Note: In the above formulae, division results must be rounded down to the next integer value. Example: With 2ms timeout selected in MCCSR register TB1 Bit (MCCSR Reg.) TB0 Bit (MCCSR Reg.) Selected MCCSR Timebase MSB LSB 0 0 2ms 4 59 0 1 4ms 8 53 1 0 10ms 20 35 1 1 25ms 49 54 Value of T[6:0] Bits in WDGCR Register (Hex.) Min. Watchdog Timeout (ms) tmin Max. Watchdog Timeout (ms) tmax 00 1.496 2.048 3F 128 128.552 CNT MSB 4 ------------- < t min t min0 16384 CNT t osc2 × × + = t min t min0 16384 CN T 4 CNT MSB ----------------- – × 192 L SB + () 64 4CNT MSB ----------------- × × + t osc2 × + = CNT MSB 4 ------------- ≤ t max t m ax0 16384 CNT t osc2 × × + = t max t m ax0 16384 C NT 4CNT MSB ----------------- – × 192 LSB + () 64 4CNT MS B ----------------- × × + t o sc2 × + = |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |