Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PIC32 MX440F Digital Port and Analog Input interference, problem and solution.
13-05-2017, 10:54 PM, (This post was last modified: 13-05-2017, 10:54 PM by Cemal54.)
#1
PIC32 MX440F Digital Port and Analog Input interference, problem and solution.
I use a Pinguino MICRO from Olimex to read analog signals and control some devices.

I saw that an
AnalogRead using AN11 (pin 24 of MX440F == pin 9 of CON2),
disables
the output port RB8 ( pin 21 of MX440F == pin 12 of CON2).

A software solution is an immediate port re-configuration after the AnalogRead().


.
.
x = AnalogRead(P2_9);
pinMode(P2_12, OUTPUT);
.
.


Best
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)