[En-Nut-Discussion] SJA1000 driver
Petri Hyötylä
phyotyla at gmail.com
Wed Oct 21 13:05:24 CEST 2009
Thanks Ole
I was afraid that there was something I was not seeing.
I am already using MCP2515 and it has been serving our project well but now
we have to receive bursts of CAN messages and we miss some of them. I'm
guessing that the SPI bus may be overloaded because there is a lot of other
traffic on it, too. That's why I was hoping to test SJA1000 with (hopefully)
little effort to see if removing CAN traffic from the SPI helps. Now other
possible solutions I have is to increase SPI speed by doing the SPI in the
NPL or use a slave MCU to buffer the bursts. Probably AT90CAN128. I guess I
will go with the slave MCU.
On Wed, Oct 21, 2009 at 1:37 PM, Ole Reinhardt <ole.reinhardt at embedded-it.de
> wrote:
> Hello!
>
> > I was going to use the SJA1000 driver with our Ethernut 3 project but I
> > noticed that it seems to be only for AVR.
>
> Yes, that's right. But there should not be a real issue why it should
> not work with arm.
>
> Main Problem might be the bus interface. The sja1000 supposes a
> mulitplexed address / data bus where the Ethernut3 provides different
> lines for data and addresses.
>
> You could either re-multiplex it again using a cpld or simply use I/O
> ports to connect the SJA1000 to. Perhaps you should consider to use a
> different CAN controller with SPI interface?
>
> Regards,
>
> Ole Reinhardt
>
> --
> _____________________________________________________________
> | |
> | Embedded-IT |
> | |
> | Ole Reinhardt Tel. / Fax: +49 (0)271 7420433 |
> | Luisenstraße 29 Mobil: +49 (0)177 7420433 |
> | 57076 Siegen eMail: ole.reinhardt at embedded-it.de |
> | Germany Web: http://www.embedded-it.de |
> |_____________________________________________________________|
>
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>
More information about the En-Nut-Discussion
mailing list