5 Replies Latest reply on Jan 6, 2017 10:11 AM by AfdhalAtiffTan

    PSoC 4 Fast GPIO?


      Hi all,


      I am working on a project that needs a fast GPIO bit-banging of around 4MHz.


      Seeing 48MHz system clock on the datasheet, I thought I give CY8CKIT-049 a go.


      After googling, I found that the fastest toggling can be achieved by using this (from an app note):




      I also changed the internal main oscillator (IMO) from 24MHz to 48MHz in PSoC Creator 4.




      Using the above code and my oscilloscope, I found that the high-period lasted for 200ns which is way too slow for my application.




      Forgive my ignorance, but, can someone advise me on how to get the fastest GPIO manipulation?




      Thank you.