This is a multi-part message in MIME format. --===============0017843496== Content-Type: multipart/related; boundary="----=_NextPart_000_0039_01C6D116.7AB18DA0" This is a multi-part message in MIME format. ------=_NextPart_000_0039_01C6D116.7AB18DA0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi All I am using the AD converter of an 18F6520 whilst VCFG1 & VCFG0 bits are set to zero. The data sheet says this connects AVDD and AVSS as the reference. (I'm hoping maybe they mean "connects to some kind of band gap reference") My VDD is 3.3V and VSS is GND. I'm getting numbers as though the reference is actually 2.5 volts instead of 3.3V. (see the measurements below) I've been all over the data sheet and errata I don't see a mention of a 2.5 volt internal reference anywhere. Am I losing my mind or is there a 2.5 volt internal reference on this part when VCFG1 & VCFG0 bits are set to zero? Has anyone else seen this type of behavior on an AD converter due to something else? I plan tomorrow to connect a voltage to the external reference pins to be sure...........though it is/will be a pain in butt because I was not planning on using an external reference. Here are the measurements that make me think this. Input voltage Measurement Theoretical count VDD =3.3V ref Theoretical count 2.5V ref 2.362 974 733 967 1.987 817 617 814 1.516 624 470 621 0.999 412 310 409 0.519 212 161 213 0.322 131 100 132 0.124 49 38 51 Note : I've got about 40mV of noise on the power supply. Thanks in advance. Phillip Things should be as simple as possible but no simpler Phillip Coiner CTO, GPS Source, Inc. Your source for quality GNSS Networking Solutions and Design Services, Now! ------=_NextPart_000_0039_01C6D116.7AB18DA0 Content-Type: image/jpeg; name="image001.jpg" Content-Transfer-Encoding: base64 Content-ID: /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIf IiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/wAALCAA9AHIBAREA/8QAHwAAAQUBAQEB AQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1Fh ByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6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kCQqhUBVJHHLZJ9B71J4Vu7i90GKe4nNx+9lWOdgAZY1kYI5xxyoBz361R1fW57O+1t458 R6dpiOsfHMzl9p/8dUfjW3a2m6wtkvlS4nSJRI7oCWYAZP51ydnqOp3fjRre3muIbdbuRVVigt3g iVVdVX72/wAw5zxx7V1mq3p03Sby+EfmG2geUJ/e2qTj9KqaDaXEdst3d6pNez3MSu4LDykJGfkU Dgdu+cVW8XXl7b2dlb6cZPtN3eJGBE6o5QAu4DNwPlU81PHoUjRqW1jVVYgZH2hTg/8AfNef3unm 1v5LYzb9r43FcZ5+tdDpngmG7iWae9faf4UQD9STXRWPhrSdPIaK0V3H8cvzH9a1egxUc8EVzA8E 8ayRSKVdGGQwPUGo7KxtNOtxb2VvHbxAk7I1wMnqfrTL/StP1VEXULKG5EZyglQNt9cVZRFjRURQ qqMKqjAA9Kq3Gkabd3kd5cWMEtxFgJK8YLDByOfY81cqumn2cbxulrErRO8iEIMqz53Ee5yc/Wp2 UMpVgCCMEHvVWw0rT9KR0sLOG2WQ5YRIFBpNQ0nT9WjSPUbOG6SNtyCVAwU4xkVajjSKNY41CIgC qo6ADoK//9k= ------=_NextPart_000_0039_01C6D116.7AB18DA0-- --===============0017843496== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist --===============0017843496==--