* [ECOS] How to extend CAN baudrates for LPC 2294 platform
[not found] <3d344cfe0710241600y20a27f5ai77a958fa16ecdcc2@mail.gmail.com>
@ 2007-10-24 23:20 ` Bronislav Gabrhelik
0 siblings, 0 replies; only message in thread
From: Bronislav Gabrhelik @ 2007-10-24 23:20 UTC (permalink / raw)
To: ecos-discuss
I need to extend CAN baudrates header for LPC-2294
(packages\devs\can\arm\lpc2xxx\current\include\can_lpc2xxx_baudrates.h)
for frequency 14.7456MHz + its multiple 2 and 4.
I am trying to understand how these tables were computed and it seems
to me that rows in the table for CYGNUM_CAN_LPC2XXX_VPB_CLK ==
30000000 should be shifted up, because some rows are the same like in
table for 60MHz, so it doesn't make sense for me. It is probably
question for author - Uwe Kindler. I guess it is copy &paste error.
I think that I should find minimum for equation:
CYGNUM_CAN_LPC2XXX_VPB_CLK/BRP/bitrate = (TSEG1 + 1) + (TSEG2 +1) + (SWJ +1)
I know TSEG1 is like 80% of sum on the right side, but I don't
understand how to determine it.
Anyway, does anyone have CAN baudrate calculator in spreadsheet?
I appreciate any help. Thanks.
Bronislav Gabrhelik
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-24 23:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <3d344cfe0710241600y20a27f5ai77a958fa16ecdcc2@mail.gmail.com>
2007-10-24 23:20 ` [ECOS] How to extend CAN baudrates for LPC 2294 platform Bronislav Gabrhelik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).