measure RTC crystal freqeuncy against MCU crystal

Dependencies:   mbed

This program uses the RTC 1-second interrupt to capture the Timer microsecond value to estimate the error in the RTC's 32KHz crystal. (the K64F MCU's crystal could be in error as well, though mine was within 20 ppm). This program measured the error at about 250 ppm, well out of the 20ppm spec for the RTC crystal???

History

first cut default tip

2015-10-27, by manitou [Tue, 27 Oct 2015 21:07:11 +0000] rev 0

first cut