Hi,
I need to obtain a time reference to use in timestamping data received from a sensor over I2C. I'm exploring the use of the LM4F120 with Stellaris Launchpad. I'm new to all of the library functionality provided for Stellaris Launchpad/LM4F120, so this may be a stupid questions. I've searched through most of the documents and on this forum with no luck.
The answer I'm looking for can be an interim solution for now. but I need to capture a timestamp that I can compare relative timing of data to a millisecond or better resolution. Milliseconds or microseconds since some initialization start Long or double would be good. I'm hoping there is something more readily available than using a timer (I'll get to that later). Any suggestions?
Background and Environment: I'm experimenting with the Invensense MPU-9150 IMU and in the process trying to port some of their MotionDriver API code to run on LM4F120, Stellaris Launchpad. I'm developing on Ubuntu 12.04 and using CCS 5.2 for the first time. Thanks to help from this Forum I've made progress on the learning curve.
Thanks in advance for your help.