Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Strange behaviour from microcontroller pin

Status
Not open for further replies.
The unused bits are always read as zero so no matter which justification or 'shift and OR/Add' should leave a bit stuck at '1'.
It certainly looks like a configuration error, most likely due to the clock being set several times faster than recommended. I would guess (only Microchip know exactly how it works) that reading back the ADC before acquisition is completed leaves a residual bit set in the comparator tree and that's what gets returned in the result.

Brian.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top