Forums » Req. Waijung 1 Tech Support »
Measure execution time using Waijung 1
Added by Aliasgar S about 3 years ago
Hello, I would like to know how to measure execution time using waijung1 on an STM32F407VGtx controller?
Replies (1)
RE: Measure execution time using Waijung 1 - Added by Vasitha Tilakumara (วาสิ) about 3 years ago
Hi,
Please use a logic analyzer to check the execution time along with your algorithm(Simulink model). Make sure you edit the algorithm(Simulink model) to display a pulse in logic analyzer before & after your algorithm(Simulink model) by toggling a digital output pin.
Then get the time between the falling edge of the first pulse before the execution of your algorithm and rising edge of the second pulse after execution of your algorithm.
Suggested structure of algorithm :