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

Perphieral Pin Select support

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



Joined: 09 Sep 2003
Posts: 95
Location: UK

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

Perphieral Pin Select support
PostPosted: Wed Mar 11, 2009 4:44 am     Reply with quote

Several of the newer devices have the new PPS registers.

By the looks of things, there's no support for these new registers at the moment, so can anyone help me in working out how to specify the #use rs232 line for UART2 on any of the peripheral pins ?

I'm guessing that if I specify non-hardware pins, the compiler will use a software uart, rather than the hardware one ?

Thanks
Mark
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Wed Mar 11, 2009 8:03 am     Reply with quote

They are basically supported by the #PIN_SELECT preprocessor command with PCD.
mpfj



Joined: 09 Sep 2003
Posts: 95
Location: UK

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

PostPosted: Wed Mar 11, 2009 8:10 am     Reply with quote

Ah ... I should have stated that I'm using a PIC18F46J11, which isn't covered by PCD.

I'm currently using 4v087.
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Wed Mar 11, 2009 9:16 am     Reply with quote

Quote:
I should have stated that I'm using a PIC18F46J11
Yes.
I'm not aware of specific support for these devices in PCH. But you can configure PPS through special function registers. I previously did with PIC24, because some PPS functions didn't work correctly in PCD.
mpfj



Joined: 09 Sep 2003
Posts: 95
Location: UK

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

PostPosted: Wed Mar 11, 2009 9:26 am     Reply with quote

Just got a reply from CCS themselves.

PPS will be supported in 4v088.
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Wed Mar 11, 2009 9:47 am     Reply with quote

Also UART2 interrupts are missing in V4.087.
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