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 support@ccsinfo.com

CAN and 18f258

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







CAN and 18f258
PostPosted: Wed Aug 10, 2005 2:45 pm     Reply with quote

Hi all,

I am trying to make CAN message sniffer based on 18f258 and max13050 can interface.
I am using example code from PICC 3.227 adjusted to work at 40MHz but still can't see any messages.

My baud settings are (500kbps):
BRGCON1=0x03;
BRGCON2=0x98;
BRGCON3=0x03;

Are these values ok? Should I change anything else in source expect #delay...?

Thanks,
Troky
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Aug 10, 2005 3:39 pm     Reply with quote

Quote:
Are these values ok?

Read this thread for information on how to choose and configure
CAN bus bit timing parameters:
http://www.ccsinfo.com/forum/viewtopic.php?t=22138

Quote:
but still can't see any messages.

The CCS drivers are setup to accept Extended IDs.
Does the system that you're monitoring use Extended IDs or Standard IDs ?
See this thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=20387&highlight=extended+standard
troky2001
Guest







PostPosted: Thu Aug 11, 2005 3:28 pm     Reply with quote

Thanks for tips. I'll try tomorrow and post results.
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