Hi,
I'm trying to use the ADC0820 in an application without a microcontroller, so free-running. I'm not sure if I connected it properly to use it in that way; it seems to be working partially, but I'm getting oscillation on the output pins specifically at certain input voltages. It's not just during a couple mV or something where it transitions between states (although I am seeing that as well), but rather I get for example a range of about 250mV in VIN that oscillates.
Here's my schematic for reference:
As you can see, I'm not using the two LSBs. The other outputs go to the jam inputs of a CD4059 counter. The ADC is powered from an 8V linear regulator (TL750L08CLP).
I only have a few discrete VINs of interest, because I'm just looking to switch between a few output patterns to control the counter.
So for example, one of those output patterns I'm looking to get is '100000' (that's in binary - again, not using the two LSBs). If my math's right, I've got a resolution of 31mV per count with this 8-bit ADC and a reference voltage of 7.96V. So since I'm not using the two LSBs, I should actually be fine to have a result of anything from 128 to 131 counts, corresponding to a VIN range of 3.98 - 4.07V.
In my final application I'm hoping to use a different control scheme but for now I'm just testing with a 10k trim pot between VREF+/VREF-, with the wiper going to VIN.
What I'm seeing in practice, looking at DB2 for example, is that I get a constant 1 at 3.85/3.86V, then from about 3.87V all the way up to 4.10V I get oscillation between 0 and 1 at about 459kHz. Then it settles back to a constant 1 again. So unfortunately that oscillation is happening right where I want the VIN to be.
Here's a scope capture (Yellow is VIN, Purple is DB2):
You can see that the oscillation also imposes noise on the input. That noise is not there when the outputs aren't oscillating:
As a final note, these oscillations are happening on all of the outputs, not just DB2. Many times they seem to start at the same VIN, but sometimes not.
Any help would be much appreciated!
thanks,
Ryan