TIDUEM8B March   2019  – February 2021

 

  1.   1
  2.   2
  3.   3
  4.   4
  5.   5
  6.   6
    1.     7
      1.      8
      2.      9
    2.     10
  7.   11
    1.     12
    2.     13
      1.      14
      2.      15
      3.      16
      4.      17
      5.      18
      6.      19
      7.      20
      8.      21
      9.      22
      10.      23
    3.     24
      1.      25
        1.       26
        2.       27
        3.       28
        4.       29
          1.        30
          2.        31
      2.      32
        1.       33
          1.        34
          2.        35
          3.        36
          4.        37
          5.        38
          6.        39
          7.        40
        2.       41
          1.        42
        3.       43
          1.        44
            1.         45
            2.         46
          2.        47
          3.        48
  8.   49
    1.     50
      1.      51
      2.      52
        1.       53
          1.        54
          2.        55
        2.       56
      3.      57
    2.     58
      1.      59
        1.       60
        2.       61
        3.       62
          1.        63
          2.        64
            1.         65
            2.         66
              1.          67
                1.           68
                2.           69
              2.          70
              3.          71
      2.      72
        1.       73
        2.       74
  9.   75
    1.     76
    2.     77
    3.     78
      1.      79
    4.     80
    5.     81
    6.     82
  10.   83
    1.     84
  11.   85
  12.   86

How to Implement Software for Metrology Testing

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.