All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Srinivas Neeli <sneeli@xilinx.com>
Cc: Srinivas Goud <sgoud@xilinx.com>,
	Naveen Kumar Gaddipati <naveenku@xilinx.com>,
	Prasad Beer Prasad <prasadbe@xilinx.com>,
	linux-can <linux-can@vger.kernel.org>
Subject: Re: Queries on CAN frame work
Date: Thu, 13 Jan 2022 21:30:04 +0100	[thread overview]
Message-ID: <20220113203004.jf2rqj2pirhgx72i@pengutronix.de> (raw)
In-Reply-To: <DM6PR02MB538645C4ECE3BBBD3CE92A17AF539@DM6PR02MB5386.namprd02.prod.outlook.com>

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

Hello Srinivas Neeli,

On 13.01.2022 18:14:06, Srinivas Neeli wrote:
> This mail is regarding to understand more on CAN Frame work for CANFD
> networks.

let's discuss this on the CAN mailing list (Cc'ed). Feel free to
subscribe (http://vger.kernel.org/vger-lists.html#linux-can). Please
post non HTML mail.

> Recently we did few experiments with our CANFD network. Stuff error
> observed with different Nominal and Dataphase prescaler configuration
> values, which we get from the frame work.
> 
> 
> For lower baud rates separate prescalers are working good, but when we
> switch to high baud rates(like 4Mbps and 5Mbps) observed the BUSOFF
> state(Due to stuff errors) on IP(Xilinx).
> 
> With shared prescaler(low prescalers) we are not seeing the issue..
> 
> In Iso spec also mentioned to avoid tolerance, we have to maintain
> common TQ for Nominal and Data phase.
> 
> Spec: ISO 11898-1:2015(E)  page no :50
> 
> " If the same time quantum length is used in the nominal bit time and
> in the data bit time and the positions of the sample points in the
> nominal bit time are the same in all CAN nodes of a network, then
> optimum clock tolerance is accomplished for networks using FD frames."
> 
> CIA:
> https://can-newsletter.org/uploads/media/raw/f6a36d1461371a2f86ef0011a513712c.pdf
> 
> From above CAN-newsletter also suggested the same in recommendation 2 and 3.
> 
> Recommendation 2: Set the BRPA bit-rate prescaler equal BRPB
> Recommendation 3: Choose BRPA and BRPD as low as possible
> 
> Is there any possibility in framework to use shared prescalars for Nominal and Dataphase?.
> 
> One more question. How to calculate TDCO ?, is there any generic formula for this ?.

Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

       reply	other threads:[~2022-01-13 20:30 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <DM6PR02MB538645C4ECE3BBBD3CE92A17AF539@DM6PR02MB5386.namprd02.prod.outlook.com>
2022-01-13 20:30 ` Marc Kleine-Budde [this message]
2022-01-13 21:10   ` Queries on CAN frame work Marc Kleine-Budde
2022-01-14 10:16     ` Vincent MAILHOL
2022-01-17 11:48       ` Marc Kleine-Budde
2022-01-15 23:26     ` Marc Kleine-Budde
2022-02-21 14:43       ` Srinivas Neeli
2022-02-21 20:27         ` Marc Kleine-Budde
2022-02-22  0:40           ` Srinivas Neeli
2022-03-06 14:30             ` Srinivas Neeli
2022-03-06 14:47               ` Marc Kleine-Budde
2022-03-17 22:00         ` Marc Kleine-Budde
2022-03-18  6:12           ` Srinivas Neeli
2022-03-18  8:30             ` Marc Kleine-Budde
2022-03-18  9:54               ` Srinivas Neeli
2022-03-18 10:01                 ` Marc Kleine-Budde
2022-03-17 22:50         ` Marc Kleine-Budde
2022-03-18  6:55           ` Srinivas Neeli
2022-03-18  9:15             ` Marc Kleine-Budde
2022-03-18 10:15               ` Srinivas Neeli
2022-03-18 12:03                 ` Marc Kleine-Budde
2022-03-18 13:57               ` Marc Kleine-Budde

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=20220113203004.jf2rqj2pirhgx72i@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=linux-can@vger.kernel.org \
    --cc=naveenku@xilinx.com \
    --cc=prasadbe@xilinx.com \
    --cc=sgoud@xilinx.com \
    --cc=sneeli@xilinx.com \
    /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.