Main Content

Analog System

Configure and use analog peripherals such as ADC, CMPSS, DAC, and more

Create Simulink® models with the analog peripherals such as ADC, CMPSS, DAC, and more available on TI’s C2000™ microcontrollers. Configure the Simulink model to interface with supported target hardware using model configuration parameters. You can map tasks and peripherals in a model to hardware board configurations using Hardware Mapping tool. The blocks are processor specific and is not be available on all TI’s C2000 microcontrollers.

Blocks

expand all

ADC Type 0Analog-to-digital converter (ADC)
ADC Type 1-2Analog-to-digital converter (ADC)
ADC Type 3-5Configure ADC to sample analog pins and output digital data
C2802x/C2803x/C2806x/F28M3x AnalogIO InputConfigure pin, sample time, and data type for analog input
C2802x/C2803x/C2806x/F28M3x AnalogIO OutputConfigure Analog IO to output analog signals on specific pins
F2807x/F2837xD/F2837xS/F28004x/F2838x/F2800xx CMPSSCompare two input voltages on comparator pins (Since R2020a)
C2802x/C2803x/C2806x/F28M3x COMPCompare two input voltages on comparator pins
F2807x/F2837xD/F2837xS/F28004x/F28003x/F2838x DACConfigures the DAC to generate an analog output on the specified DAC channel A/B/C (12-bit)

Functions

c2000setup Launch C2000 Microcontroller Blockset hardware setup interface (Since R2023a)

Tools

Hardware MappingMap tasks and peripherals in a model to hardware board configurations (Since R2022b)

Topics