ST7FMC1K2B3 STMICROELECTRONICS [STMicroelectronics], ST7FMC1K2B3 Datasheet - Page 158

no-image

ST7FMC1K2B3

Manufacturer Part Number
ST7FMC1K2B3
Description
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
ST7MC1xx/ST7MC2xx
MOTOR CONTROLLER (Cont’d)
10.6.6.8 Position Sensor Mode
In position sensor mode (SR=1 in MCRA register),
the rotor position information is given to the periph-
eral by means of logical data on the three inputs
MCIA, MCIB and MCIC (Hall sensors).
For each step one of these three inputs is selected
(IS[1:0] bits in register MPHST) in order to detect
the Z event. Be careful that the phase comparator
is OFF until CKE and /or DAC bits are set in MCRA
register.
In sensor mode, Demagnetization and the related
features (such as the special PWM configuration,
D
not available (see
Table 32. Demagnetisation access
In sensor mode configuration the rotor detection
doesn’t need a particular phase configuration to
perform the measurement and a Z event can be
read from any detection window. The sampling is
158/309
1
S
MCRA register
or D
SR bit
H
1
0
management, programmable filter) are
Table
Demagnetisation feature
32)
availabilty
YES
NO
done at a selectable frequency (f
82. This means that Z event position sensoring is
more precise than it is in sensorless mode.
There is no minimum off time required for current
control PWM in sensor mode so the minimum off
time is set automatically to 0µs as soon as the SR
bit is set in the MCRA register and a true 100%
duty cycle can be set in the PWM compare U reg-
ister for the PWM generation in voltage mode.
In Sensor mode, the ZEF[3:0] bits in the MZFR
register are active and can be used to define the
number of consecutive Z samples needed to gen-
erate the active event.
Procedure for reading sensor inputs in Direct
Access mode: In Direct Access mode, the sen-
sors can be read either when the clock are ena-
bled or disabled (depending on CKE it in MCRA
register). To read the sensor data the following
steps have to be performed:
1. Select Direct Access Mode (DAC bit in MCRA
2. Select the appropriate MCIx input pin by means
3. Read the comparator output (HST bit in the
register)
of the IS[1:0] bits in the MPHST register
MREF register)
SCF
), see
Table

Related parts for ST7FMC1K2B3