cancel
Showing results for 
Search instead for 
Did you mean: 

HRTIM burst mode missing pulses in one period

GFERL.1
Associate

My application is using HRTIM in burst mode: PWM is generated part of the time by specifying a period and an idle/run duration based on common tick (TIMA counter).

Period (HRTIM_BMPER) is set once at init and idle duration (BMCMPR) updated every 20us. Sometimes I notice a period is empty of pulses while the application has never written max value in idle duration. It looks like it happens when idle duration is updated exactly at end of burst period. Next period contains correct number of pulses. 32-bit register write is atomic operation.

This bug is not visible when preload is used but if used system response is slower because idle duration is updated at end of burst period.

Can someone confirm this bug ?

Thanks,

Guillaume

2 REPLIES 2
Javier1
Principal

Im sure everyone here would appreciate a bit of text formatting.

we dont need to firmware by ourselves, lets talk

Done