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 configuration on 24HJ128GP502

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



Joined: 17 Apr 2011
Posts: 1
Location: The Nteherlands

View user's profile Send private message

CAN configuration on 24HJ128GP502
PostPosted: Sun Apr 17, 2011 4:59 am     Reply with quote

Hello,

Can anyone help me with the configuration to enable CAN on the PIC 24HJ128GP502??

I want to use the CAN module on PIN B14 (rx) PIN B15 (tx).

I cannot use PIN select. I think that the registry setting should be:

RPOR1 = 0x06C2 //Output Register
RPINR26 = 0x06B4 //Input Register

Is this correct??
Which command must I use to set the values?

Thanks in advance,

Stefan.
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