[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5009516791F146C49C73FAC57C437313@hacdom.okisemi.com>
Date: Mon, 7 Feb 2011 20:38:29 +0900
From: "Tomoya MORINAGA" <tomoya-linux@....okisemi.com>
To: <wg@...ndegger.com>, <socketcan-core@...ts.berlios.de>
Cc: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: About bittiming calculation result
Hi,
I have a question for bittiming-value calculated by Can-core.
In case setting like below,
- ip link set can0 type can bitrate 800000
- clock=50MHz
- Use pch_can
Can-core calculates like below
brp=21
seg1=1
seg2=1
sjw=1
prop_seg=0
Is "prop_seg=0" true ?
seg1/seg2/sjw/prop_seg must be more than 1 ?
Also I can see the following kernel error log.
bitrate error 0.7%
Thanks,
-----------------------------------------
Tomoya MORINAGA
OKI SEMICONDUCTOR CO., LTD.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists