PLECS 3.7 Online Help

TI C2000 ADC Type 3 Simplified

Purpose

Simplified model of TI's C2000 ADC module with Graphical User Interface configuration.

Library

Processor in the Loop / Peripherals / TI C2000 / ADC

Description

pict

This block provides a simplified model of the TI Type 3 ADC module retaining the timing behavior of the hardware ADC. The component supports either single or simultaneous measurements with configurable sample window length and conversion voltage reference. Due to simulation efficiency reasons, the conversion results are calculated as the average of the input values at the begin and the end of the sampling window. The component further provides an interrupt pulse on the output which indicates an available conversion result.

In single sampling mode, a pulse on the trigger input invokes a single conversion of ADCIN1. The ADCINT pulse indicates that the conversion result is available at ADCRESULT1.

In simultaneous sampling mode, ADCIN1 and ADCIN2 are sampled simultaneously. The ADCINT pulse indicates that the conversion result is available at ADCRESULT1 and ADCRESULT2.

Parameters

ADC clock [Hz]
The ADC time base clock defined in Hz.
Sampling Mode
Defines sampling mode of ADC.
Sample Window length
Defines length of sampling window based on the adc clock period.
Reference Selection
Defines reference voltage range used for conversion.
External Reference [LO,HI]
Specification of external reference voltage in mask.
Output Mode
Defines representation of conversion results.

Probe Signals

ADC_Trig
Trigger input of simplified ADC.
ADCINx
Measurement inputs of simplified ADC.
ADCRESULTx
Conversion results of simplified ADC.
ADCINT
Conversion result available pulse of simplified ADC.