st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 288

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
288/371
Motor sampling clock register (MSCR)
Table 166. MSCR register description
1. Times are indicated for 4 MHz f
MSCR
6:4
3:2 SCF[1:0]
Bit
7
1
0
ZSV
R/W
7
Name
DISS
ECM
ZSV
-
Z event sampling validation when MOE bit is reset
Reserved, must be kept cleared
Sampling clock frequency
Encoder capture mode
Data input selection
This bit enables/disables Z event sampling in either mode (sampling at PWM
frequency or at f
0: Z event sampling disabled
1: Z event sampling enabled
These bits select the sampling clock frequency (f
events
00: f
01: f
10: f
11: f
This bit is used to select the source of events which trigger the capture of the
[MTIM:MTIML] counter when using Encoder speed sensor (see
0: Real Time Clock interrupts
1: Read access on MTIM register
This setting is effective only if PCN = 0, TES = 00 and SR = 0.
0: Unused MCIx inputs are grounded
1: Unused MCIx inputs are put in HiZ
6
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
SCF
SCF
SCF
SCF
(1)
Reserved
= 1 MHz (every 1µs)
= 500 kHz (every 2µs)
= 250 kHz (every 4µs)
= 125 kHz (every 8µs)
:
5
-
PERIPH
SCF
.
frequency selected by SCF[1:0] bits).
4
Function
3
SCF[1:0]
R/W
SCF
2
) used to count D and Z
Reset value: 0000 0000 (00h)
ECM
R/W
1
Figure
91).
DISS
R/W
0

Related parts for st7pmc2s6