Welcome, Guest

Author Topic: some GPIO pulldown not working?  (Read 2215 times)

albvalente

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
some GPIO pulldown not working?
« on: July 06, 2015, 04:10:55 PM »
Hi, sometimes some pull-downs seem not to work correctly.
At the moment I'm working with an A10 Lime boards (debian on sd card) and ports PB7, PB14, PB15, PB17 remain HIGH even if I've called

Code: [Select]
gpio.setcfg(port, gpio.OUTPUT)
gpio.pullup(port, gpio.PULLDOWN)

Any hint?
Are those ports used by other peripherals? I've already looked on the manual and cannot find anything; they should be available

Thank you in advance
alberto

luma

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: some GPIO pulldown not working?
« Reply #1 on: March 18, 2017, 03:23:00 PM »
Hello,
I'm facing the same problem;
I'm using current pyA20 python lib on a A20-olinuxino-micro with a 4.11 kernel, despite the configuration of these pins as input with pull down, i can measure 3.3V (others pins on GPIO-3 are working).

I supposed this is due to a default definition in the Device-Tree .dts file (or .fex file for 3.4 kernels), using these pins for another purpose, but I cannot find how to change this attribution.

Alberto, did you succeed to solve this ? Does someone know how to proceed or maybe have a .dts file available ?

albvalente

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
Re: some GPIO pulldown not working?
« Reply #2 on: March 18, 2017, 03:35:52 PM »
Hi, unfortunately I wasn't able to solve the problem..
But I'm still interested if someone has a solution.

Have a nice day
Alberto