st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 89

no-image

st7pmc2s6

Manufacturer Part Number
st7pmc2s6
Description
8-bit Mcu For Automotive With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, 5 Timers, Spi, Linsci?
Manufacturer
STMicroelectronics
Datasheet
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
Figure 32. Exact timeout duration (t
WHERE:
t
t
t
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 registe
To calculate the minimum watchdog timeout (t
IF
ELSE
To calculate the maximum watchdog timeout (t
IF
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
min0
max0
OSC2
Value of T[5:0] bits in WDGCR register (Hex.)
CNT
CNT
TB1 bit (MCCSR reg.)
= (LSB + 128) x 64 x t
t max
= 16384 x t
= 125ns if f
t
min
<
MSB
-------------
MSB
-------------
=
4
=
4
0
0
1
1
t max0
t
min0
OSC2
OSC2
+
+
= 8 MHz
THEN
THEN
00
3F
16384
16384
OSC2
t min
t max
TB0 bit (MCCSR reg.)
CNT
CNT
=
=
t min0
t max0
4CNT
---------------- -
MSB
4CNT
---------------- -
0
1
0
1
MSB
+
+
16384
min
16384
min
max
+
+
and t
):
Min. watchdog timeout (ms) t
):
192
192
CNT
CNT
+
+
max
LSB
LSB
t osc2
)
Selected MCCSR timebase
t osc2
1.496
128
64
64
4CNT
---------------- -
MSB
4CNT
---------------- -
10ms
25ms
MSB
2ms
4ms
min
t osc2
t
osc2
Max. watchdog timeout (ms) t
MSB
20
49
128.552
4
8
On-chip peripherals
2.048
LSB
59
53
35
54
max
r
89/371

Related parts for st7pmc2s6