Page 1 of 1

GPIO - SMI pulldown

Posted: Sun Jul 29, 2018 2:52 pm
by lioryb
Hi.

While trying to work with with GPIO in SMI mode (ALT2 mode), I want on of SA0-SA5 to be pulled down.
I tried to config these pins as pulled down, but they keep being pulled up (using Logic Analyzer).

Is there any restrictions on ALT2 mode to deny pulldown on GPIO-GPIO5?

Thanks

Re: GPIO - SMI pulldown

Posted: Mon Jul 30, 2018 6:14 am
by PhilE
The pulls are independent of the alt functions, but they are also weak (around 50kOhm). If the pin has to be low then or should be driven low, either through the alt function (whatever it may be) or as a GPIO output.

Re: GPIO - SMI pulldown

Posted: Mon Jul 30, 2018 10:18 am
by Burngate
As I understand it, SMI (Secondary Memory Interface) is ALT1 (ALT 2 is the DPI (VGA) interface)

GPIOs 0 - 5 are address outputs - so pulls are irrelevant?

Re: GPIO - SMI pulldown

Posted: Mon Jul 30, 2018 10:56 am
by lioryb
Thanks both for your replies.

Burngate
Indeed, it's ALT1 not ALT2 (my typo). Yet, the pins are actually pulled up. These are so called address pins, in smi-nand driver are used as controls (NAND uses address and data multiplexed).

PhilE
I am not sure I understand your remark. in the DTS file, I changed some pins from being pulled up to be pulled down, and it had not influence on actual signal (tested with a logic analyzer connected).

Thanks