Skip to main content
Valentin Gros
Associate II
Jul 15, 2019 7:56 AM UTC
Question

Generate adjustable single short pulse (using timer ?)

Hello,

I want to generate a single short pulse (adjustable between 100 ns to 1ms). What is the best way ?

I think we should use timers, but which mode ? (which CubeMX configuration ?)

Moreover I tried to configure one-pulse mode but I can't find documentation or tutorial. Either my settings (trigger mode...) are wrong, either I don't have the proper HAL command to initialise or start the pulse. Which HAL functions are needed ?

Thank you,

Valentin

This topic has been closed for replies.