PORTA.3 / ANA3 on 16F17115 returns mostly noise, like not being properly connected. (ANA0, ANA1 and ANA2 works).
I can't get PORTA.3 to output anything either. Pin4 (/MCLR/Vpp/RA3) just floats like not connected.
(A simple blinky-test works on A.2 but not on A.3. )
The datasheet shows PCH[5:0] ADC Positive Input Channel Selection
RA5
RA4
RA2
RA1
RA0
Unfortunately GCBASIC does not have detailed map of each of the ADC ports and therefore ANA3 on this microcontroller is accepted. I will we had the resources to resolve this.
So, ANA3 is not valid.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you!
I can move things around and manage without that pin. I just got puzzled.
I now tried searching "RA3" and it brings up the info that I previously failed to find. I could also have searched for ANA2 to find the info. Searching for ANA3, which I did, ofcourse yeilded nothing since it doesn't exist. Sigh.
I now learned that. (slightly embarrassed).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
PORTA.3 / ANA3 on 16F17115 returns mostly noise, like not being properly connected. (ANA0, ANA1 and ANA2 works).
I can't get PORTA.3 to output anything either. Pin4 (/MCLR/Vpp/RA3) just floats like not connected.
(A simple blinky-test works on A.2 but not on A.3. )
GCStudio 1.76.2
ANA3 is on MCLRE and therefore not operating.
The datasheet shows PCH[5:0] ADC Positive Input Channel Selection
RA5
RA4
RA2
RA1
RA0
Unfortunately GCBASIC does not have detailed map of each of the ADC ports and therefore ANA3 on this microcontroller is accepted. I will we had the resources to resolve this.
So, ANA3 is not valid.
Last edit: Roger Jönsson 2025-05-04
Use an external ADC?
Thank you!
I can move things around and manage without that pin. I just got puzzled.
I now tried searching "RA3" and it brings up the info that I previously failed to find. I could also have searched for ANA2 to find the info. Searching for ANA3, which I did, ofcourse yeilded nothing since it doesn't exist. Sigh.
I now learned that. (slightly embarrassed).