cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F072RB Jitter/Delay

MF.2
Associate

Small delays occur in projects and tests. The delays are usually about 6us. They also occur with simple calculations. What can be the reason? I have already tested with a new project without functionalities.

3 REPLIES 3
TDK
Guru

Not much info here. Delays in what? Could be the mcu is tied up doing other things, such as a systick interrupt.

If you feel a post has answered your question, please click "Accept as Solution".

The processing time varies, as can be seen in the images. I consciously do not do other things on the side. I use the HAL API to use UART, SPI or ADC and observe this behaviour again and again.

TDK
Guru

Is the SysTick interrupt running? That would be my guess. You can replace SysTick with a non-interrupt based timer with some effort.

If you feel a post has answered your question, please click "Accept as Solution".