cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F334 HRTIM output pin synchronization

licencje1
Associate II
Posted on January 13, 2017 at 21:53

I would like to generate 7MHz output signal with 50% period on/off with complementary output on TA1 and TA2. I have set as follows:

  • TA1: output polarity HIGH, set at timer period event, reset at timer compare unit 1
  • TA2: output polarity LOW,  set at timer period event, reset at timer compare unit 1

So in that configuration signal should have been in complementary mode (phase shifted by 180 deg) but unfortunately they are shifted less than 180deg. 

So my question is how to synchronize that both output pin to let TA1 being opposite polarity to TA2?

My current measurements (Analog Discovery Digilent logic analyser):

0690X000006063AQAQ.png

#stm32f334 #output #hrtim #synchronization
10 REPLIES 10
Posted on February 12, 2017 at 01:20

Is there dead time enabled in HRTIM_OUTxR.DTEN?