cancel
Showing results for 
Search instead for 
Did you mean: 

Timer update event delay

dh_leslie
Associate II

I am using timer15 to generate TRGO by update event, which is used to trigger DMA to transfer data via spi.

From the oscilloscope, I found a delay around 150ns between rising edge of TRGO (PWM output on PA2) and first pulse of SPI sck.

I am not sure whether it is normal?

1 REPLY 1

Welcome to the forum.

Please see: How to write your question to maximize your chances to find a solution; in particular How to insert source code.

You'll need to show your code - using HAL, such a delay could be quite likely ...

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.