Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] ATMega1284p ADC running before "Start Conversion"?

2012-11-06 by David VanHorn

On Mon, Nov 5, 2012 at 10:20 AM, Chuck Hackett <egroupscdh@up844.us> wrote:
> In debugging some ADC code I discovered that I had never set the ADSC bit in
> ADCSRA but I was still getting conversions.

Most likely, something is writing that bit.
I've never seen the ADC in any AVR just take off on it's own.
Check your source for writes to that address, both in I/O and SRAM space.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.