This component implements a first order DeltaSigma modulator from the SC/CT blocks. It exposes the parameters to easily configure the modulator operation.
+Input – Analog
Positive analog signal input to modulator. A voltage applied to the input that is equal to the reference voltage will result in a modulated output with a ~50% duty cycle. If the voltage is less than the reference, it will reduce the duty cycle. If the voltage applied is higher than the reference, it will increase the duty cycle.
-Input – Analog
Determines the negative signal and the range of the modulator, depending on the setting of the parameter Input_Range
Clock – input
Controls the speed of the modulator output. Recommended clock rate is between 5 KHz to 4 MHz.
ModOut – Output
Digital modulator output
Mod_Reset (optional) – Input
A high on this line is used to reset the integration capacitor of the modulator. When the Mod_Reset signal is driven high, the modulator output is undetermined and should be ignored.
Vout (optional) – Output
Enables the output of the integrator for debugging purpose
Enable_Mod_Reset: Enables the Mod_Reset terminal
Enable_Vout: Enables the Vout terminal
Input_Range: Configures the input range of the modulator.
0: Vref +/- 0.5*Vref
1: Vref +/- 2*Vref
Application Programming Interface
Application Programming Interface (API) routines allow you to configure the component using software. The following table lists and describes the interface to each function. The subsequent sections cover each function in more detail.
void SCModulator_Start (void): This function initializes and starts the modulator.