TI C2000 ADC Type 4 GUI
Purpose
High fidelity model of TI's C2000 ADC module with Graphical User Interface configuration.
Library
Processor in the Loop / Peripherals / TI C2000 / ADC
Description
This block models the TI Type 4 ADC module. With the Graphical User Interface, the block can simply be configured using combo boxes in the component mask. Under the hood, the resulting register configuration is forwarded to the register based implementation of the TI Type 4 ADC module. The resulting register configuration further is accessible via the probe signals.
For a detailed description of the supported features and the usage of the block please refer to the detailed documentation Analog Digital Converter (ADC) Type 4.
Parameters
ADC General
- System Clock [Hz]
- The system clock of the processor defined in Hz.
- ADCCTL2.PRESCALE
- Register cell defining the ADC clock based on the System Clock.
- ADCCTL2.SIGNALMODE
- Register cell defining the mode and resolution used for conversion.
- Voltage Reference [LO,HI]
- Specification of external reference voltage in mask.
- Output Mode
- Defines representation of conversion results.
ADC INTSELxNy
- ADCINTSELxNy.INTxE
- Enables interrupt generation for INTx.
- ADCINTSELxNy.INTxSEL
- Defines trigger (EOC flag) for INTx.
ADCSOCx/y
- ADCSOCxCTL.TRIGSEL
- Defines trigger source for SOCx.
- ADCINTSOCSEL1.SOCx
- Defines SOCx trigger to be an interrupt. Overwrites TRIGSEL selection if not chosen to NO ADCINT.
- ADCSOCxCTL.CHSEL
- Selects input channel converted by SOCx.
- ADCSOCxCTL.ACQPS
- Defines length of sampling window for SOCx.
PPBx
- ADCPPBxCONFIG.CONFIG
- Defines associated SOC.
- ADCPPBxCONFIG.TWOSCOMPEN
- Enables inversion of error calculation.
- ADCEVTSEL.PPBxZERO
- Enables event generation for ADCPPBxRESULT zero crossing detection.
- ADCEVTSEL.PPBxTRIPLO
- Enables event generation for ADCPPBxRESULT low level limit detection.
- ADCEVTSEL.PPBxTRIPHI
- Enables event generation for ADCPPBxRESULT high level limit detection.
- ADCEVTINTSEL.PPBxZERO
- Enables interrupt for ADCPPBxRESULT zero crossing detection.
- ADCEVTINTSEL.PPBxTRIPLO
- Enables interrupt for ADCPPBxRESULT low level limit detection.
- ADCEVTINTSEL.PPBxTRIPHI
- Enables interrupt for ADCPPBxRESULT high level limit detection.
- ADCPPBxOFFSET
- Defines ADCRESULTx offset.
- ADCPPBxTRIPHI
- Defines ADCPPBxRESULT high level limit.
- ADCPPBxTRIPLO
- Defines ADCPPBxRESULT low level limit.
Probe Signals
- ADCCTLx
- ADC Control registers resulting from mask settings.
- ADCSOCxCTL
- ADC SOC control registers resulting from mask settings.
- ADCINTSELxNy
- ADC interrupt module control registers resulting from mask settings.
- ADCINTSOCSELx
- ADC SOC interrupt trigger control registers resulting from mask settings.
- ADCEVTSEL
- Configuration register for PPBx event generation.
- ADCEVTINTSEL
- Configuration register for PPBx interrupt generation.
- ADCPPBxCONFIG
- Configuration register for PPBx.
- ADCPPBxOFFCAL
- ADCPPBx offset register.
- ADCPPBxTRIPHI
- ADCPPBx high level trip register.
- ADCPPBxTRIPLO
- ADCPPBx low level trip register.