AGON Light 2 GPIO Internal Pullup Resistors ?

on-topic acorn-related discussions not covered by the other forums
Post Reply
User avatar
Gelpack
Posts: 713
Joined: Tue Mar 01, 2022 7:05 pm
Location: Reading, UK
Contact:

AGON Light 2 GPIO Internal Pullup Resistors ?

Post by Gelpack »

Hi,

I've been trying to find information on how to set a GPIO pin which is set to INPUT to also have an internal pullup resistor, and I cannot find reference to it, I can control the pins data director and input or output, but by default it seems to float on input.

I can stick a 10K to 3.3v, but was wondering if anyone knows how to turn on the pullup via BBC Basic in it.


Cheers
Software Engineer, Acorn BBC/Retro & Electronics Hobbyist
User avatar
hoglet
Posts: 12665
Joined: Sat Oct 13, 2012 7:21 pm
Location: Bristol
Contact:

Re: AGON Light 2 GPIO Internal Pullup Resistors ?

Post by hoglet »

Gelpack wrote: Mon Jan 29, 2024 12:32 pm I've been trying to find information on how to set a GPIO pin which is set to INPUT to also have an internal pullup resistor, and I cannot find reference to it, I can control the pins data director and input or output, but by default it seems to float on input.
According to the EZ80F92 datasheet, there is no option for an internal pullup on GPIO pins.

So you will need an external resistor.

Dave
User avatar
Gelpack
Posts: 713
Joined: Tue Mar 01, 2022 7:05 pm
Location: Reading, UK
Contact:

Re: AGON Light 2 GPIO Internal Pullup Resistors ?

Post by Gelpack »

Hi Dave,

I just made an assumption [-X that it would have it ( My head was living in Espressif ESP32 space I think ), but thank you for coming back on that, next time I will check first.


Cheers
Software Engineer, Acorn BBC/Retro & Electronics Hobbyist
Post Reply

Return to “general”