Hokay, went to Freescale site and downloaded the 52235 manual. Read up on the ADC in chap. 28 and things are much clearer now.
The good stuff is on pg. 28-26. Those formulas summarized nicely what you all were trying to tell me.
I see a lot of "jitter" in the results - they rarely come back the same even back to back. I suspect this is why:
------------------
28.5.10 Voltage Reference Pins VREFH and VREFL
The voltage difference between VREFH and VREFL provides the reference voltage that all analog inputs are measured against. The reference voltage should be provided from a low noise filtered source capable of providing up to 1mA of reference current.
When tying VREFH to the same potential as VDDA, relative measurements are being made with respect to the amplitude of VDDA. It is imperative that special precautions be taken to assure the voltage applied to VREFH is as noise-free as possible. Any noise residing on the VREFH voltage is directly transferred to the digital result. Figure 28-28 illustrates the internal workings of the ADC voltage reference circuit. VREFH must be noise filtered; a minimum configuration is shown in the figure.
-------------------
"Figure" shows a LC filter on VREFH. I don't see any inductors on the SBL board
I know about the criticality of having a clean and stable VREF from my old bus-connected standalone ADC days.
I can work around it - my results only need to send back data in the range of 0 - 20VDC at a resolution of .1V (remote solar electric system monitoring). Connecting the A/D's directly to the supply voltage yields a result of 32760 as expected, and 0 when grounded. Maybe some light filtering on the input would quiet things a little...
Next hurdle: getting the results of the A/D onto a user-friendly Web page.
I looked around to see if there's any way to do that from TELNET directly - seems to be a big security issue and not easily done. At a minimum it would require end user to install Java, which they may not want to do.
You guys mention reading the A/D from the Web interface - and it sounds like that code is part of the Dev. Kit. Is that the only way to "see" that code? I bought the SBL bare not understanding the ramifications (learning FAST!) of going that route...the info on the site made it seem so friendly, I was sure I could work with it.
So, there must be some way to extract the A/D values from it besides TELNET.
Thanks for all your help so far, esp. the pointers about shifting the results 3 bits over. That led me to the manual.