Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: CAN bus with spi interface
PostPosted: Fri Jul 01, 2011 4:26 pm 
Offline

Joined: Mon Jun 27, 2011 4:03 pm
Posts: 2
Hi,

I'm using AT91SAM7S256 with a CAN controller (mcp2515) and a CAN transceiver (mcp2551).
It's not me who have made the hardware so i must use the sam7s256 and do the spi/can interface in software.

There is Base Frame/Data Frame/Error Frame ... so what's must i do in software? (Send Start Of Frame bit, a synchronisation signal and ...)

Thanks in advance,
Regards


Top
 Profile  
 
 Post subject: Re: CAN bus with spi interface
PostPosted: Fri Jul 01, 2011 4:47 pm 
Offline

Joined: Sat Oct 30, 2010 6:04 pm
Posts: 574
Try looking at the Linux "mcp251x" driver


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: