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 and PIC18F2480

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







CAN and PIC18F2480
PostPosted: Tue Jul 26, 2005 11:00 am     Reply with quote

Hi im having trouble getting my PIC18F2480 to send me back data. What I mean is that I can send data out of the pic through CANTX but I CANNOT RECEIEVE DATA THROUGH CANRX. When I probe CANRX there's signal coming in but no data is being stored in the recieve buffers. I know this because no data is coming out of TX of the PIC. What I'm trying to do is have data go in through CANRX and out through TX so I can read out what data was RECEIVED. I am using the libraries can18xxx8.c and can18xxx8.h files. What I think the problem is is that the function can_set_mode(CAN_OP_NORMAL) never gets called. My PIC never gets set to NORMAL mode. WHAT do I do? What PIC should I be using? Any suggestions or ideas?

Thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Jul 26, 2005 11:16 am     Reply with quote

Quote:
What PIC should I be using?

18F458
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