cancel
Showing results for 
Search instead for 
Did you mean: 

HRTIM has minimum CR values????

Javier1
Principal

After a day of debugging, apparently HRTIM has minimum CR values, this means im not able to trigger any CR event close to the 0% of my scale, in my case this translates to a discontinuity in the lower end of my phase shift control.

Javier1_0-1740144437199.png

 

Is there any way around this? reading RM0364 page 842

Javier1_0-1740145022909.png

 

Discussed 10years ago here:
https://community.st.com/t5/stm32-mcus-products/stm32f334-hrtim-with-bad-behavior/td-p/409531

 

 

 

 

Available for consulting/freelancing , hit me up in https://github.com/javiBajoCero
2 REPLIES 2
Javier1
Principal

I tried removing the HRTIM Clock multiplication from x32 to x1 , no difference

Javier1_0-1740144597289.png

 

Edit Maybe i need to go slower? (so this is actually a WorseResolutionTimer)

 page 848

Javier1_0-1740145110481.png

 

Javier1_0-1740145224772.png

 

Nah, still <32 does nothing

 

 

Available for consulting/freelancing , hit me up in https://github.com/javiBajoCero
Javier1
Principal

The only "solution" i have right now is to suck it up and assume im going to have a small dimp in the otherwise linear and flat Master Timer.

Via software i will introduce a non linearity , ill make " jump the fence"  all Compare registers aimed between 0 and 32 , and use this area as least as possible.

Javier1_0-1740147259221.png

 

This will be seen as a small jump in the modulation in the rare cases my timers have to go there.

Available for consulting/freelancing , hit me up in https://github.com/javiBajoCero