DSP Peak Detector algorithm in practice
DSP Peak Detector Algorithm Note, X is the channel number. MIXER_PEAK_MAPPING and SPLITTER_PEAK_MAPPING are used to support GPIO mappings for different PCB layouts. ADC input demux The data from multiple ADC channels is interlaced into a single array: [0]=CH1, [1]=CH2, [2]=CH3, [3]=CH4, [5]=CH1... This must be demuxed or binned according to ADC_NUMBER_OF_CHANS Average sampled voltage…