This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0G3507: Repurpose an existing GUI to view data captured by the LP-MSPM0G3507.

Part Number: MSPM0G3507
Other Parts Discussed in Thread: ADS131M08EVM, , , TIDA-010243

Hello,

We are attempting to build a Proof-of-Concept Prototype, based on the TIDA_010243 reference design, using the LP-MSPM0G3507 and ADS131M08EVM.  The concept is to use the LP-MSPM0G3507 to capture data, via the SPI port, from eight (8) Wheatstone Bridges connected to the ADS131M08EVM: the connections made between boards are illustrated below.


              LP-MSPM0G3507                                                  ADS131M08EVM
              (Controller)                                                   (Peripheral)
      +-------------------------+                                     +-------------------------+
      |                         |                                     |                         |
      |                    J1:1 +--( 3V3 )----------------------------+ DVDD (TP1)              |
      |                         |                                     |                         |
      |                   J3:21 +--( 5V )-----------------------------+ R70PAD (EVM_RAW_5V)     |
      |                         |                                     |                         |
      |                      J7 +--( PB27 - SYNC/RESET )-->-----------+ J10:1 (SYNC/RESET)      |
      |                         |                                     |                         |
      |                   J2:15 +--( PB8 - PICO )--------->-----------+ J10:2 (DIN)             |
      |                         |                                     |                         |
      |                   J2:24 +--( M0_CLKOUT )---------->-----------+ JP10: (8.192 MHz)       |
      |                         |                                     |                         |
      |                   J2:13 +--( PB6 – CS0 )---------->-----------+ J10:4 (CS)              |
      |                         |                                     |                         |
      |                    J1:7 +--( PB9 - SCLK )--------->-----------+ J10:5 (SCLK)            |
      |                         |                                     |                         |
      |                      J6 +--( PB26 - !DRDY )-------<-----------+ J10:6 (!DRDY)           |
      |                         |                                     |                         |
      |                   J2:14 +--( PB7 - POCI )---------<-----------+ J10:7 (DOUT)            |
      |                         |                                     |                         |
      |                   J2:20 +--( GND )----------------------------+ J10:8 (GND)             |
      |                         |                                     |                         |
      +-------------------------+                                     +-------------------------+


To view data using the existing "Energy-Metrology-GUI" [GUI] executable, extracted from ADCEnergyMetrologyLibrarySW_1.03:

1. Left the TIDA_010243 reference design code running on the LP-MSPM0G3507.
2. Exited Code Composer Studio [CCS].
3. Cycled power OFF then ON to both boards, to establish a clean, standalone startup and synchronization between boards.
4. Modified the .xml file, associated with the GUI executable file, to use one of the available COM ports (COM4, COM5, COM7, etc.).
5. Launched the GUI.

However, communication could not be established between the development PC and the LP-MSPM0G3507.  Each of the three COM port numbers listed in "4." were used in the .xml file and attempted independently: each attempt failed.

Are there any adjustments (e.g.: code, .xml, hardware, etc.) that can be made to take advantage of the TIDA_010243 working design?  If not, is there an alternate GUI I can use to view the data captured by the LP-MSPM0G3507?  Please advise.  

Thanks for your help.

Best,

Dag.FF2

  • Hi Dag,

    Are you using the energy metrology library found in the MSPM0 sdk?

    If you're using the LP-MSPM0G3507 you should be able to use PA10 and PA11 as UART, make sure you set J21 and J22 to go through the XDS110 port. You'd then use the XDS110 Application/User UART port.

    In the calibration-config.xml file in the Energy-Metrology-GUI folder change the COM port number and speed to match what the MSPM0G3507 is operating at.

    We also came out with an orderable version of the TIDA-010243, https://www.ti.com/tool/ADS131M08MET-EVM, you should be able to get the EVMs running the metrology code, but the accuracy would be worse than the dedicated design.

    Regards,
    Luke