2 Replies Latest reply on Feb 27, 2019 3:35 AM by APe_3909046

    SetPWMDeadTime in PSOC6


      How can I do PWM_SetPWMDeadTime(x) in psoc6?


      I can't find any Cy_TCPWM.... to do it.

        • 1. Re: SetPWMDeadTime in PSOC6

          You can open the PWM code example, find the API:


                                                                               config->deadTimeClocks : config->clockPrescaler)));

          If PWM in DT mode, you can change the Dead time use the API.

          But you can set the value in the component like:

          1 of 1 people found this helpful
          • 2. Re: SetPWMDeadTime in PSOC6

            Thanks, im actually trying to modify the dead time clock through code. I mean the dead time clocks are not going to be fixed, its going to be modified on the go.