STM32G4 FMAC Filter Performance Benchmarking
Dear community,
I'm currently working on a student project where we need to analyze the performance of the FMAC unit of the STM32G4. My idea is to implement an FIR filter and measure how many clock cycles the FMAC operation takes to filter a predefined set of test data. I also plan to measure the execution time. After that, I intend to compare the results by implementing the same FIR filter in software using the CMSIS library.
I found AN4841 , which demonstrates performance measurement results of the CMSIS FIR filter on two different STM32 platforms.
Since I've never done this kind of performance benchmarking before, my question is how are the number of cycles and duration measured? Should we use the SysTick timer or the DWT unit for time measurement?
Thank you!
