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 |
Bug in the DSP56800 sdk2.5 (one of them anyway)
Started by ●February 17, 2003