Introduction

Author: Rupali Honrao, Microchip Technology Inc.

This application note will explain how to use the noise reduction features available in the Analog-to-Digital Converter with Computation (ADC2) in Microchip's 8-bit PIC® microcontrollers (MCU). This ADC has built-in computational features that provide post-processing functions such as oversampling, averaging, and low-pass filtering. Built-in registers help to eliminate the software overhead while processing of oversampling, averaging, and low-pass filtering.

Using the Signal & Noise Generator board, this application note will demonstrate noise suppression by the ADC2 in the following modes: Basic, Accumulate, Average, Burst Average, and Low Pass Filter (LPF). Pros and cons of each mode are also listed. The signal with noise and filtered signal will be shown in the Data Visualizer graph. A test setup for generating noisy signals is suggested and directions on how to illustrate the results in the Data Visualizer, are provided.

Example code for replicating the results described in this application note is available from: