DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

ST7MC2N6 データシートの表示(PDF) - STMicroelectronics

部品番号
コンポーネント説明
メーカー
ST7MC2N6 Datasheet PDF : 309 Pages
First Prev 181 182 183 184 185 186 187 188 189 190 Next Last
ST7MC1xx/ST7MC2xx
MOTOR CONTROLLER (Cont’d)
Three kinds of interrupt can be generated in
Speed Sensor Mode, as summarized in Figure
104:
– C interrupt, when a capture event occurs; this in-
terrupt shares resources (Mask bit and Flag) with
the Commutation event in Switched/Au-
toswitched Mode, as these modes are mutually
exclusive.
– RPI/RMI interrupts occur when the ST[3:0] bits of
the MPSR register are changed, either automat-
ically or by hardware.
– S interrupt occurs when a Speed Error happens
(i.e. a successful comparison between
[MTIM:MTIML] and [MDREG:FF]). This interrupt
has the same channel as the Emergency Stop in-
terrupt (MCES), as it also warns the user about
abnormal system operation. The respective Flag
bits have to be tested in the interrupt service rou-
tine to differentiate Speed Errors from Emergen-
cy Stop events.
These interrupts may be masked individually.
Note on Delay Manager Initialization in Speed
Figure 104. Prescaler auto-change example
CAPTURE
EVENTS
Measurement Mode: In order to set-up the
[MTIM:MTIML] counter properly before any speed
measurement, the following procedure must be
applied:
– The peripheral clock must be disabled (resetting
the CKE bit in the MCRA register) to allow write
access to ST[3:0], MTIM and MTIML (refer to Ta-
ble 41),
– MTIM, MTIML must be reset and appropriate val-
ues must be written in the ST[3:0] prescaler
adapt to the frequency of the signal being meas-
ured and to allow speed measurement with suffi-
cient resolution.
Note on MTIML: The Least Significant Byte of the
counter (MTIML) is not used when working in Po-
sition Sensor or Sensorless Modes.
Debug option: a signal reflecting the capture
events may be output on a standard I/O port for de-
bugging purposes. Refer to section10.6.7.3 on
page 172 for more details.
[MTIM:MTIML]
FFFFh
FAFFh
8000h
5500h
USUAL
WORKING
RANGE
C
C
Notes:
Events:
C Capture
S Speed Error
RPI Ratio Increment
RMI Ratio Decrement
S RPI
[MTIM:MTIML] Input Clock:
Fx (ST[3:0] = n)
Fx / 2 (ST[3:0] = n+1)
C
C
C
RMI
184/309
1

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]