st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 212

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
On-chip peripherals
Note on using the three MCIx pins as standard I/Os: When none of the MCIx pins are needed in the
application (for instance when driving an induction motor in open loop), they can be used as standard I/O
ports, by configuring the motor controller as follows: PCN = 1, TES
MCIx alternate functions and switches off the phase comparator. The state of the MCIx pins is
summarized in
Table 94.
1. When PCN = 0, TES = 0 SR = 0, inputs in OFF-state are put in HiZ or grounded depending on the value of the DISS bit in
2. Analog input: based on analog comparator and analog voltage reference. The corresponding digital I/O is disabled and
3. Digital input: use of standard V
212/371
PCN
0
1
the MSCR register.
data in the DR register is not representative of data on the input.
TES
00
00
00
0
MCIx pin configuration summary
SR IS[1:0]
0
1
x
x
x
Table 94 on page
00
01
10
11
00
01
10
11
00
01
10
11
00
01
10
11
xx
Standard
Standard
Standard
Standard
Standard
Standard
Standard
Standard
Analog
input
Analog
input
Analog
input
input
input
Hi-Z or
Hi-Z or
Digital
Digital
MCIA
IL
GND
GND
NA
I/O
I/O
I/O
NA
I/O
I/O
I/O
I/O
I/O
, V
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
IH
(2)
(2)
(2)
(3)
(3)
I/O level. This input can also be read via the associated I/O port.
212.
Standard
Standard
Standard
Standard
Standard
Standard
Standard
Standard
Analog
input
Analog
input
Analog
input
input
input
Hi-Z or
Hi-Z or
Digital
Digital
MCIB
GND
GND
NA
NA
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
(2)
(2)
(2)
(3)
(3)
Standard
Standard
Standard
Standard
Standard
Standard
Standard
Standard
Standard
Hi-Z or
Hi-Z or
Analog
input
Analog
input
Analog
input
input
Digital
MCIC
(1)
GND
GND
NA
I/O
I/O
I/O
NA
I/O
I/O
I/O
I/O
I/O
I/O
(2)
(2)
(2)
(3)
Input detection
Position sensor
tachogenerator
Speed sensor
Speed sensor
block mode
Sensorless
encoder
NA
NA
-
-
-
0 and IS = 11. This disables the
All MCIx pins are reserved for
the MTC peripheral.
From 1 to 3 MCIx pins reserved
depending on sensor
All MCIx pins are standard I/Os.
Phase comparator is OFF
Phase comparator is ON. The
IS[1:0] bits must not be modified
to avoid spurious event detection
in motor controller
All MCIx pins are standard I/Os.
Recommended configuration:
phase comparator OFF
Phase comparator is OFF
Comments

Related parts for st7pmc2s6