always 3.3V at my input pin! Why?

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi

I can't understand why I have always 3.3V on the input pin of PINA1 that is configured as an input pin to use for ADC-in (XMEGA128A1 controller is used). Apparently I have to get rid off the internal pullup resistor.
Does someone know what I have to program to have no voltage at this input pin, cause this is influencing the voltage I'm connecting to this input!

thank you!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Code?

Leon Heller G1HSM

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

POST THE CODE...

1) Studio 4.18 build 716 (SP3)
2) WinAvr 20100110
3) PN, all on Doze XP... For Now
A) Avr Dragon ver. 1
B) Avr MKII ISP, 2009 model
C) MKII JTAGICE ver. 1

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi

I connected now to PINA2 and all works now. At that pin I don't have that 3.3V.
I think the pinA1 is broken cause the whole port is configured the same and only on port PINA1 I have the 3.3V. It is possible I made a short cut on that pin; but I'm not sure.

Buying a new same board will give me the answer for that.

thanks!