st7fmc2s7t6 STMicroelectronics, st7fmc2s7t6 Datasheet - Page 223

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
MOTOR CONTROLLER (Cont’d)
CONFIGURATION REGISTER (MCONF)
Read/Write
Reset Value: 0000 0010 (02h)
Bits 7:4 = DS[3:0]: Delay for sampling at Ton
These bits are used to define the delay inserted
before sampling in order to sample during PWM
ON time.
Table 77. Sampling Delay
Note: Times are indicated for 4 MHz f
Bit 3 = SOI Sampling Out Interrupt flag.
This interrupt indicates that the sampling that
should have been done during Ton has occured
DS3 DS2 DS1 DS0
DS3
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
7
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
DS2
6
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
DS1
0 No delay added. Sample during Toff
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
5
Delay added to sample at Ton
DS0
4
SOI
3
32.5
37.5
12.5 µs
17.5 µs
22.5 µs
27.5 µs
2.5 µs
7.5 µs
30
35
10 µs
15 µs
20 µs
25 µs
5 µs
SOM
2
s
s
s
s
PERIPH
XT16
1
XT8
0
during the next Toff. In this case, the sample is dis-
carded.
0: No Sampling Out Interrupt Pending
1: Sampling Out Interrupt Pending
Bit 2 = SOM: Sampling Out Mask bit.
This interrupt is available only for Z event sampling
as D event sampling is always done at f
frequency.
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.
Bits [1:0] = XT16:XT8 BLDC drive Motor Control
Table 78. Peripheral frequency
Caution: It is recommended to set the peripheral
frequency to 4MHz. Setting f
mainly when f
tion).
XT16
Peripheral input frequency selection:
0
0
1
1
XT8
0
1
0
1
clk
= 4MHz (for low power consump-
Peripheral frequency
f
f
f
f
(same as XT16=1,XT8=0)
PERIPH
PERIPH
PERIPH
PERIPH
=
=
=
=
f
f
f
f
MTC
MTC
MTC
MTC
ST7MC1/ST7MC2
PERIPH
/2
/4
/4
=f
MTC
SCF
is used
223/308
high

Related parts for st7fmc2s7t6