Page 1 of 1

18F8520 inputs

Posted: Thu Sep 07, 2023 2:40 pm
by Roy Johnston
This chip has inputs designated as ANxx. This is clear it is an analogue input.
It also has inputs Axx . – I am under the impression this is also analogue.
It also has ADxx – I am under the impression this is also analogue.
However, I cannot assign Axx And ADxxx to the potentiometer.
What type of inputs are these.

Re: 18F8520 inputs

Posted: Fri Sep 08, 2023 2:36 am
by chipfryer27
Hi

ANxx such as Port A1 = Analogue Input

Axx such as Port H2 = Address bit for external memory

ADxx such as Port E3 = Address / data bit for external memory

Chapter 10 of the 18F8520 datasheet explains in detail and of course the pins have other functions too such as Digital I/O.

Regards

Re: 18F8520 inputs

Posted: Fri Sep 08, 2023 5:13 am
by Roy Johnston
Thank you.

Re: 18F8520 inputs

Posted: Fri Sep 08, 2023 7:12 am
by AbhijitR
Hello!

Cheers to you Chipfryer, thank you.