| 数据搜索系统,热门电子元器件搜索 |
|
ST92F124 数据表(PDF) 328 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST92F124 数据表(HTML) 328 Page - STMicroelectronics |
|
328 / 429 page ![]() 328/429 CONTROLLER AREA NETWORK (bxCAN) CONTROLLER AREA NETWORK (Cont’d) 10.10.4.3 Low Power Mode (Sleep) To reduce power consumption, bxCAN has a low power mode called sleep mode. This mode is en- tered on software request by setting the SLEEP bit in the CMCR register. In this mode, the bxCAN clock is stopped. Consequently, software can still access the bxCAN registers and mailboxes but the bxCAN will not update the status bits. Example: If software requests entry to initializa- tion mode by setting the INRQ bit while bxCAN is in sleep mode, it will not be acknowledged by the hardware, INAK stays cleared. bxCAN can be woken up (exit sleep mode) either by software clearing the SLEEP bit or on detection of CAN bus activity. On CAN bus activity detection, hardware automat- ically performs the wake-up sequence by clearing the SLEEP bit if the AWUM bit in the CMCR regis- ter is set. If the AWUM bit is cleared, software has to clear the SLEEP bit when a wake-up interrupt occurs, in order to exit from sleep mode. Note: If the wake-up interrupt is enabled (WKUIE bit set in CIER register) a wake-up interrupt will be generated on detection of CAN bus activity, even if the bxCAN automatically performs the wake-up sequence. After the SLEEP bit has been cleared, sleep mode is exited once bxCAN has synchronized with the CAN bus, refer to Figure 144.bxCAN Operating Modes. The sleep mode is exited once the SLAK bit has been cleared by hardware. 10.10.4.4 Test Mode Test mode can be selected by the SILM and LBKM bits in the CDGR register. These bits must be con- figured while bxCAN is in Initialization mode. Once test mode has been selected, the INRQ bit in the CMCR register must be reset to enter Normal mode. 10.10.4.5 Silent Mode The bxCAN can be put in Silent mode by setting the SILM bit in the CDGR register. In Silent mode, the bxCAN is able to receive valid data frames and valid remote frames, but it sends only recessive bits on the CAN bus and it cannot start a transmission. If the bxCAN has to send a dominant bit (ACK bit, overload flag, active error flag), the bit is rerouted internally so that the CAN Core monitors this dominant bit, although the CAN bus may remain in recessive state. Silent mode can be used to analyze the traffic on a CAN bus without affecting it by the transmission of dominant bits (Acknowledge Bits, Error Frames). Figure 145. bxCAN in Silent Mode 10.10.4.6 Loop Back Mode The bxCAN can be set in Loop Back Mode by set- ting the LBKM bit in the CDGR register. In Loop Back Mode, the bxCAN treats its own transmitted messages as received messages and stores them (if they pass acceptance filtering) in a Receive mailbox. bxCAN in Loop Back Mode This mode is provided for self-test functions. To be independent of external events, the CAN Core ig- nores acknowledge errors (no dominant bit sam- pled in the acknowledge slot of a data / remote frame) in Loop Back Mode. In this mode, the bx- CAN performs an internal feedback from its Tx output to its Rx input. The actual value of the CAN- RX input pin is disregarded by the bxCAN. The transmitted messages can be monitored on the CANTX pin. bxCAN CANTX CANRX Tx Rx =1 bxCAN CANTX CANRX Tx Rx 9 |
|
链接网址 |
| 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 |