Closed
Description
Description
- Type: Bug
- Priority: Major
Bug
Target
NCS36510
Toolchain:
GCC_ARM|ARM|IAR
mbed-cli version:
1.2.0
mbed-os sha:
47c890da8
Expected behavior
When RTC time value is set and read in sequence, then set value should be returned by the read function.
After setting RTC time we should have about 1 second to finish read operation. It is long enough to assume that the set value should be read.
Actual behavior
On NCS36510 board if we perform time set and get operations in sequence, then it looks like about 60 sec have elapsed between set and get operations.
Steps to reproduce
set_time(1256729737);
seconds = time(NULL);
TEST_ASSERT_EQUAL(1256729737, seconds); // FAIL: Expected 1256729737 Was 1256729797