Deutsch English Français Italiano |
<vh230f$23hme$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: pozz <pozzugno@gmail.com> Newsgroups: comp.arch.embedded Subject: ATmega328PB and ADC Date: Wed, 13 Nov 2024 12:36:48 +0100 Organization: A noiseless patient Spider Lines: 14 Message-ID: <vh230f$23hme$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 13 Nov 2024 12:36:48 +0100 (CET) Injection-Info: dont-email.me; posting-host="80a967d646e28039d91313dfda897bed"; logging-data="2213582"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX190V0I/WymcF/Cm9Z248/ILXIvepvu5OSM=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:1Inbb9apbvSayBISuH82Z61s5A0= Content-Language: it Bytes: 1483 I couldn't understand if the first conversion after ADC is enabled (ADEN bit) must be discarded or not. The datasheet suggests to discard the first conversion result after changing the reference signal, but nothing after enabling ADC or changing input signal (ADMUX). The only note is about the conversion time that is longer for the first conversion after ADC is enabled. I'm asking this question because I'm noting a different behaviour if I start conversion and enable ADC at the same time for each conversion against leaving ADC enabled and starting only the conversion (ADSC bit).