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.

CC1310: RTC in NORTOS cc1310

Part Number: CC1310

Dear All ,


we are working on cc1310 and used NORTOS .

we want to use RTC for an event , where we should able to store the (RTC) Time at which that particular event occurred.

can we have any example on RTC in NORTOS?

How can we initialize and use RTC?
which Driver files we should include for RTC (NORTOS)?

Thanks !

riki

  • Hi Riki,

    It is not trivial to use the RTC together with NoRTOS as the RTC is configured and used by the TimerP module (later used by the ClockP module). This means the RTC interrupt is already enabled and bound to a callback function.

    Simplest way I can think of to extend this (TimerP only utilize RTC channe0) is to look into the TimerPCC26XX_nortos.c file and try to extend/alter this so that the you can setup and handle more RTC events in the interrupt.