2 Replies Latest reply on Sep 10, 2019 2:03 PM by BoTa_264741

    Psoc pin toggle slew rate

    drmi_4295866

      Hello all,

       

      I am toggling one pin in psoc 5lp. In while loop I am write pin 1 and 0 after 1 ms delay. My question is that whenever my pin goes low to high or high to low it's generate ramp/slop (some delay exact 2.4 us) to toggle. In my pin setting slew rate is fast, Drive mode is strong drive. Even as per document, I read it's only take some nanoseconds then why it's take these much time? How can I remove? Is there any other settings in pins properties or any special pins for that?

       

      Here is my code

       

       

      While(1)

      {

                  Pin 0 Write(!(pin 0 Read()));

                  Delay(1ms);

      }