in the environment of CCS5.5.0+TMS320F28035+XDS100V1,use "clock" to test the time of SFO()。
we test the this function:update_MepScaleFactor();
void update_MepScaleFactor( void )
{ /* MEP_ScaleFactor initialized using function SFO ()*/
while (SFO() == 0) { } /* MEP_ScaleFactor calculated by MEP Cal Module */
}
test method:use CCS5 "run->clock"
result:
use "step into",update_MepScaleFactor() test clock result 2723。
use "step over",update_MepScaleFactor() test clock result138599。
Q:why use "step into" and "step over" get two diff results?