AnsweredAssumed Answered

STM32F334 HRTIM output pin synchronization

Question asked by PatLas on Jan 13, 2017
Latest reply on Feb 12, 2017 by waclawek.jan

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):

HRTIM TA1, TA2 phase shift

Outcomes