2 Replies Latest reply on Jun 13, 2016 11:39 PM by Gurudatta_Bhakte

    Pulse wave generation using GPIO.




      I am trying to generate pulse wave on the GPIO using MCU application.

                      while(1) {

                                      gpio_write(GPIO_PIN, 1);


                                      gpio_write(GPIO_PIN, 0);




      But I am observing that sometimes the width of the pulse is not consistent, either the rise time or fall time gets changed automatically without any change in the input data. The screenshot is attached herewith, where I am trying to generate pulse train, but the the pulses are not of uniform width.

      May I know is this hardware limitation or do I need to change some configuration?

      Thanks in advance.


      Best regards,