データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

STM8S データシート(PDF) 396 Page - STMicroelectronics

部品番号 STM8S
部品情報  STM8S Series and STM8AF Series 8-bit microcontrollers
PDF  467 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM8S データシート(HTML) 396 Page - STMicroelectronics

Back Button STM8S Datasheet HTML 392Page - STMicroelectronics STM8S Datasheet HTML 393Page - STMicroelectronics STM8S Datasheet HTML 394Page - STMicroelectronics STM8S Datasheet HTML 395Page - STMicroelectronics STM8S Datasheet HTML 396Page - STMicroelectronics STM8S Datasheet HTML 397Page - STMicroelectronics STM8S Datasheet HTML 398Page - STMicroelectronics STM8S Datasheet HTML 399Page - STMicroelectronics STM8S Datasheet HTML 400Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 396 / 467 page
background image
Controller area network (beCAN)
RM0016
396/467
DocID14587 Rev 14
23.6.5
Error management
The error management as described in the CAN protocol is handled entirely by hardware
using a Transmit Error Counter (CAN_TECR register) and a Receive Error Counter
(CAN_RECR register), which get incremented or decremented according to the error
condition. For detailed information about TEC and REC management, please refer to the
CAN standard.
Both of them may be read by software to determine the stability of the network.
Furthermore, the CAN hardware provides detailed information on the current error status in
CAN_ESR register. By means of CAN_EIER register and ERRIE bit in CAN_IER 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 TEC is greater then 255, this state is indicated by BOFF
bit in CAN_ESR register. In Bus-Off state, the beCAN is no longer able to transmit and
receive messages.
Depending on the ABOM bit in the CAN_MCR register beCAN will recover from Bus-Off
(become error active again) either automatically or on software request. But in both cases
the beCAN 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 beCAN 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
beCAN to enter initialization mode. Then beCAN starts monitoring the recovery sequence
when the beCAN is requested to leave the initialization mode.
Note:
In initialization mode, beCAN does not monitor the CANRX signal, therefore it cannot
complete the recovery sequence. To recover, beCAN must be in normal mode.
Figure 153. CAN error state diagram



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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