st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 285

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
Table 160. MCONF register description (continued)
1. Times are indicated for 4 MHz f
Parity register (MPAR)
1. Preload bits, new value taken into account at the next C event (in normal mode) or when a value is written
Table 161. MPAR register description
1:0 XT16:XT8
MPAR
7:6
5:0
Bit
Bit
3
2
in the MPHST register when in direct access mode. For more details refer to the description of the DAC bit
in
updated at the same time.
7
Control register A (MCRA) on page
TES[1:0]
OE[5:0]
Name
SOM
Name
TES[1:0]
SOI
R/W
Sampling out interrupt flag
Sampling out mask bit
BLDC drive motor control peripheral input frequency selection
Tacho edge selection bits
Output parity mode
6
This interrupt indicates that the sampling that should have been done during Ton
has occurred during the next Toff. In this case, the sample is discarded.
0: No sampling out interrupt pending
1: Sampling out interrupt pending
This interrupt is available only for Z event sampling as D event sampling is always
done at f
0: Sampling out interrupt disabled
1: Sampling out interrupt enabled
This interrupt is available only when a delay has been set in the DS[3:0] bits in the
MCONF register.
Note: It is recommended to disable the sampling out interrupt when software Z
event is enabled (SZ bit in MCRC register is set) and if the value in the DS[3:0]
bits is modified to change the sampling method during the application.
00: f
01: f
10: f
11: f
Caution: It is recommended to set the peripheral frequency to 4 MHz. Setting
f
PERIPH
The primary function of these bits is to select the edge sensitivity of the
tachogenerator capture logic; clearing both TES[1:0] bits specifies that the input
detection block does not operate in speed sensor mode but either in position
sensor or sensorless mode for a six-step motor drive). See
0: Output channel is High
1: Output channel Low
Note: These bits are not significant when PCN = 1 (configuration with three
independent phases).
PERIPH
PERIPH
PERIPH
PERIPH
= f
SCF
MTC
5
(peripheral frequency) = f
(peripheral frequency) = f
(peripheral frequency) = f
(peripheral frequency) = f
PERIPH
high frequency.
is used mainly when f
.
265. The use of a preload register allows all the registers to be
4
Function
Function
clk
3
MTC
MTC
MTC
MTC
OE[5:0]
= 4 MHz (for low power consumption).
/2
/4
/4 (same as XT16 = 1, XT8 = 0)
R/W
(1)
2
Reset value: 0000 0000 (00h)
On-chip peripherals
Table
1
162.
285/371
0

Related parts for st7pmc2s6