Section 8 – sample and hold, 1 – detailed description, 1 – operation – Maxim Integrated DS4830A Optical Microcontroller User Manual

Page 65: Ds4830a user’s guide

Advertising
background image

DS4830A User’s Guide

65

SECTION 8 – SAMPLE AND HOLD

The DS4830A has two independent, but identical, Sample and Hold differential channels. Sample and Hold 0 (S/H0)
is on GP2-GP3 and Sample and Hold 1 (S/H1) is on GP12-GP13. The sample and hold function can be configured
for internal or external triggering. Each sample and hold has a dedicated pin for external trigger.

Sampling

Control

ANALOG

MUX

Input

Discharge

Control

S/H Circuit

Current

Source

SHEN*

ADC

External

Clock

Peripheral

Clock

Cs

Cs

*SHEN can be internal or external (SHEN0 or SHEN1)

SHP

SHN

Cp

Cp

Figure 8-1: Sample and Hold Functional Block Diagram

8.1 – Detailed Description

As shown in Figure 8-1, each Sample and Hold consists of fully differential sampling capacitors (C

s

), control logic

and a differential output buffer. The sample and hold also contains a charge injection nulling circuit. Additionally, it
has a discharge circuit to discharge parasitic capacitance on the input node and the sample capacitor before it starts
sampling. The input voltage is sampled using 5pF capacitor on the positive input and another 5pF capacitor on the
negative input. The negative input pin is used to reduce ground offset and noise. The capacitors are connected to
the input pins when sample trigger signal SHEN (either internal or external) is high. During high period of sample
pulse, the sample and hold performs sampling which ends at negative edge of the sample pulse SHEN. In addition to
the sampling capacitors, the input pins also have parasitic capacitance. When the sample and hold is configured for
internal triggering, the sample pulse is internally generated by the sample and hold hardware.

8.1.1 – Operation
When the SHEN signal goes high, the sample-and-hold capacitors are connected to the sample-and-hold input pins
(GPx) for sampling of the input signal. The minimum sample time should be 300ns for proper sampling. When the
SHEN signal goes low, the sampling is stopped and voltage stored at sampling capacitors are converted by the ADC
controller. See Figure 8-2 for Sample and Hold Timings. Each Sample and Hold can be independently enabled by
setting their respective enable bit in the Sample and Hold Control Register (SHCN). The sample and hold has two
modes of operation “Single Mode” and “Dual Mode”.

Advertising