Hi.
is there any document which give SDK Function execution times?
e.g. in Flash driver and the follow function -> "FLASH_DRV_Program"
or other functions like LPSPI?
Thanks.
Hi JeorgeB,
Please refer: Measure the running time of one function on S32K
The unit of measurements of the variabile ARM_CM_DWT_CYCCNT is CORE_CLK cycles.
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Thanks for kind reply,
in s32kxx RM, page 2143, there is a table which says DWT in s32k142 can not be access by user application.
so, for each function we can not use this unit in runtime.
is there any document from NXP which give SDK function times? or we should measure them in debug mode and consider that in run time application?
We don't have document which give SDK Function execution times.
I think you can have a test on your board.
You can also refer: Help with the library elapsed_time for the time analysis of function
see how to use it directly from the application code: Cycle Counting on ARM Cortex-M with DWT