CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Can Bus

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
hawk123



Joined: 16 Jun 2005
Posts: 4

View user's profile Send private message

Can Bus
PostPosted: Fri Jun 17, 2005 10:38 am     Reply with quote

I am new to Can Bus and I am using PIC 18f4480 Can Bus to do a project. Anyone can tell me how to use INT_CANRX interrupt and hoow to set baud rate in CAN_INIT(). If possible, Please provide a detail Can Bus C Program.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Jun 17, 2005 10:49 am     Reply with quote

Quote:
Anyone can tell me how to use INT_CANRX interrupt

See this thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=23207


Quote:
how to set baud rate in CAN_INIT()

This thread has a long article which explains how to do it.
http://www.ccsinfo.com/forum/viewtopic.php?t=22138
burnsy



Joined: 18 Oct 2003
Posts: 35
Location: Brisbane, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Mon Jun 20, 2005 3:56 pm     Reply with quote

Hi everyone,

this is slightly off topic, but...

Would anyone know if it is possible for the CAN bus RX interrupt be used to detect one byte at a time, the same way that the onboard UART can? I would love to have a PIC with TWO hardware uarts without changing up to an SMT version.

I have just started investigating the use of CAN so I know little about the hardware..

Thanks

Jason
_________________
This is the last code change until its ready....
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group