Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I avoid bit stuff?

---- card=pci-can/2---
how can I avoid bit stuff?
when i am using ncgetattr.vi,the return value of series2 error/arb captue is 10100010.
Then how can i resolve the problem!
thanks.
*****************************************************************
Work hard and enjoy life.
Love CVI and Labview!
Certified Labview Developer
0 Kudos
Message 1 of 3
(3,739 Views)
Hi 侠客
 
The Series2 error/arb capture register indicates where the last error happened. In this case, the bit stuffing rules (not more then five consecutive bits of the same state) where violated. Typical causes are:
  • Baudrate mismatch (most likely no commmunication at all possible)
  • Improper termination (please see chapter 4 of the NI-CAN Hardware and Software Manual for more information)
  • Wirering schema not compliant with the CAN specification (ISO 11898), e.g. stub/drop length too long, star-type setup instead of a chained setup 
-B2k
0 Kudos
Message 2 of 3
(3,724 Views)
THANK YOU !!
*****************************************************************
Work hard and enjoy life.
Love CVI and Labview!
Certified Labview Developer
0 Kudos
Message 3 of 3
(3,711 Views)