Thanks for the replies, all. It turns out the problem, of course, was due to a programming error on my behalf. Whenever channel 3's value was within a certain deadband, I set the variable for the X acceleration AND the Y acceleration to zero instead of just the X acceleration. Certainly caused some interesting results. Gustavo Bruce Parham wrote: > > Gustavo, > > Assuming that the chip is good, fig 98 in the data sheet (pg 202) shows > channels 3 and 4 going directly into the input mux so, if properly > configured, > thay should act identically. > > Changing the REF select bits or putting the inputs into differential or > pseudo-differential mode by setting the MUX3 and/or MUX4 bits can lead to > unexpected values. > > Have you verified the ADMUX register content? > > Bruce > >
Message
Re: [AVR-Chat] Weird values on ADC channel 4
2007-09-16 by Gustavo Goretkin
Attachments
- No local attachments were found for this message.