neil hancock / Mbed 2 deprecated kl25z_Usb_Logger

Dependencies:   F401RE-USBHost FastAnalogIn RTC mbed tsi_sensor2 mbed-rtos2

Fork of ReadSendData by Stuart Scott

You are viewing an older revision! See the latest version

Homepage

Homepage for kl25z_Usb_logger

2014Oct05 - Published simple kl24z_usb_logger

Testing: Version (?) was run over 28days starting 2014Sept07, reading a sensor data every seconds and then on the USB stick open file, write record, close file

This is - 2,419,200seconds ( 28days*24hrs*3600seconds) The stick data reflected 2,447,633 seconds, but only had 1,776,366 data records After 407,650 data records started missing updates - analysis: the file could not be opened and read to the end in the allocated 1second, and therefore missed the next ADC deadline.

By the end of the test period with 1,776,366 reocords on the USB Stick, ever read then write was causeing it to miss two/three ADC updates - ie taking longer than two seconds.

Analysis: this was an agressive test, and normally would not be opening, writing, closing every 1second. However big plus the file mechanism held up and the program continued to operate, with a graceful failure of a missed ADC readings.


All wikipages