Skip to main content
Associate III
October 30, 2023
Solved

STM32U575 TIM1 clock output on TIM_CH1 pin is unable to be higher than 250kHz

STM32U575 TIM1 output TIM_CH1 clock is unable to be higher than 250kHz in up, toggle mode. The system clock is set to 160MHz. I am looking for the output clock higher than 1.6MHz.

Is this possible? Thanks.

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
October 30, 2023

Yes, should be easy to get pins at those rates.

Problem is that you're trying to use interrupts, and those have realistic ceilings in the 100's of KHz, before saturating the processor in a lot of useless / busy work.

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

2 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
October 30, 2023

Yes, should be easy to get pins at those rates.

Problem is that you're trying to use interrupts, and those have realistic ceilings in the 100's of KHz, before saturating the processor in a lot of useless / busy work.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
hguanAuthor
Associate III
October 30, 2023

Bingo! I have it works. Yes, by removing the interrupt option, the clock output thrilled.

Thank you very much.