Hi, I am using TM4C129 for an audio application. I am trying to figure out how to use the oversampling function.
If I use one sequencer to sample 2 analog signals S1 and S2. The sequencer is activated by a timer set to 16KHz. The ADC sampling order will be:
S1, S2 (1/16K second interval) S1, S2 (1/16K second interval) S1, S2 ......
If I also enabled 4x oversampling, I guess the ADC order will be:
S1,S1,S1,S1, S2,S2,S2,S2 (1/16K second interval) S1,S1,S1,S1, S2,S2,S2,S2 (1/16K second interval) S1,S1S1,S1,S2,S2,S2,S2 ......
and the for consecutive values will be averaged to one.
This means, for each individual input, the oversampling does not happen evenly. It happens in a burst of 4 spaced by 1/16K second.
Is my understanding correct? If yes, how can I realize the oversampling so that the signal will be sampled EVENLY at 16K*4, and after the averaging, resulting in a signal stream at 16K rate?