<@U016EM8L91B> <@U017X0NM2E7> if internally i have...
# chipignite
s
@Tim Edwards @Mitch Bailey if internally i have connected my net to analog_io15, but in gpio firmware config if I define the pin as digital(GPIO_MODE_USER_STD_INPUT_NOPULL), will the analog15 net float inside and will be isolated from digital pad ?I am not very clear for pad circuitry while switching from analog mode to digital,its isolation etc. do u have a diagram to explain pls?
m
@samarth jain You can download the schematic here. If you define the defaults as
GPIO_MODE_MGMT_STD_ANALOG
, the input and output buffers are disabled and you don’t need to worry about connecting
io_out
or
io_oeb
for that pad. If you define the default as
GPIO_MODE_USER_STD_ANALOG
, I suggest tying
io_out
and
io_oeb
for that pad either high or low to avoid leaks due to floating inputs.
👍 1
t
@samarth jain (Didn't I answer this question somewhere?) Analog connections to the analog pin on the GPIO will not be automatically isolated and will interfere with any digital I/O attempted on the same pin. If you want to use the pin for digital as well as analog, you will need to implement a pass gate in the analog signal path in the user project.