how to enable gpio pullup in CX3

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

cross mob
ScGr_289066
Level 5
Level 5
100 replies posted 50 replies posted 25 replies posted

Hi,

I see in the FX3 TRM that the CX3 has weak internal pullups, but there's no API (that I found) to enable them.  How is this done?

Thanks,

Scott

0 Likes
1 Solution
HirotakaT_91
Moderator
Moderator
Moderator
500 replies posted 250 replies posted 100 replies posted

You can set registers or use FX3 SDK API CyU3PGpioSetIoMode to set pull-up or pull-down on an I/O pin.

Please refer to the FX3 datasheet and TRM 4.1.3 GPIO Pull-up and Pull-down.
https://www.cypress.com/documentation/technical-reference-manuals/ez-usb-fx3-technical-reference-man...

Best regards,

Hirotaka

View solution in original post

0 Likes
2 Replies
HirotakaT_91
Moderator
Moderator
Moderator
500 replies posted 250 replies posted 100 replies posted

You can set registers or use FX3 SDK API CyU3PGpioSetIoMode to set pull-up or pull-down on an I/O pin.

Please refer to the FX3 datasheet and TRM 4.1.3 GPIO Pull-up and Pull-down.
https://www.cypress.com/documentation/technical-reference-manuals/ez-usb-fx3-technical-reference-man...

Best regards,

Hirotaka

0 Likes

Hi Hirotaka,

Perfect, just what I needed.

Thanks,

Scott

0 Likes