st7fmc2s7t6 STMicroelectronics, st7fmc2s7t6 Datasheet - Page 226

no-image

st7fmc2s7t6

Manufacturer Part Number
st7fmc2s7t6
Description
8-bit Mcu With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, Five Timers, Spi, Linsci
Manufacturer
STMicroelectronics
Datasheet
ST7MC1/ST7MC2
MOTOR CONTROLLER (Cont’d)
MOTOR
(MSCR)
Read/Write
Reset Value: 0000 0000 (00h)
Bit 7 = ZSV Z Event Sampling Validation when
MOE bit is reset
This bit enables/disables Z event sampling in ei-
ther mode (sampling at PWM frequency or at f
frequency selected by SCF[1:0] bits)
0: Z event sampling disabled
1: Z event sampling enabled
Bits 6:4 = Reserved, must be kept cleared.
Bits 3:2 = SCF[1:0] Sampling Clock Frequency
These bits select the sampling clock frequency
(f
226/308
SCF
ZSV
7
) used to count D & Z events.
6
0
SAMPLING
5
0
4
0
SCF1
CLOCK
3
SCF0
2
REGISTER
ECM
1
DISS
0
SCF
Table 82. Sampling Clock Frequency
Note: Times are indicated for 4 MHz f
Bit 1 = ECM: Encoder Capture Mode
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
Figure
0: Real Time Clock interrupts
1: Read access on MTIM register
Bit 0 = DISS Data Input Selection
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
SCF1
0
0
1
1
90).
SCF0
0
1
0
1
500 kHz (every 2µs)
250 kHz (every 4µs)
125 kHz (every 8µs)
1 MHz (every 1µs)
f
SCF
PERIPH

Related parts for st7fmc2s7t6