cancel
Showing results for 
Search instead for 
Did you mean: 

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

hguan
Associate III

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

2 REPLIES 2

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
Up vote any posts that you find helpful, it shows what's working..
hguan
Associate III

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

Thank you very much.