- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I am testing the gpio output speed with CY8CKIT-062-WIFI-BT.
I attached the source code based on the Modus Toolbox being tested.
The datasheet says that maximum GPIO speed is 100MHz, but it is measured around 10MHz.
Is there any way to make the output faster?
Thanks and Regards.
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The fastest way to toggle a pin (assuming you want to generate an clock) is using the HFCLK5. This clock has a direct pin connection, so you can drive it at 100 MHz.
If you need to use firmware, you can use the toggle register, rather than CLR/SET registers. Just write (in your case):
GPIO_PTR1->OUT_INV = 0x20;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You seem to use the fast drive mode. What is the load for the pin in your use case ? Does it have any additional load ? Did changing the pins show any difference?
Best Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The fastest way to toggle a pin (assuming you want to generate an clock) is using the HFCLK5. This clock has a direct pin connection, so you can drive it at 100 MHz.
If you need to use firmware, you can use the toggle register, rather than CLR/SET registers. Just write (in your case):
GPIO_PTR1->OUT_INV = 0x20;