- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm using CYT2B93CAS.
If I set it to GPIO input mode, will it be in High-Z state?
Or is it internally set to pull-up or pull-down?
Thanks and Regards,
YS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
By default it's in Analog High-Z mode (High-Z with input buffer disabled)- which is suitable for analog input. But for digital input, you can configure it as pull-up/pull-down/digital-High-z using the DRIVE_MODEx and IN_ENx bit-field in GPIO_PRTx_CFG register . So when you set a pin to input-mode by IN_ENx=1, it's still high-z but with input buffer enabled, unless you configure the DRIVE_MODEx to set it as pullup/pulldown. Refer register TRM for details. You may also refer this AppNote- section 3.3 "Reading an input" for explanation.
Regards,
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
By default it's in Analog High-Z mode (High-Z with input buffer disabled)- which is suitable for analog input. But for digital input, you can configure it as pull-up/pull-down/digital-High-z using the DRIVE_MODEx and IN_ENx bit-field in GPIO_PRTx_CFG register . So when you set a pin to input-mode by IN_ENx=1, it's still high-z but with input buffer enabled, unless you configure the DRIVE_MODEx to set it as pullup/pulldown. Refer register TRM for details. You may also refer this AppNote- section 3.3 "Reading an input" for explanation.
Regards,
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ashish,
Thanks for your reply.
Regards,
YS