My 12lf1822 ADC won't read zero (lowest reading is 008)


Results 1 to 12 of 12

Threaded View

  1. #6
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Re: My 12lf1822 ADC won't read zero (lowest reading is 008)

    Hi Hank,

    I had a ton of trouble with the A/D with these chips. Turns out the Erata points at a big problem. http://ww1.microchip.com/downloads/e...Doc/80502C.pdf

    You can't use the a/d as you normally would. I had to write a few lines of code to grab the a/d data (not using ADCIN), that included a pause to wait long enough for the a/d to complete. That is because the chip does not give valid data for the done bit.

    In my opinion, this makes the chip kind of broken! But there are some cool aspects of the chip that make it nice to use in some projects. I wish they would tell you this in the data sheet, not just the erata. Maybe right under the analog to digital section of the data sheet, say something like "Oh by the way, you can't use the a/d like we said you could ..... and not like the way you use it in any of our other products". But maybe that's just me. I suppose the marketing department sent that back for editing.

    Walter
    Last edited by ScaleRobotics; - 19th May 2011 at 17:59.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts