Yup. Just applied that to all analog inputs. I'm also going to recommen= d that SW park the ADC on ground when not in use, and that they look hard a= t the settling time again.=20 All gremlins must die. -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of= alan.b.pearce@stfc.ac.uk Sent: Thursday, May 5, 2016 8:40 AM To: piclist@mit.edu Subject: RE: [PIC] Glitches on analog input IIRC one of the techniques to use is to have a capacitor on the ADC input p= in that is large enough to swamp the ADC input capacitance, but with a low = enough source impedance to be an LP at the highest frequency of interest, w= ithout going beyond the source impedance restriction of the ADC. > -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On=20 > Behalf Of Van Horn, David > Sent: 05 May 2016 14:32 > To: Microcontroller discussion list - Public. > Subject: RE: [PIC] Glitches on analog input >=20 > Well, I was sort of hoping that part of the "simplification" would be=20 > glossing over that buffer. >=20 > I'll have a look at it. Parking the ADC on the ground input would=20 > probably be a good technique to make whatever effect this has on the=20 > reading more consistent. >=20 > Thanks. >=20 > -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On=20 > Behalf Of alan.b.pearce@stfc.ac.uk > Sent: Thursday, May 5, 2016 2:44 AM > To: piclist@mit.edu > Subject: RE: [PIC] Glitches on analog input >=20 > > > A possible cause is that you are seeing the charge from the ADC's=20 > > > internal sampling capacitor. Another possible cause is leakage=20 > > > caused by an analog input clamping a voltage above the supply rail. > > > > I would hope that wasn't the case. Shouldn't there be at least a=20 > > buffer amplifier between the capacitor and the switch? >=20 > Nope, not when you look at the simplified schematics they put in the=20 > data sheet and family manuals. That is one reason why there is a=20 > significant restriction on signal source impedance to maintain the ADC ac= curacy. >=20 > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive=20 > View/change your membership options at=20 > http://mailman.mit.edu/mailman/listinfo/piclist >=20 > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive=20 > View/change your membership options at=20 > http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/chang= e your membership options at http://mailman.mit.edu/mailman/listinfo/piclis= t --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .