dsPIC33A 12-bit 40MSPS Analog-to-Digital Converter (ADC) Deep Dive
Input Model - Sampling Time
| Cross Talk | Signal to Noise Ratio & ENOB |
Click Play ► to listen to the commentary.

To achieve the specified accuracy of the Analog-to-Digital Converter (ADC) module, the holding capacitor (CHOLD) must be given enough time to fully charge to the voltage present on the analog input pin
The total time required for CHOLD to charge is influenced by several factors:
- Source Impedance (RSRC): The resistance of the analog signal source
- Interconnect Impedance (RIC): The resistance of the Printed Circuit Board (PCB) traces and connections between the source and the ADC input
- Sampling Switch Impedance (RSS): The resistance of the internal switch that connects the input to CHOLD
These impedances combine to form the total resistance (Rtotal) in the charging path. In this context, RIC includes RSS.
For accurate sampling, the sampling time must be long enough to allow CHOLD to charge with an error less than half of the least significant bit (0.5 LSB) for a 12-bit ADC.
This requires a minimum sampling time of:
Sampling Time > 9 × Rtotal × CHOLD
This ensures the voltage on CHOLD closely matches the input signal, minimizing conversion errors and maintaining ADC accuracy.