| 数据搜索系统,热门电子元器件搜索 |
|
ST7MC1 数据表(PDF) 183 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7MC1 数据表(HTML) 183 Page - STMicroelectronics |
|
183 / 308 page ![]() ST7MC1/ST7MC2 183/308 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 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 171 for more details. Figure 104. Prescaler auto-change example C C C C C RPI RMI CAPTURE FFFFh FAFFh 8000h 5500h S EVENTS USUAL WORKING RANGE C RPI S Events: Capture Speed Error Ratio Increment RMI Ratio Decrement Notes: [MTIM:MTIML] [MTIM:MTIML] Input Clock: Fx Fx / 2 (ST[3:0] = n) (ST[3:0] = n+1) 1 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |