ARMmbed / ci-test-shield

mbed CI Test Shield
Apache License 2.0
9 stars 36 forks source link

Consider adding a time keeping device #56

Open bridadan opened 7 years ago

bridadan commented 7 years ago

In mbed OS testing, we currently struggle to have a trusted time keeping source to compare the hardware timers. We have been using the host PC as the trusted time source, but it isn't a real time system so the time can skew significantly by the time it is communicated with the device.

If we could have something like an RTC or a 555 timer circuit as a trusted time source, it would allow us to more accurately measure time and compare it with the device-reported time.

0xc0170 commented 7 years ago

We got RTC in HAL, would that be sufficient? Or you are proposing to have external RTC module, that we would compare against?

bridadan commented 7 years ago

@0xc0170 yeah, something that we can trust with an externally versioned RTC library/implementation.

Also, not all boards have an RTC, but all boards do have timers that would be nice to verify!

BlackstoneEngineering commented 7 years ago

Will take this into consideration for the next major revision of hardware! Thanks for the feedback! Will keep you in the loop going forward.