I found a bug in the ADC driver implementation of the SDK. The settings of the quadTimer that synchronizes the sampling is wrong. It's set a value determined by the following calculation: BSP_OSCILLATOR_FREQ * PLL_MUL / 8L / ADC_SAMPLING_RATE_PER_CHANNEL. The counter counts back untill it equals zero and then toggels its output. But the value should be: BSP_OSCILLATOR_FREQ * PLL_MUL / 8L / ADC_SAMPLING_RATE_PER_CHANNEL-1. regards Ari Tidhar |