| 数据搜索系统,热门电子元器件搜索 |
|
ST7MC1 数据表(PDF) 175 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7MC1 数据表(HTML) 175 Page - STMicroelectronics |
|
175 / 308 page ![]() ST7MC1/ST7MC2 175/308 MOTOR CONTROLLER (Cont’d) When using hardware commutation CH, the se- quence of events needed is CH then D and finally Z events and the value written in the registers are checked at different times. If SDM bit is set, meaning simulated demagnetisa- tion, a value must be written in the MDREG regis- ter to generate the simulated demagnetisation. This value must be written after the C (either Cs or CH) event preceding the simulated demagnetisa- tion. If SZ bit is set, meaning simulated zero-crossing event, a value must be written in the MZREG reg- ister to generate the simulated zero-crossing. This value must be written after the D event (DH or DS) preceding the simulated zero-crossing. When using simulated commutation (CS), the re- sult of the 8*8 hardware multiplication of the delay manager is not taken in account and must be over- written if the SC bit has been set in a Z event inter- rupt and the sequence of events is broken mean- ing that several consecutive simulated commuta- tions can be implemented. As soon as the SC bit is set in the MCRC register, the system won’t necessarily expect a D event af- ter a C event. This can be used for an application in sensor mode with only one Hall Effect sensor for example. Be careful that the D and Z events are not ignored by the peripheral, this means that for example if a Z event occurs, the MTIM timer is reset. In Simu- lated Commutation mode, the sequence D -> Z is expected, and this order must be repected. As the sequence of events may not be the same when using simulated commutation, as soon as the SC bit is set, the capture/compare feature and protection on MCOMP register is reestablished only after a write to the MCOMP register. This means that as soon as the SC bit is set, if no write access is done to the MCOMP register, no com- mutation event will be generated, whatever the value of MCOMP compared to MTIM at the time SC is set. This does not depend on the running mode: switched or autoswitched mode (SWA bit). If software commutation event is used with a nor- mal sequence of events C-->D-->Z, it is recom- mended to write the MCOMP register during the Z interrupt routine to avoid any spurious comparison as several consecutive Cs events can be generat- ed. Note that two different simulated events can be used in the same step (like DS followed by ZS). Note also that for more precision, it is recommend- ed to use the value captured from the preceding hardware event to compute the value used to gen- erate simulated events. Figure 95, Figure 96 and Figure 97 shows details of simulated event generation. 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 |