cancel
Showing results for 
Search instead for 
Did you mean: 

How can I generate a fixed 200kHz output pulse from my STM32F431?

Terje Bøhler
Associate II

Hi.

We use a STM32F431 in a project and need to add/include a MCU-port to generate a fixed 200kHz output signal to our target-HW. Many pins on our LQFP64 are already used, so I hope I can use PB6 (TIM16_CH1N) for that purpose.

Q1: How can I set up a (preferably TIM16-) timer to acheive this simple 200kHz pulse?

Q2: Is TIM16 best suited for such a job?

Q3: Where can I find example codes for such TIM-features?

Best regards

Terje Bøhler

10 REPLIES 10

Directories containing software and projects, unpacked where you placed them. Like the old SPL libraries, but now HAL libraries.

https://community.st.com/s/question/0D50X0000A7VkUNSQ0/problem-downloadingstarting-stm32cubel4

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..