Vref is set to
GND in this example but a voltage can be connected to R4 to
change the DC level.
Output limitation:
For the MSPM0 family, the
output signal cannot be greater than VDD.
The PGA built into the OPA module
can be used as well, but the external resistor values need to be adjusted. The
ratios are not necessarily going to be equal; therefore, matching can be
imperfect.
The ADC can be set for different
sampling speeds and conversion resolutions as described. These configurations
can be done in SysConfig and more details on the capabilities of the ADC and OPA
are found in the device TRM and data sheet.
LaunchPad Configuration: On the
LaunchPad, the OPA inputs and outputs can be connected to different circuitry
such as the onboard photodiode or thermistor circuits. Check the associated
LaunchPad user guide to determine which jumpers to remove.