Auto Page CPX-3600 Specifikace Strana 79

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 243
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 78
ST72321xx-Auto Watchdog timer (WDG)
Doc ID 13829 Rev 1 79/243
Figure 33. Exact timeout duration (t
min
and t
max
)
WHERE:
t
min0
= (LSB + 128) x 64 x t
OSC2
t
max0
= 16384 x t
OSC2
t
OSC2
= 125ns if f
OSC2
=8 MHz
CNT = Value of T[5:0] bits in the WDGCR register (6 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 (t
min
):
IF THEN
ELSE
To calculate the maximum Watchdog Timeout (t
max
):
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[5:0] bits in
WDGCR register (Hex.)
Min. Watchdog
Timeout (ms)
t
min
Max. Watchdog
Timeout (ms)
t
max
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 CNT
4CNT
MSB
-----------------


192 LSB+64
4CNT
MSB
-----------------
+ t
osc2
+=
CNT
MSB
4
-------------
t
max
t
max0
16384 CNT t
osc2
+=
t
max
t
max0
16384 CNT
4CNT
MSB
-----------------


192 LSB+64
4CNT
MSB
-----------------
+ t
osc2
+=
Zobrazit stránku 78
1 2 ... 74 75 76 77 78 79 80 81 82 83 84 ... 242 243

Komentáře k této Příručce

Žádné komentáře