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.

MSP-EXP430FR5969 not working

Other Parts Discussed in Thread: MSP-EXP430FR5969, MSP430FR5969

I recently got a MSP-EXP430FR5969 launchpad and when I started to test the out of the box demo, there seems to be some issue.

First, the temperature values read out by the device are in the range of 85-90 degrees centigrade.

Second, although MSP430FR5969 could log the data into the FRAM (confirmed by verifying the operation of LEDs), I couldn't print the data back to my computer.

I don't think backchannel UART is at fault because it could show the readings in the live mode. Furthermore, I could run the basic "Hello_world" program, through which I could display "Hello World!" on the screen. So, I'm assuming micro-controller is also working properly. 

Please help me know why my evaluation board is behaving oddly.

  • Kaushik,

    With regards to your first screenshot, I have the demo working correctly with Celcius and Fahrenheit scaled appropriately. Have you tried resetting the Axes during operation?

    I'm trying to contact someone who will know more about the FRAM log mode. This is not a hardware/software issue I believe on the MSP side of things. This is more a GUI software problem so don't be concerned that your device is broken in any way and let this impede you from moving on to other examples that we ship with our MSP430's/CCS.
  • Kaushik,

    Actually we are seeing the error in the first screenshot now. Allow us some time to investigate and propose a solution. Thank you for making us aware of this!
  • Kaushik,

    We are working on fixes for these right now. The errors seem to be due to a UART timing issue in both cases. We will provide a fix soon, however with the holiday's the fix might be delayed a bit.
  • Evan,

    Thanks for your reply. I tried resetting the axes but nothing seems to work. Please let me know once you fix the issues (i mean after holidays).

  • Kaushik,

    Thanks for the patience! For now we have a small work around that you can implement. Replacing the 2 attached files in the OOB project should fix to the issue.

    Basically, the PC GUI (using a serial-port JavaScript library) expects a certain arbitrary delay between small chunks of UART data transmissions. The delay in the original code somehow is not long enough for the GUI to separate the incoming data.

    We do wish to improve the UART communication to combine small chunks of UART data into larger data blocks, but that will be have to wait until a future MSPWare update.

    8078.FRAMLogMode.c
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    /* --COPYRIGHT--,BSD
    * Copyright (c) 2014, Texas Instruments Incorporated
    * All rights reserved.
    *
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted provided that the following conditions
    * are met:
    *
    * * Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    *
    * * Redistributions in binary form must reproduce the above copyright
    * notice, this list of conditions and the following disclaimer in the
    * documentation and/or other materials provided with the distribution.
    *
    * * Neither the name of Texas Instruments Incorporated nor the names of
    * its contributors may be used to endorse or promote products derived
    * from this software without specific prior written permission.
    *
    * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
    * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
    * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
    * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
    * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
    * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
    * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
    * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
    * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    * --/COPYRIGHT--*/
    /*******************************************************************************
    *
    * FRAMLogMode.c
    *
    * MSP430FR5969 wakes up every 5 seconds from LPM3.5 to measure and store its
    * internal temperature sensor & battery monitor data to FRAM
    *
    * June 2014
    * E. Chen
    *
    ******************************************************************************/
    #include "FRAMLogMode.h"
    #include "main.h"
    #include "driverlib.h"
    /*
    * FRAM Array reserved to store data memory for Temperature and Voltage
    * Stores up to 6,144 Temp + 6,144 Voltage + 1 index data
    * 5 second / sample ~ 8.5 hours of data
    */
    #if defined(__IAR_SYSTEMS_ICC__)
    #pragma location = 0x9000
    __no_init uint16_t dataArray[12289];
    #elif defined(__TI_COMPILER_VERSION__)
    #pragma location = 0x9000
    #pragma NOINIT(dataArray)
    uint16_t dataArray[12289];
    #endif
    // FRAM Array reserved to store FRAM Log Mode starting Time Stamp
    #if defined(__IAR_SYSTEMS_ICC__)
    #pragma location = 0xF002
    __no_init uint8_t timeStamp[6];
    #elif defined(__TI_COMPILER_VERSION__)
    #pragma location = 0xF002
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    2703.main.c
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    /* --COPYRIGHT--,BSD
    * Copyright (c) 2014, Texas Instruments Incorporated
    * All rights reserved.
    *
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted provided that the following conditions
    * are met:
    *
    * * Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    *
    * * Redistributions in binary form must reproduce the above copyright
    * notice, this list of conditions and the following disclaimer in the
    * documentation and/or other materials provided with the distribution.
    *
    * * Neither the name of Texas Instruments Incorporated nor the names of
    * its contributors may be used to endorse or promote products derived
    * from this software without specific prior written permission.
    *
    * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
    * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
    * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
    * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
    * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
    * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
    * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
    * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
    * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    * --/COPYRIGHT--*/
    /*******************************************************************************
    *
    * main.c
    *
    * Out of Box Demo for the MSP-EXP430FR5969
    * Main loop, initialization, and interrupt service routines
    *
    * June 2014
    * E. Chen
    *
    ******************************************************************************/
    #include "main.h"
    #include "LiveTempMode.h"
    #include "FRAMLogMode.h"
    #include "driverlib.h"
    uint8_t RXData = 0; // UART Receive byte
    int mode = 0; // mode selection variable
    int pingHost = 0; // ping request from PC GUI
    Calendar calendar; // Calendar used for RTC
    #if defined(__IAR_SYSTEMS_ICC__)
    #pragma location = 0x9000
    __no_init uint16_t dataArray[12289];
    #endif
    //-----------------------------------------------------------------------------
    int _system_pre_init(void)
    {
    // Stop Watchdog timer
    WDT_A_hold(__MSP430_BASEADDRESS_WDT_A__); // Stop WDT
    /*==================================*/
    /* Choose if segment initialization */
    /* should be done or not. */
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Kaushik,

    Has this solved your concern? If so, please click verify so we can close the thread.
  • Evan,

    Really appreciate the help provided! :) Everything works fine now :)

**Attention** This is a public forum