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

PPS Definitions PIC16F1718

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



Joined: 25 Oct 2004
Posts: 136

View user's profile Send private message

PPS Definitions PIC16F1718
PostPosted: Tue Nov 03, 2015 1:33 am     Reply with quote

Hello Friends

After deciding to migrate to a newer Proc Type i am struggling in the new functionalities.

Ttelmah already helped me some week ago, but now I tried to find it by myself I am lost....

my Problem:

Where can I find the definitions for the PPS Functions of the Pins ???

I was pointed to the PIC16F1718.h file, but for some reason I can't find it there...........

Anybody has a hint for me ??

Best regards
Andreas out of Vienna/Austria
Ttelmah



Joined: 11 Mar 2010
Posts: 19494

View user's profile Send private message

PostPosted: Tue Nov 03, 2015 3:35 am     Reply with quote

Are you sure you have a new enough compiler to actually support the chip?. The include files are only present for the chips your compiler supports.

The 16F1718, was only added at about V5.028. If the .h file is not there, the chip won't be in the internal devices database, and can't be used.
Andreas



Joined: 25 Oct 2004
Posts: 136

View user's profile Send private message

PostPosted: Tue Nov 03, 2015 4:44 am     Reply with quote

Hello Ttelmah

This is my Compiler: CCS PCM C Compiler, Version 5.032, 5801

And CCS sent me the *.h file on 24.082015 and I have been told that this Compiler Version is okay for this proc !!!

best regards
Andreas
Ttelmah



Joined: 11 Mar 2010
Posts: 19494

View user's profile Send private message

PostPosted: Tue Nov 03, 2015 6:02 am     Reply with quote

OK. Was misunderstanding what you were asking.

Your chip _does not have PPS_.

PPS, is where each peripheral can be mapped to any of the re-mappable pins. On chips that have this, there is a list of the peripheral names, and the pins in the .h file.

What you chip has is the simple APFCON ability. With this each peripheral has typically just two pins that it can be switched between. The two locations are in the data sheet, and a single bit determines whether each pin goes to it's 'default' location or the alternative. I show how to select the alternative in this thread:
<http://www.ccsinfo.com/forum/viewtopic.php?t=54535>

'Alternative Pin Function'.
Andreas



Joined: 25 Oct 2004
Posts: 136

View user's profile Send private message

PostPosted: Tue Nov 03, 2015 9:40 am     Reply with quote

Hello Ttelmah

I just got an answer from CCS, in the original files with the Compiler the section PIN_SELECT IS NOT included !!

Thats why I was searching without success.

Thanks for Your answer and I will now take your link to getter knowledge..

best regards
Andreas
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