Help 16c71 a/d displays 256 with half Vref supply.
Andrew Warren email (remove spam text)
Rene Chauvet <MITVMA.MIT.EDU> wrote: PICLIST
> I Was Playing around with the A/D on the 16c71 and I found that with a
> supply of 5.11V the a/d indicates 256 at 2.55V then loops.
> So at 0V it displays 0 at 2.55 it displays 256, at 2.6 it displays 0V
> and at 5.11 it displays 256.
> Does anyone know why this it happening and how to get it to display 0
> at 0V, 128 at 2.55V and 256 at 5.11V like it's suppose to. I tried it
> with both the internal Vref and RA3ref(external)
Do you ever see ODD values (1, 3, 5, 7, etc.)?
If not, perhaps you're inadvertently shifting the ADRES value left
=== Andrew Warren --- cypress.comaiw
=== Staff Systems Engineer, IPD
=== Cypress Semiconductor Corporation
=== Opinions expressed above do not
=== necessarily represent those of
=== Cypress Semiconductor Corporation.
http://www.piclist.com hint: The PICList is archived three different
ways. See http://www.piclist.com/#archives for details.
In reply to: <F127BH49KOlAQ7Zg6CT00001f65@hotmail.com>
See also: www.piclist.com/techref/microchip/ios.htm?key=a%2Fd
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the