| Electronic Components Datasheet Search |
|
ST92F124 Datasheet(PDF) 338 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST92F124 Datasheet(HTML) 338 Page - STMicroelectronics |
|
338 / 429 page ![]() 338/429 CONTROLLER AREA NETWORK (bxCAN) CONTROLLER AREA NETWORK (Cont’d) Figure 151. . CAN Error State Diagram 10.10.5.6 Error Management The error management as described in the CAN protocol is handled entirely by hardware using a Transmit Error Counter (TECR register) and a Re- ceive Error Counter (RECR register), which get in- cremented or decremented according to the error condition. For detailed information about TEC and REC management, please refer to the CAN stand- ard. Both of them may be read by software to deter- mine the stability of the network. Furthermore, the CAN hardware provides detailed information on the current error status in CESR register. By means of CEIER register and ERRIE bit in CIER register, the software can configure the interrupt generation on error detection in a very flexible way. Bus-Off Recovery The Bus-Off state is reached when TECR is great- er then 255, this state is indicated by BOFF bit in CESR register. In Bus-Off state, the bxCAN is no longer able to transmit and receive messages. Depending on the ABOM bit in the CMCR register bxCAN will recover from Bus-Off (become error active again) either automatically or on software request. But in both cases the bxCAN has to wait at least for the recovery sequence specified in the CAN standard (128 x 11 consecutive recessive bits monitored on CANRX). If ABOM is set, the bxCAN will start the recovering sequence automatically after it has entered Bus- Off state. If ABOM is cleared, the software must initiate the recovering sequence by requesting bxCAN to en- ter and to leave initialization mode. Note: In initialization mode, bxCAN does not mon- itor the CANRX signal, therefore it cannot com- plete the recovery sequence. To recover, bxCAN must be in normal mode. ERROR PASSIVE When TEC or REC > 127 When TEC and REC < 128, ERROR ACTIVE BUS OFF When TEC > 255 When 128 * 11 recessive bits occur: 9 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |