st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 189

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
10.6.6
Input detection block
This block can operate in position sensor mode, in sensorless mode or in speed sensor
mode. The mode is selected via the SR bit in the MCRA register and the TES[1:0] bits in
MPAR register (refer to
Figure 79
speed sensor mode (TES[1:0] = 01, 10, 11).
Input pins
The MCIA, MCIB and MCIC input pins can be used as analog or as digital pins.
Due to the presence of diodes, these pins can permanently support an input current of 5mA.
In sensorless mode, this feature enables the inputs to be connected to each motor phase
through a single resistor.
A multiplexer, programmed by the IS[1:0] bits in the MPHST register selects the input pins
and connects them to the control logic in either sensorless or tachogenerator mode. In
encoder mode, it is mandatory to connect sensor digital outputs to the MCIA and MCIB pins.
In sensorless mode, the analog inputs are used to measure the BEMF zero crossing
and to detect the end of demagnetization if required.
In sensor mode, the analog inputs are used to get the hall sensor information.
In speed sensor mode (example, tachogenerator), the inputs are used as digital pins.
When using an AC tachogenerator, a small external circuit may be needed to convert
the incoming signal into a square wave signal which can be treated by the MTC.
for the position sensor/sensorless modes (TES[1:0 = 00) and in
Table 93
for set-up information). The block diagram is shown in
On-chip peripherals
Figure 89
189/371
for the

Related parts for st7pmc2s6