All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Heinz-Jürgen Oertel" <oe@emtas.de>
To: Ratheendran <ba.rsrajeshwaran@tataelxsi.co.in>
Cc: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>,
	linux-can@vger.kernel.org
Subject: Re: detect auto baud rate on can bus in linux driver.
Date: Tue, 29 Apr 2014 16:12:51 +0200	[thread overview]
Message-ID: <8638796.WNtrS54FvS@laura> (raw)
In-Reply-To: <535FA7BB.3070700@tataelxsi.co.in>

[-- Attachment #1: Type: text/plain, Size: 885 bytes --]

Am Dienstag, 29. April 2014, 18:53:07 schrieb Ratheendran:
> this mode, transmission is disabled, all error counters are frozen and 
> the module operates
> in a CAN Error Passive mode. Only messages *acknowledged by another CAN 
> station* will be received.

In this case always two nodes already communicating are needed in order for 
the node doing the auto detection.

> If FLEXCAN detects a message that has not been acknowledged, it will
> flag a BIT0 error (without changing the REC), as if it was trying to 
> acknowledge the message."

Is this BIT0 somehow exported to user space by SocketCAN to get the 
information
 "received valid (+ CRC) message but without seeing an ACK" ?

-- 

Mit freundlichen Grüßen

    Heinz-Jürgen Oertel

-------------------------------------------------------------------------

emtas - your embedded solution partner
 

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

  parent reply	other threads:[~2014-04-29 14:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-24 13:20 detect auto baud rate on can bus in linux driver Ratheendran
2014-04-27  9:44 ` John Whitmore
2014-04-27 18:01   ` Kurt Van Dijck
2014-04-29  8:33     ` Ratheendran S. Rajeshwaran
2014-04-29  8:35       ` Ratheendran S. Rajeshwaran
2014-04-29 19:58       ` Robert Schwebel
     [not found]         ` <5360E8A6.8040204@tataelxsi.co.in>
2014-04-30 14:41           ` Kurt Van Dijck
2014-04-30 16:35             ` Oliver Hartkopp
2014-05-01 18:49               ` Kurt Van Dijck
     [not found]                 ` <5363243E.7070406@tataelxsi.co.in>
2014-05-02 11:00                   ` Kurt Van Dijck
2014-04-29 12:47     ` Heinz-Jürgen Oertel
     [not found]       ` <535FA7BB.3070700@tataelxsi.co.in>
2014-04-29 14:12         ` Heinz-Jürgen Oertel [this message]
     [not found]     ` <535F5449.7000108@tataelxsi.co.in>
2014-04-29 13:33       ` Kurt Van Dijck
2014-04-29 14:12         ` Wolfgang Grandegger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8638796.WNtrS54FvS@laura \
    --to=oe@emtas.de \
    --cc=ba.rsrajeshwaran@tataelxsi.co.in \
    --cc=dev.kurt@vandijck-laurijssen.be \
    --cc=linux-can@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.