I am using stm8 microcontroller(STM8AF288) to generate a PWM of 1KHz frequency with timer-1(16bit) . I am giving this as input to a circuit, which generates two PWMs with 90° phase shift. But unfortunately that circuit got damaged. It's no more working. So I thought to generate 2 PWMs with 90° phase shift.

Is it possible to do so? In stm8 user manual I couldn't find anything like this.

  • \$\begingroup\$ You need to include the micocontroller part number if you want this answered in a serious way. \$\endgroup\$ – Daniel Mar 17 '17 at 19:00
  • \$\begingroup\$ How are you generating the value for the PWM? \$\endgroup\$ – JIm Dearden Mar 17 '17 at 19:09
  • \$\begingroup\$ Depends on the PWM frequency and the desired PWM resolution. Please add that information to your question. \$\endgroup\$ – Dwayne Reid Mar 17 '17 at 19:10
  • 1
    \$\begingroup\$ According to one of their application notes... yes.. st.com/content/ccc/resource/technical/document/application_note/… \$\endgroup\$ – Trevor_G Mar 17 '17 at 19:14
  • \$\begingroup\$ > Is it possible to do so? certainly - just rebuild your damaged circuit and you are in. \$\endgroup\$ – dannyf Mar 17 '17 at 19:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.