AnsweredAssumed Answered

Freecntr32 : GetTimeReal function

Question asked by kennyl on Nov 19, 2015
Latest reply on Dec 2, 2015 by kennyl

I'm a newbie with Eclipse and Kinetis Design Tool 3.0.0; and have recently been trying out the Freecntr32 function FC321_GetTimeReal(). I notice that the pop-up instructions indicate that this function returns the time in units of seconds. However, I found that it is returning the number of clock counts instead. So it's not returning the time in units of seconds. On the other hand, the FC321_GetTimeSec() function is returning the time in units of seconds. So, FC321_GetTimeReal is giving me a value between 0 and 65535 (and keeps cycling), while FC321_GetTimeSec is really giving the number of seconds. Are the pop-up instructions erroneous for GetTimeReal? I am using the KDS 3.0.0 with the KL25Z board (with Processor Expert assistance) at the moment. Thanks all.

Outcomes