Hello Xiang Xiao,
The DWT_CYCCNT register provides the high-resolution time I need.
Thanks for the solution!
Jiawei Wang
On 2025/01/13 16:02:45 Xiang Xiao wrote:
> why not use perf count from DWT for performance measurement:
>
https://github.com/apache/nuttx/blob/master/arch/arm/src/armv7-m/
why not use perf count from DWT for performance measurement:
https://github.com/apache/nuttx/blob/master/arch/arm/src/armv7-m/arm_perf.c
On Mon, Jan 13, 2025 at 11:59 PM Roberto Bucher
wrote:
> Hi Jiawei Wang
>
> I have a similar requirement. The solution with SysTick and a little
> tick in conf
Hi Jiawei Wang
I have a similar requirement. The solution with SysTick and a little
tick in configuration used through semaphores, doesn't solve the problem
in a good way: shorter sampling times (<500us) are difficult to obtain,
in particular in pysimCoder generated code. This is my experience
Hello everyone,
I am currently developing on an STM32H7 board using NuttX and am in need of a
high-resolution timer to profile my program.
A timer with microsecond resolution would suffice.
My initial approach was to utilize one of STM32's timers configured in 1MHz
auto-reload counter mode, an