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

Baud Rate Can-Bus

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



Joined: 25 Nov 2004
Posts: 30
Location: Germany

View user's profile Send private message

Baud Rate Can-Bus
PostPosted: Tue Apr 05, 2005 11:56 am     Reply with quote

Hello guys,

I am really fighting with the can-bus.

My PIC 18F258 was working very well. But when I put it into the system, it was made for, it had problems with receiving can-messages. After receiving one to three messages the Can-Error-interrupt-flag has been set time after time.

I think, the baud rate is set wrongly.

Who can help me to find the correct configuration for a can-bus with a 20Mhz crystal and a rate of 500kBit/s? The stability of the system is very important.

I would be very thankful for help. Up to then, pom
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Apr 05, 2005 12:04 pm     Reply with quote

This thread has detailed instructions on how to calculate the settings
for the CAN baud rate registers:
http://www.ccsinfo.com/forum/viewtopic.php?t=22138
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