数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN2628 数据表(PDF) 21 Page - STMicroelectronics

部件名 AN2628
功能描述  Programming ST10F27x CAN interrupt drivers
PDF  27 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN2628 数据表(HTML) 21 Page - STMicroelectronics

Back Button AN2628 Datasheet HTML 17Page - STMicroelectronics AN2628 Datasheet HTML 18Page - STMicroelectronics AN2628 Datasheet HTML 19Page - STMicroelectronics AN2628 Datasheet HTML 20Page - STMicroelectronics AN2628 Datasheet HTML 21Page - STMicroelectronics AN2628 Datasheet HTML 22Page - STMicroelectronics AN2628 Datasheet HTML 23Page - STMicroelectronics AN2628 Datasheet HTML 24Page - STMicroelectronics AN2628 Datasheet HTML 25Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 27 page
background image
AN2628
Register description
21/27
A.3
CAN status register
CAN1SR (EF02h),
CAN2SR (EE02h)
XBUS
Reset Value: 0000h
15
14
13
12
11
10
987
65432
10
---
-----
BOff
EWarn EPass
RxOk
TxOk
LEC
R
R
R
RW
RW
RW
Table 5.
CAN1SR and CAN2SR registers
Bit
Function
LEC
Last error code (Type of the last error to occur on the CAN bus)
’000’: No error.
’001’: Stuff Error: More than 5 equal bits in a sequence have occurred in a part of a
received message where this is not allowed.
’010’: Form Error: A fixed format part of a received frame has the wrong format.
’011’: AckError: The message this CAN Core transmitted was not acknowledged by
another node.
’100’: Bit1Error: During the transmission of a message (with the exception of the
arbitration field), the device wanted to send a recessive level (bit of logical value ‘1’), but
the monitored bus value was dominant.
’101’: Bit0Error: During the transmission of a message (or acknowledge bit, or active
error flag, or overload flag), the device wanted to send a dominant level (data or identifier
bit logical value ‘0’), but the monitored Bus value was recessive. During bus-off recovery
this status is set each time a sequence of 11 recessive bits has been monitored. This
enables the CPU to monitor the progression of the bus-off recovery sequence (indicating
the bus is not stuck at dominant or continuously disturbed).
’110’: CRCError: The CRC check sum was incorrect in the message received, the CRC
received for an incoming message does not match with the calculated CRC for the
received data.
’111’: Unused. When the LEC shows the value ‘7’, no CAN bus event was detected since
the CPU wrote this value to the LEC.
TxOk
Transmitted a message successfully
’0’: Since this bit was reset by the CPU, no message has been successfully transmitted.
This bit is never reset by the CAN Core.
’1’: Since this bit was last reset by the CPU, a message has been successfully (error free
and acknowledged by at least one other node) transmitted.
RxOk
Received a message successfully
’0’: Since this bit was last reset by the CPU, no message has been successfully received.
This bit is never reset by the CAN Core.
’1’: Since this bit was last reset (to zero) by the CPU, a message has been successfully
received (independent of the result of acceptance filtering).
EPass
Error passive
‘0’: The CAN Core is error active.
‘1’: The CAN Core is in the error passive state as defined in the CAN Specification.



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


数据表 下载

Go To PDF Page


链接网址



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