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.