Hi Team,
Note:
- we are integrated in vector OS.
- Gel file core clock value
Method to verify core clock frequency in app (CycleCounterP_getCount32):
-
The below observation shall get the time stamp between 1000, 2000 and 3000 “NOP” operations.
-
The result for the delta value 3500 CPU cycle counter value as number for each 1000 NOP. Then for one NOP It would take around 3.5ns.
-
The core clock was assuming as per the gel file configured for 400Mhz, then one cycle operation (Single “NOP “) will take 2.5ns theoretically.
-
Hence practical value is not matched with the theoretical value.
Could you please clarify mentioned below points guide us?
-
My understanding the above delta value is not a tick value, CycleCounterP_getCount32 return value in ns.
-
If the CycleCounterP_getCount32 return the tick value means, the 1000 NOP match with 1000 ticks.
- how to get almost match value with practical
Thanks
Vivek Arivazhagan