CAN kaputt? (Bit recessive Error)

Gast #5485986
Lesenswert?

Hilfe,
eine Linux CAN Rechner meldet:
1
 (2018-07-13 20:00:15.844795)  can0  RX - -  2000008C   [8]  00 04 04 00 00 00 00 87   ERRORFRAME
2
        controller-problem{rx-error-warning}
3
        protocol-violation{{bit-stuffing-error}{}}
4
        bus-error
5
        error-counter-tx-rx{{0}{135}}
Und ein STM32 bxcan meldet viele:
LEC 100: Bit recessive Error


Was ist kaputt gegangen?
Gast #5486048
Lesenswert?

Keine Ahnung.

Hier:
https://fabiobaltieri.com/2013/07/23/hacking-into-a-vehicle-can-bus-toyothack-and-socketcan/

gibt es einen Absatz:

If your bitrate is wrong, you should receive a stream of errors from the 
CAN bus interface:

$ candump -cae can0,0:0,#FFFFFFFF
  can0  20000008  [8] 00 00 04 00 00 00 00 00   ERRORFRAME
        protocol-violation{{bit-stuffing-error}{}}
...

In this case, bring the interface back down, and try with a different 
bit-rate. Most common ones are 500kbps, 250kbps and 50kbps.

usw.

Vielleicht hilft das etwas weiter.
Gast #5486066
Lesenswert?

RS485 schrieb:
> Und ein STM32 bxcan meldet viele:
> LEC 100: Bit recessive Error

Er versucht zu senden  bekommt aber kein dominantes Bit auf dem 
pysical-layer erzeugt, also CAN-H und CAN-L bleiben auf gleichem 
Potentil. Mal die CAN-Leitungen durchmessen ob der Abschlusswiderstand 
passt bzw. ob kein Kurzschluss vorhanden ist.

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren