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.

BOOSTXL-SENSORS: + red MSP432 board issues

Part Number: BOOSTXL-SENSORS

Hi team,

 

I am working with the red 432P launchpad and BOOSTXL-SENSORS I just received and seeing odds things. Using the latest ET-GUI from:

http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/BOOSTXL-SENSORS/latest/index_FDS.html

 

Launching the GUI, and programming it as per the users guide. Changed the baud on the GUI and Windows to 115200, used the GUI to successfully program the MCU, everything loaded fine. But the GUI always says “waiting for data”. There is nothing in the guide about needing button inputs but I started pressing them and it takes pressing S3 (which is reset?) for it to connect. Doing that allows it to connect. Still no sensor data is streaming. You have to press S3 again and you get a single momentary ping of sensor data for the accelerometer (no other sensors ever register). I have closed the GUI and unpluged/re plugged the launchpad and it’s the same. I have done nothing out of the ordinary, so I’m at a loss.

What do you suppose is going on?

 

Thanks,

Billy

  • Hello Billy,

    Let me check the same and see what the issue is. Some of the demo examples seem to be broken and I am working on debugging the same.
  • Thanks Amit!

    I’m confident you will find the same thing. When you do at least I’ll know its not just me :)

    Maybe there's another version of the binary/project/source somewhere internally before it was broken.
  • Hello Billy,

    I imported the application from the latest SDK in CCSv8, built and downloaded the firmware. After that I used the GUI to connect to read the data and it worked as expected and it has been running for the last 3 minutes without any issues. I can see the data change for the Ambient Light and Board Movement getting recorded.

    When i try to download the firmware using the GUI it fails to program though.
  • Hi Amit,

    The GUI programs it fine, I did so twice hoping it was just a bad load. You may have had a baud issue or port issue or something else. I did not know this exact same project existed in the SDK. I would have gone that route from the jump. I went this route with the BOOSTXL-SENSORS package for simplicity and because thats what a customer I was helping was following.

    So in the end if the SDK project works but the binary packaged in the GUI-ET here doesn’t, can you/someone replace the binary? I see the GUI is pulling that locally in the package from:

    \\BOOSTXL-SENSORS_GUI_ET\BOOSTXL-SENSORS_GUI+ET\target   ->  BOOSTXL-SENSORS_SensorGUI_MSP432P401R.out

    Thanks,

    Billy

  • Hello Billy,

    That is why I am trying to get the GUI to program the device, to see what the issue is. In case it is just the out file is incorrect or broken, then it is rather simple to fix it.
  • Hi Amit,

    Well you don't need to worry about comparing the binary's anymore, its not that.  I am beginning to think I have a bad sensor boosterpack. Its the exact same situation using the CCS project out of the SDK on this machine, Win 7/32 bit. Everything loads and programs just fine, drivers are fine, com ports fine, it connects but still no live data. I have to keep hitting the reset button and only get a 1 time ping of data each time I press it. And that’s just data from the 3 sensors on the right, see my screenshot. I've yet to see any other sensors become active.

    I then took it to my personal Win 10/64 bit, grabbed the GUI package, launched it and its identical. I have to keep pressing reset and just get a 1 time ping and only on those 3 sensors:

    What do you think? Bad boosterpack?

    Thanks,

    Billy

  • Hello Billy,

    Yes, it may be a bad booster pack. Since the booster pack communication is over I2C, you may want to connect a scope or LA probe to the SCL and SDA to see if the transactions are going through!
  • Hi BillyO,

    From what I know the GUI MSP430 Software example in this link is deprecated software-dl.ti.com/.../index_FDS.html

    Use the one at the most recent MSP430 SDK release.

    -kel
  • Hi Kel,

    Hm, I don’t think that’s right. Its directly linked in the latest users guide and I don’t see the GUI even in 432 SDK. Yes the project source in the 432 SDK appears to be a complete clone of the BOOSTXL-SENSORS package, but there is not a GUI.

    In other words you have no choice but to get the BOOSTXL-SENSORS package to obtain the GUI.

    Thanks,
    Billy
  • Hi BillyO,

    I encountered your problem before. TI Engineer told me that MSP430 Sensors GUI Example Program in this link is deprecated software-dl.ti.com/.../index_FDS.html

    So you flash your MSP430 LP with the hex or bin file from "C:\ti\simplelink_msp432p4_sdk_1_60_00_12\examples\nortos\MSP_EXP432P401R\demos\boostxl_sensors_sensorgui_msp432p401r"

    Then use the GUI software only at software-dl.ti.com/.../index_FDS.html

    Maybe you can re-confirm this within TI.

    -kel
  • Hi Kel,

    We think alike :) Yes I did exactly that yesterday (2 posts above). The source project built from CCS, or loaded from the GUI is the same result (for me). I went another step further and did it on my personal Win 10 machine (previously on a Win 7).

    Like I said 2 posts ago I’m confident now that I have a bad boosterpack. You have to constantly press reset over and over to get a single ping of readings and even then, only 3 sensors report. This is with the binary loaded from the GUI, OR being built via the CCS source in the SDK.

    Thanks,
    Billy
  • Okay. But, to be more sure that your BP is bad, try at another Launchpad. You can get code at Sensors Actuator Plugin SDK to test each sensor.

    -kel
  • Hello Billy,

    After debug we did determine that the TMP007 is not populated on the new boards as it has been OBSOLETE. The suggested workaround is to comment the code that initializes the TMP007 and reads data from it. We will file a software change request so that it can be made customizable based on the new board. Also attached is the code for the same, in case other forum users run into the same issue.

    I will close the forum post in case there are no further issues.

    0640.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 (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
    //
    // 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.
    //
    // MSP432 Low Power main.c
    //
    // Description: Source code for the implementation of the Bosch BoosterPack with
    // an MSP432P401R launchpad for low power consumption. BoosterPack includes:
    // - Inertial Measurement Unit (IMU) sensor with an accelerometer and gyroscope
    // - Magnetometer
    // - Environmental sensor with pressure, ambient temperature and humidity
    // - Ambient light sensor
    // - Infrared temperature sensor
    //
    // Adapted by Michael Arriete
    //
    //****************************************************************************
    #include <stdbool.h>
    #include <stdint.h>
    #include <string.h>
    #include <ti/devices/msp432p4xx/inc/msp432.h>
    #include "stdio.h"
    #include <ti/devices/msp432p4xx/driverlib/driverlib.h>
    #include "i2c_driver.h"
    #include "demo_sysctl.h"
    #include "bmi160_support.h"
    #include "bme280_support.h"
    #include "tmp007.h"
    #include "opt3001.h"
    #include "uart_driver.h"
    //***** Definitions *****
    #define CPU_FREQ (48000000)
    #define USING_BOSCH_BP
    #define SAMPLE_TIME_1 (53)
    #define SAMPLE_TIME_2 (26)
    #define SAMPLE_TIME_4 (13)
    #define SAMPLE_TIME_6 (8)
    #define SAMPLE_TIME_8 (6)
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Thanks for all of the help confirming this with me Amit!

    -Billy

**Attention** This is a public forum