Automatic Gain Control | Cypress Semiconductor
Automatic Gain Control
Hi - I have an analog waveform coming into my ADC. I first bandpass filter it to get rid of any unwanted frequencies. I then use the analog comparator to make a decision based on signal levels. The strength of the signal varies at times. This could be 1mV (peak to peak), all the way to 20 mV peak to peak. I need to be able to use the comparator on both of those waveforms. As such, I probably will need something like an automatic gain controller to ensure that the signal going into the comparator is scaled to some standard range.
Is it possible to implement automatic gain control on the PSoC hardware?I'm assuming it could be done using the PGA, but I'm not sure how to proceed.