st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 193

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
The comparator output is processed by a detector that automatically recognizes the D or Z
event, depending on the CPB or ZVD edge and level configuration bits as described in
Table
To avoid wrong detection of D and Z events, a blanking window filter is implemented for
spike filtering. In addition, by means of an event counter, software can filter several
consecutive events up to a programmed limit before generating the D or Z event internally.
This is shown in
D event detection
In sensorless mode, the D window filter becomes active after each C event. It blanks out the
D event during the time window defined by the DWF[3:0] bits in the MDFR register (see
Table
This window filter becomes active after both hardware and software C events.
The D event filter becomes active after the D window filter. It counts the number of
consecutive D events up to a limit defined by the DEF[3:0] bits in the MDFR register. The
reset value is 1. The D bit is set when the counter limit is reached.
Sampling is done at a selectable frequency (f
The D event filter is active only for a hardware D event (D
forced to 1.
Figure 80. D window and event filter flowchart
88.
84). The reset value is 200µs.
Figure 80
and
Reset counter
Figure
No
No
No
Increment counter
81.
Counter = limit?
End of blanking
Set the D bit
Yes
Sampling
window?
D event?
C
SCF
Yes
), see
No
Yes
Window
Table
filter
Limit = 1?
H
). For a simulated (D
Event
filter
Yes
166.
On-chip peripherals
S
) event, it is
193/371

Related parts for st7pmc2s6