cancel
Showing results for 
Search instead for 
Did you mean: 

HRTIM controlling a PSFB

DreamOnDirac
Associate III

Hi

 

I have a VERY large driver for a PSFB that unfortunately suffer from a flaw.

The idea is that the master timer is reporgrammed with period and CMP1 CMP2 and CMP3 and that the timerD and timerE uses these 4 points for the crossbar. Everything works correctly except for how the new values are taken into account.

The timers have preload enabled so, I expected that I could use LL_HRTIM_SuspendUpdate and   LL_HRTIM_ResumeUpdate after i have changed the prescaler, period  and Compare 1,2 and 3. But that does nothing. I need to actually use LL_HRTIM_ForceUpdate which obviously sometimes will then break my waveform as the transfer from the shaowregisters are not done during an rollover.

Does someone have a working example of LL_HRTIM_SuspendUpdate/LL_HRTIM_ResumeUpdate that they are willing to share or does someone know why this behaviour occur?

I am using stm32G474 and HAL/LL 1.6.1

Best regards

Martin

 

0 REPLIES 0