TIDUEM8B March 2019 – February 2021
The MSP432 software used for evaluating this design is test software. This section discusses the features of the test software, which should provide insights on how to implement custom software for metrology testing. The first subsection discusses the setup of the ADS131M04 device and various peripherals on the MSP432 MCU. Subsequently, the metrology software is described as two major processes: the foreground process and background process.
The test data included in this reference design was taken using the generic test code. This test code has since been further developed into an energy metrology library software.
For all new designs, TI recommends using the ADC Energy Metrology Library software package. This software contains hardware abstraction layers which enable communication between an ADC and an ARM®Cortex®-Mx microprocessor (MCU) and a library of metrology calculations for energy measurements. The software library was developed and tested on an ARM®Cortex®-M4 MSP432P microprocessor, but can also be ported to other ARM®Cortex®-Mx microprocessors using the included hardware abstraction layers. Also included in the software is a Windows® PC GUI to display metrology parameters from the TIDA-010036 and TIDA-010037 reference designs.