From: Keith Packard Date: Fri, 23 Aug 2013 18:22:10 +0000 (-0700) Subject: altos/lpc: Stop using burst mode for LPC ADC X-Git-Tag: 1.2.9.4~133^2~5 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;ds=inline;h=1aed2eb5c7d477a2f3d4fada22980041aba97cb8;hp=1aed2eb5c7d477a2f3d4fada22980041aba97cb8;p=fw%2Faltos altos/lpc: Stop using burst mode for LPC ADC Burst mode doesn't stop after one round of conversions, so we end up getting incorrect values in whatever the last conversion register is. Just use single conversions and take an interrupt per channel. Also, slow down the ADC so that our values are more stable -- just need to make sure we get the whole conversion sequence done 100 times a second. Signed-off-by: Keith Packard ---