> From: Chuck Hackett > .... > If the ADSC bit starts the conversion (I'm in 'Single Conversion' mode) I don't > understand why any conversion started and I got an interrupt (I accidently > never set the ADSC bit). I would have expected that I never would have > gotten an interrupt ... > .... To answer my own email ... It turns out that the ADC was started in "noise canceling mode" when my "idle loop" executed a "sleep()" statement (sleep mode was set to "Sleep Mode = Idle" and ADEN and ADIE were set to 1). So, I think you need to disable the ADC if you don't want the ADC conversion to start when sleep mode "Idle" or "ADCNRM" is used ... 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
Message
RE: [AVR-Chat] ATMega1284p ADC running before "Start Conversion"?
2012-11-05 by Chuck Hackett