On 04/02/2011 09:44 AM, bruce bushby wrote: > Thanks for the advice, much appreciated!!! > > Since I'm having a prototype made, I'll pass on the recommendation and see > if I can switch one of the MCP 2515's for SJA1000 and test both solutions.
That would be a good choice. In the next revision you can add some logic (e.g. in a CPLD) and attach two sja1000 to one chip select. From a software point of view you can attach both sja1000's interrupt to the same CPU gpio (wired-or or wired-and - ask your hardware guys :). > I'm using Telit's GE863-PRO which only has a 200Mhz cpu so ideally I need to > conserve as many cpu cycles as possible. CAN is no big deal for a 200 MHz ARM9 using a proper connected controller. For example the atmel at91sam9263, has an internal attached controller. The driver makes use of the multiple rx mailboxes and the load generated by the CAN is quite low. I don't want to use SPI on this controller. Looking over Telit's documentation (Telit_GE863-PRO³_Linux_CAN_Package_SW_User_Guide_r0) it seems they have (at least) modified the mcp251x driver. # modprobe mcp251x.ko cs=2 irq_gpio=90 The mainline driver doesn't have this module parameters. cheers, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
