st92f124 STMicroelectronics, st92f124 Datasheet - Page 337

no-image

st92f124

Manufacturer Part Number
st92f124
Description
8/16-bit Single Voltage Flash Mcu Family With Ram, E3 Tmemulated Eeprom, Can 2.0b And J1850 Blpd
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
st92f124R9T6
Manufacturer:
ST
0
Part Number:
st92f124R9TB
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
st92f124R9TB
Manufacturer:
ST
0
Part Number:
st92f124V1QB
Manufacturer:
MAXIM
Quantity:
56
Part Number:
st92f124V1QB
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
st92f124V1QB
Manufacturer:
ST
0
Part Number:
st92f124V1QB
Manufacturer:
ST
Quantity:
20 000
Part Number:
st92f124V1T6
Manufacturer:
MAX
Quantity:
62
Part Number:
st92f124V1T6
Manufacturer:
ST
Quantity:
20 000
Part Number:
st92f124VQB
Manufacturer:
ST
Quantity:
1 831
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.
When 128 * 11 recessive bits occur:
ERROR ACTIVE
When TEC or REC > 127
When TEC and REC < 128,
BUS OFF
CONTROLLER AREA NETWORK (bxCAN)
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 > 255
337/426
9

Related parts for st92f124