st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 213

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.7
This part of the MTC contains all the time-related functions. Its architecture is based on an 8-bit shift
left/shift right timer shown in
Figure 92. Overview of MTIM timer in switched and autoswitched mode
1. Register updated on R event.
2. Preload bits, new value taken into account at the next C event (in normal mode) or when a value is written in the MPHST
The MTIM timer includes:
The MTIM timer module can work in two main modes when driving synchronous motors in six-step mode.
Z
register when in direct access mode. For more details refer to the description of the DAC bit in
on page
H
An auto-updated prescaler
A capture/compare register for simulated demagnetization simulation (MDREG)
Two cascaded capture and one compare registers (MZREG and MZPRV) for storing the times
between two consecutive BEMF zero crossings (Z
(Z
An 8x8 bit multiplier for auto computing the next commutation time
1 compare register for phase commutation generation (MCOMP)
/Z
S
S
)
265. The use of a preload register allows all the registers to be updated at the same time.
Z
MZPRV [Z
H
Delay manager
MZREG [Z
MCRC register
MCOMP [C
MCRC register
n-1
SZ bit
]
(1)
n
]
(1)
n+1
Compare
Figure
]
(1)
SC bit
8-bit up counter MTIM
MZFR register
92.
ZWF[3:0]
Filter/D
Z
S
Compare
T
8
ck
ratio
(1)
C
H
/C
H
MCRB register
S
events) and for zero-crossing event simulation
SDM bit
(2)
D
Compare
H
MDREG [D
MDFR register
clr
DWF[3:0]
D
MCRA register
C
D
Z
Filter/C
H,S
S
H,S
S,H
Control register A (MCRA)
n
SWA bit
]
(1)
On-chip peripherals
1
0
To interrupt generator
To interrupt generator
To interrupt generator
Z
C
213/371

Related parts for st7pmc2s6