Posted on May 17, 2011 at 15:08That's a 12-bit A/D, right? Which would make your A/D counts range 0 - 4095. Wouldn't you expect to see maximum counts when you apply your Vref+ to the A/D? The A/D values that you got back don't seem correct.
Posted on May 17, 2011 at 15:07How about a little more info., such as: What does that delay function look like? Are you using one of the timers and an interrupt to establish a counter for your delay function? What clock are you using to establish t...
Posted on May 17, 2011 at 15:07After playing around with this some more, I found that initializing the Port E pins as open-drain outputs, I can still use PE7 as an input to watch when the LCD is finished processing an instruction. I set the pin hig...
Posted on May 17, 2011 at 15:07I don't think your Vref- pin can be brought low enough to sample -1 VDC. (spec sheet says Vref- min is = Vssa). You may have to level shift your signal until your low end is 0 V, which would make your range 0 - 7 V. ...
Posted on May 17, 2011 at 15:07Hi Luca, I spent some more time working on this and I had taken out every function call but one (strcat()....just appending a short string to the end of a UART buffer). During debug, I found that my program would stil...