SLAA638A august 2014 – may 2023 MSP430I2040 , MSP430I2041
When the EVM has been powered, some of the seven LEDs will be flashing or turned on to indicate its operation status. Some of the LEDs are not used; make changes to the provided source code to make use of all the LEDs, as necessary. The list of LEDs’ indication is listed in Table 6-1.
LED | State | Indication |
---|---|---|
LED1 | ON | Background Operations Running |
LED1 | OFF | Background Operations Completed |
LED2 | ON | Voltage Negative Half Cycle |
LED2 | OFF | Voltage Positive Half Cycle |
LED3 | ON | Not used |
LED3 | OFF | Not used |
LED4 | ON | Foreground Operations Running |
LED4 | OFF | Foreground Operations Completed |
LED5 | ON | EVM is in AC mode measurement |
LED5 | OFF | EVM is not in AC mode measurement |
LED6 | ON | EVM is in DC mode measurement |
LED6 | OFF | EVM is not in DC mode measurement |
LED7 | ON | Active Energy Pulse Pulsing |
LED7 | OFF | Active Energy Pulse Idle |
The EVM is now ready to run, launch the software “calibrator-20121120.exe” in the folder “calibration-runtime” to start communicating with the EVM. A window as shown in Figure 6-1 appears. As defined in the XML file “calibration-config.xml”, meter position 1 is assigned the serial port to communicate with the EVM, the [Comms] indicator turns green if communication to the EVM from the PC is established and it flashes between read and green when the communication is taking place.
Click on the [Comms] indicator in the Meter Status window as shown in Figure 6-2.
This window shows the current reading of the meter. The background of a reading box is gray if the EVM does not support that particular reading. It turns red if the reading from EVM to that box has a large variance. It turns yellow if the reading from EVM has a fairly low variance. It turns green if the reading has a low variance. Note that the software on the PC reads the EVM every second and it also does some averaging to the data read, thus, the update rate is slower than the update rate of the EVM.
At the bottom of this window, there are four buttons:
To modify the calibration factor requires the correction to be entered in the percentage error. The percentage error is calculated as shown in Equation 23:
Put the percentage error in the corresponding box in the Meter Error Window (see Figure 6-5). Click Update meter and the updated calibration values will be calculated and written to the EVM. The corresponding values will be reflected in the Meter Calibration Factor Window.