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.

MSP430FR6047: How to change the USS parameter UPS0 to UPS1 Gap (ms) via UART during runtime without using USSD Center.

Part Number: MSP430FR6047

Hi Everyone,

I am trying to change the UPS0 to UPS1 Gap (ms) during runtime via UART, I am using the example code FR6047_USSSWLib_template_example. In certain scenario I want to bring the gap USS_SYS_MEASUREMENT_PERIOD to 1638(50ms) from 32768(1000ms) via  UART from another module. I am using a CUSTOM PCB in which my MSP430FR6047 can communicate with another device via UART. Please direct me to the best way to achieve this. 

Thanks in advance.

  • Hi Antony,

    Our USS expert is out for a while so I'll see if I can help you with your question.

    I found this parameter is located in USS_userConfig.c so you do have access to it during runtime.

    I don't know if the UART protocol will allow you to change this directly so let me dig into this.

  • Thanks for the response, I was able to find the parameter, I am trying to figure out how to change this via UART during runtime. 
    Thanks

  • Yes, that's what I'm trying to find for you. :)

  • Hi Antony,

    There doesn't appear to be a command associated with this parameter.   Here is the only place it gets modified during run-time.

    It is used during the initialization of the GUI.

    I also looked through all of the design center parameters, located in the Design Center UG, section 11, but found now parameter.  So this appears to be a value that is set during initialization and not modified from the GUI.

    Now, with that said, since you are communicating with the FR6047 using UART to UART from another device, what protocol are you using.  How are you sending data back and forth now?  You could add a command that when the FR6047 receives it, call the function USS_configAppTimer.Period( ).

  • Hi Antony,

    It's been a few days since I have heard from you so I’m assuming your question has been answered.
    If this isn’t the case, please click the "This did NOT resolve my issue" button and reply to this thread with more information.
    If this thread locks, please click the "Ask a related question" button and in the new thread describe the current status of your issue and any additional details you may have to assist us in helping to solve your issues.

**Attention** This is a public forum