Sorry, you need to enable JavaScript to visit this website.

Fastest way to toggle GPIO

Zedboard forums is currently read-only while it under goes maintenance.

Unsolved
2 posts / 0 new
vinitk99
Junior(0)
Fastest way to toggle GPIO

Hi,
I am a working on a miniZed board and trying to generate a clock through GPIO. The fastest I can go with just 2 instructions in my C code is 3.8MHz. The more lines I add in the code, less is my clock speed.
Can someone please let me know what is the fastest way to toggle the GPIO?
Also, how can I get the desired clock from PS to one of the GPIOs? This way I will not be relying on GPIOs to supply a clock to other board which requires minimum 2MHz clock source.
 

JFoster
Moderator(76)
Hello vinitk99,

Hello vinitk99,

My suggestion for you would be to go through the Developing Zynq Hardware and Software Speedways to get familiar with zynq development. This in turn will help andswer your questions.

http://ultrazed.org/support/trainings-and-videos

-Josh