st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 205

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
Note:
2
1
For complete flexibility, the possibility of sampling at f
of the PWM signal is also available when the SPLG bit is set as if there is a delay value in
the DS[3:0] bits. This means that when the sampling is to be performed, after the delay a
sampling window at f
The sampling out interrupt is generated if the delay added is longer than the duty cycle of
the PWM signal. As the SPLG bit is set and a value has been put in the DS[3:0] bits, no
minimum off time is required for the PWM signal and it is automatically set to 0µs in current
mode. A true 100% duty cycle can be also set in the 12-bit Timer in voltage mode.
shows in detail the sampling at f
Figure 85. Adding the delay to sample during ON time for Z detection
Figure 86. Sampling out interrupt generation
In conclusion, there are four sampling types that are available for Z event detection in
sensorless mode.
1.
2.
3.
4.
The sampling type is applied only for Z event detection after the D event has occurred.
Whatever the sampling type for Z event detection, the sampling of the signal for D event
detection is always done at the selected f
the PWM signal (either during ON or OFF time).
types in sensorless and in sensor mode.
When the MOE bit in the MCRA register is reset (MCOx outputs in reset state), and the SR
bit in the MCRA register is reset (sensorless mode) and the SPLG bit in the MCRC register
Sampling at the end of the OFF time of the PWM signal at the PWM frequency.
Sampling, at a programmable frequency independent of the PWM state (during ON
time or OFF time of the signal). Sampling is done at f
Sampling during the ON time of the PWM signal by adding a delay at PWM frequency.
Sampling, at a programmable frequency during the ON time (addition of a
programmable delay) of the PWM signal. Sampling is done at f
PWM signal
PWM signal
T
PWM OFF time
SCF
Sampling
frequency is opened until the next OFF time of the PWM signal.
T
SCF
Sampling
PWM OFF time
Current sample
high frequency during ON time.
DS[3:0]
SCF
DS[3:0]
frequency (see
Current sample
Table 92
SO
DS[3:0]
SCF
high frequency during the ON time
New sample
explains the different sampling
SCF
SO
New sample during next OFF time.
Sample not taken into account.
SO interrupt generated.
Table
(see
To interrupt generator
166), independently of
Table
SCF
On-chip peripherals
(see
166).
Table
Figure 87
166).
205/371

Related parts for st7pmc2s6