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.

RTOS/LAUNCHXL-CC1350: How are the sensors(temp, humidity and light) in the example of connector and sensor project at TI 15.4 Stack connected to LAUNCHXL-CC1350 board?

Part Number: LAUNCHXL-CC1350
Other Parts Discussed in Thread: CC1350,

Tool/software: TI-RTOS

Hallo, everyone

I'm currently developing a project based on custom cc1350 boards and need to build a star-network. Now I could make a one-to-one network based on the example project Sensor and Collector from TI 15.4 Stack, the temperature value could be shown to a uart port, but always with a value of around 32, probably means 0.32 Celsius degree?   

Actually, I need an ADC channel to sample the voltage signal on the sensor board and send to the collector,  that's why I asked here if anyone knows how the sensors are connected to LAUNCHXL-CC1350 board? the board get the temperature signal digitally or use adc channel to sample an analog tempreture signal?

Many thanks in advance!

  • Just noticed that there is on-chip temp sensor ...
  • It reads internal temperature sensor.
  • As far as I can see the the reading of the sensor is done in the sensor.c by:

    /*!
     * @brief   Manually read the sensors
     */
    static void readSensors(void)
    {
    #if defined(TEMP_SENSOR)
        /* Read the temp sensor values */
        tempSensor.ambienceTemp = Ssf_readTempSensor();
        tempSensor.objectTemp =  tempSensor.ambienceTemp;
    #endif
    }
     Public function defined in ssf.h
     */
    int16_t Ssf_readTempSensor(void)
    {
    #ifdef POWER_MEAS
        return (0);
    #else
        return ((int16_t)AONBatMonTemperatureGetDegC());
    #endif /* POWER_MEAS */
    }

    Meaning that the the BATMON is used (see chapter 18 in )

    So if the sensor returns 32 I assume it's 32 degrees in the chip (have you tried to cool it down some?)

    You should be able to add/ change sensors to this part of the code and to use the ADC to read an external sensor. (Or I2C if the sensor is digital)