- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
When I configure an output pin with CyU3PDeviceGpioOverride() and CyU2PGpioSetSimpleConfig(), a pull-up resistor must be applied to the pin to output the high level. So I guess the default output mode of GPIO is open drain output.
How do I set the pin output mode to push-pull output mode?
Best regards,
Thomas
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
FX3 supports internal weak(50k ohm) pull-up or pull-down I/O pins.
When I configure an output pin with CyU3PDeviceGpioOverride() and CyU2PGpioSetSimpleConfig(), a pull-up resistor must be applied to the pin to output the high level. So I guess the default output mode of GPIO is open drain output.
I haven't heard about that.
You could also check the FX3 TRM for more detailed information online if you haven't installed EZ-USB SDK
or find it offline at
C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\doc\firmware
once you have installed SDK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
FX3 supports internal weak(50k ohm) pull-up or pull-down I/O pins.
When I configure an output pin with CyU3PDeviceGpioOverride() and CyU2PGpioSetSimpleConfig(), a pull-up resistor must be applied to the pin to output the high level. So I guess the default output mode of GPIO is open drain output.
I haven't heard about that.
You could also check the FX3 TRM for more detailed information online if you haven't installed EZ-USB SDK
or find it offline at
C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\doc\firmware
once you have installed SDK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In the 8.9 GPIO section of FX3 TRM, I didn't see any input/output mode instructions, so CYUSB3014 doesn't support I/O mode Settings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You could refer to the section 4.1