Skip to main content
SAMIN.1
Associate III
July 22, 2022
Question

A problem encountered at the simultaneous run of Output compare waveform and PWM

  • July 22, 2022
  • 2 replies
  • 1230 views

I am using STM32F407. I am using TIM1 for output compare waveform running at 5Mhz and TIM9 for 250Khz waveform. Output Compare is used to produce a waveform of desired data. However, both timmers run fine individually, but if both are run simultaneously both waveforms are distorted or do not produce waveform. No interrupt call is being used.

    This topic has been closed for replies.

    2 replies

    waclawek.jan
    Super User
    July 22, 2022

    What is "output compare waveform" and how is it different from PWM?

    Read out and check/post content of TIM1, TIM9 and relevant GPIO registers.

    JW

    SAMIN.1
    SAMIN.1Author
    Associate III
    July 25, 2022

    output compare waveform is of desired data and it changes with data. However, PWM is a continuous 250khz waveform. I have read all. due to PWM my Output Compare waveform stops.