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

ST92124JCR2TC View Datasheet(PDF) - STMicroelectronics

Part Name
Description
Manufacturer
ST92124JCR2TC Datasheet PDF : 429 Pages
First Prev 331 332 333 334 335 336 337 338 339 340 Next Last
CONTROLLER AREA NETWORK (bxCAN)
CONTROLLER AREA NETWORK (Cont’d)
Figure 151. . CAN Error State Diagram
When TEC or REC > 127
ERROR ACTIVE
ERROR PASSIVE
When 128 * 11 recessive bits occur:
When TEC and REC < 128,
When TEC > 255
BUS OFF
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.
338/429
9

Share Link: 

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