View previous topic :: View next topic |
Author |
Message |
Andreas
Joined: 25 Oct 2004 Posts: 136
|
PPS Definitions PIC16F1718 |
Posted: Tue Nov 03, 2015 1:33 am |
|
|
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
|
|
Posted: Tue Nov 03, 2015 3:35 am |
|
|
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
|
|
Posted: Tue Nov 03, 2015 4:44 am |
|
|
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
|
|
Posted: Tue Nov 03, 2015 6:02 am |
|
|
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
|
|
Posted: Tue Nov 03, 2015 9:40 am |
|
|
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 |
|
|
|