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.

CC1350: UTC Timestamp application design

Part Number: CC1350

Hello Ti,

I am looking for suggestions on application design.

Context:

I operate a star-configured network with CC1350's as nodes and a CC1350 collector. The applications are very similar to the example sensor_cc1350 & collector_cc1350 within the SDK.

Devices need to retain some form of timestamp when sensors & gateway are disconnected. The devices have flash storage to retain data recordings when the collector network is not available.

Previously, I have implemented a form of UTC time sync from the collector to the sensors, and setting using the Seconds_set module.

Problem:

To improve power consumption of the device, I am looking to implement a nano-timer design similar to https://www.ti.com/tool/TIDA-00484. This causes a problem from my previous implementation, it would require a resync from the collector each power up, forcing the device to be powered longer.

Question:

I am looking for suggestions / alternative ways to keep time on the device. Timestamps need to map to real-time UTC once received on the collector from the original. Devices need to retain timestamps of when data was recorded.

  • Hello CDEV,

    Usually, Collector devices tend to be powered on all the time. The only thing I can suggest is having the RTC counting all the time while in standby also.

    Regards,

    AB

  • AB,

    Thanks for the follow up. Yes, the collector will be powered nearly all the time. To have fault tolerance, the nodes need to be able to store sensor observations via flash in the event of outage for the gateway.

    Because the nano timer would power down the device, any peripherals off, removing its ability to continue counting. I'm looking for a way to determine the UTC timestamp when the measurement was taken, while also having this power down.

  • another option I can provide is to use the time/utc module included in the BLE stack source. Look at the SDK in source/BLE folder. it is called utc_clock. This will use RTOS timers, and will allow the device to sleep. note that it will be updating periodically but should not be too energy consuming.