The example demonstration project is found on the TIDA-010985 tool folder. CCS Version: 12.8.1.00005 is used for this design. Install CCS and MSPM0 SDK, if not already done.
Download and import the demonstration project
Start CCS software debug mode
Check the continuous refresh option for the CCS watch window
Add variables to the watch window to observe measurements, for example, gRn, gRp. gRn and gRp are compensated values based on the two 12.5MΩ RES60A resistors in parallel with RP and RN. For the effective RP and RN, add "rn" and "rp" to the watch window.
If changing the default settings of the ADC such as the timing and hardware averaging is desired, modify the syscfg file in the project. By default, the two ADCs (ADC0 and ADC1) sampling periods are set to 1ms, and the number of hardware averages is set to 128 conversions (Figure 3-3 through Figure 3-5). Note that the hardware averaging helps with reducing the noise effect on measurement. For more information on how to properly change the IMD cycling time, see the Prediction Algorithms section.
Figure 3-3 CCS Expression Watch Window Running on Continuous Refresh Mode During a Debug Session