cancel
Showing results for 
Search instead for 
Did you mean: 

TIMx->PSC=16; has no effect. Can you please explain why? Is there any pre-condition to load the prescaler?

Shubhendu Banerjee
Associate II
Posted on March 16, 2018 at 09:21

TIMx->PSC=16; has no effect. Can you please explain why? Is there any pre-condition to load the prescaler?

2 REPLIES 2
Posted on March 16, 2018 at 12:15

Prescaler gets effective only upon Update Event, see e.g.

https://community.st.com/0D50X00009Xkb5cSAB

Shubhendu Banerjee
Associate II
Posted on March 17, 2018 at 08:10

LL_TIM_GenerateEvent_UPDATE(pPWMTimer_n->TIMx);

also not working.