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

Ah!  :)  Glad you found it.  Sleep mode can be entertaining.


On Mon, Nov 5, 2012 at 7:06 PM, Chuck Hackett <egroupscdh@up844.us> wrote:
>> From: David VanHorn
>> ....
>> 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.
>> ....
>
> Problem was caused by going into sleep mode (sleep mode = Idle) while ADEN
> was set.  As I later found described in the data sheet this (also) causes a
> conversion to start (noise reduction mode).
>
> Cheers,
>
> Chuck Hackett
> "Good judgment comes from experience, experience comes from bad judgment"
> 7.5" gauge Union Pacific Northern (4-8-4) 844
> http://www.whitetrout.net/Chuck
>
>
>
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>

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.