Question: I'm looking for help measuring the delay function from a code that uses stm electronics microprocessor (STM32F407VGTx). How can I measure the delay in this
I'm looking for help measuring the delay function from a code that uses stm electronics microprocessor (STM32F407VGTx). How can I measure the delay in this code?

Consider the delay function based on timers below that is used in the skeleton code for the LCD Lab. void tim6_delay (void) ( // enable APBl bus clock //TIM6 proscaler se a deall to 0 or now l'LM6PSC=0; // prescalar TTM6->ARR21000 //aulo reload rogislor 'l'IM6->CNT= ); //clear counter register //WHEN COUNTER IS DONE THE TIM6 SR REG UIE FLAG IS SET while (TTM6->SR) TIM6->SR=0; //CLEAR u1F FLAG You are asked to figure out the actual delay from the above function. Upload a detailed word document including the method, screen captures, hook up picture, code with comments and step-by-step instructions you followed to measure the delay and report the delay you mea sured Consider the delay function based on timers below that is used in the skeleton code for the LCD Lab. void tim6_delay (void) ( // enable APBl bus clock //TIM6 proscaler se a deall to 0 or now l'LM6PSC=0; // prescalar TTM6->ARR21000 //aulo reload rogislor 'l'IM6->CNT= ); //clear counter register //WHEN COUNTER IS DONE THE TIM6 SR REG UIE FLAG IS SET while (TTM6->SR) TIM6->SR=0; //CLEAR u1F FLAG You are asked to figure out the actual delay from the above function. Upload a detailed word document including the method, screen captures, hook up picture, code with comments and step-by-step instructions you followed to measure the delay and report the delay you mea sured
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
