Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hi,
For my project I need a real time clock. Unfortunately I can't find any example how to implement it.
I'm using MSP432.
Thank you for your help
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.
Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hi,
For my project I need a real time clock. Unfortunately I can't find any example how to implement it.
I'm using MSP432.
Thank you for your help
Thank you Janet,
I've tried:
Seconds_set(1412800000);
while (1) {
uint32_t sec = Seconds_get();
System_printf("Sec = %i\n", sec);
System_flush();
Task_sleep((UInt)arg0);
GPIO_toggle(Board_LED0);
}
And it seams to work.
Then I commented out the set command:
//Seconds_set(1412800000);
After the that the time does not increase every second.
I haven't unplugged the device from AC.
Does it mean that I have to set the time every time I rebuild the program or my RTC is not working like it should.
Thank you!
Miha