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.

CCS/LAUNCHXL-CC1310: How to program the concentrator and node examples from the CCS examples

Part Number: LAUNCHXL-CC1310
Other Parts Discussed in Thread: CC1310

Tool/software: Code Composer Studio

Hi there I have successfully downloaded the sample rfWsnConcentrator and rfWsn node.How to edit them so that I can get my UART application to display temperature reading? am using CC1310 launchpad

Please give the instructions in detail.Thanks

  • The example as is uses the ADC to generate the payload data. If you want to read the temperature using the BATMON you can remove the sensor controller task and insert the temp reading into the payload. How to use the BATMON is covered in multiple threads on the forum, see this one as one example: e2e.ti.com/.../480930
  • Bro it seems very different am using CC1310 easylink node and concentrator sample files.....where to find or edit BATMON
  • You have to add the code outlined in the post I linked to in the the easylink node code.
  • AONBatMonEnable();
    AONBatMonTemperatureGetDegC();


    I Added these to the node task_init(void)
    what else must I add in what code
    and what change must i do to the concentrator
  • Ok... Why did you add AONBatMonTemperatureGetDegC(); to the Init function? I assume you want to measure the temperature more than once?

    Could you confirm that you are a student? (if not, please update the profile with the company you work for) We don't have the bandwidth to write specific code. We provide examples that could act like a guide when writing you code.

    Search for AONBatMonBatteryVoltageGet in the RfWsnNode code to get a hint what you can change to send the temperature instead.
  • yeap am a student,i want the temperature to be received by the concentrator and displayed on the UART app but as of now only nodes,value,sw,rssi only these are displayed plese tell me what and where to put code for this
  • To be a bit blunt: Nobody is going to do your assignment for you.

    If you don't understand a given line in the code we can help you with that but not a detailed how to guide.

    Have you read through the code for the example and understood it? If you read through the code, you will see that battery measurements are sent as part of one package type and it should be fairly straightforward to change this to temperature instead. On the collector side you can display the content of this struckt field.