CAN bus arbitration issue.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CAN bus arbitration issue.

1,672 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CH Wu on Thu May 07 20:24:09 MST 2015
Hello,

I would like to test the CAN bus conflict condition.
The user manual described as below. I'm confused that why the "(with the exception of the arbitration field)" is mentioned on the Bit1Error section.
What I want to know is that if there are two same ID which issue on CAN bus at same time. Is there any flag will be setted?
I would like to change the ID if the ID is hang on a arbitration situation too many times. Therefore, I need some indicator to check this kind of situation.

Bit1Error. During the transmission of a message (with the exception of
the arbitration field), the device wanted to send a HIGH/recessive level
(bit of logical value ‘1’), but the monitored bus value was
LOW/dominant.
标签 (1)
0 项奖励
回复
1 回复

1,613 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Fri May 08 08:42:48 MST 2015

Quote: CH Wu
I'm confused that why the "(with the exception of the arbitration field)" is mentioned on the Bit1Error section.



Of course during arbitration a wrong level isn't causing an error  :O


Quote: CH Wu
What I want to know is that if there are two same ID which issue on CAN bus at same time. Is there any flag will be setted?



Probably you are talking about the same ID and different data  :quest:

If 2 messages with same ID and different data are transmitted at the same time (and pass arbitration) Bit errors are triggered and both transmissions are repeated until they are transmitted  :exmark:

Bit errors are no indication that the same ID is used, so a more useful approach would be a software solution:

receive this IDs and you are finding this problem before messages collide  :)
0 项奖励
回复