PSoC 6 GPIO Speed

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
YongseokJeon
Level 4
Level 4
Distributor
50 replies posted 50 questions asked 25 replies posted

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.

 

0 Likes
1 Solution
RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

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;

View solution in original post

0 Likes
2 Replies
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

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

0 Likes
RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

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;

0 Likes