Author Topic: Is it possible to change which GPIO pins the ATXRaspi uses?  (Read 1994 times)

konp

  • NewMember
  • *
  • Posts: 3
Currently it uses 7 and 8, but unfortunately in the project I'm building those pins are already spoken for. However, there's a handful of others that aren't.

Is it at all possible to change those two pins to two of the "spare" ones? If so, how would I go about that?

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6866
  • Country: us
    • LowPowerLab
Re: Is it possible to change which GPIO pins the ATXRaspi uses?
« Reply #1 on: May 24, 2017, 11:22:53 PM »
Sorry for the late reply to this.

Yes, it's possible.

You have to choose other pins and then change the shutdown script to those pins.
When you pick the new GPIO verify the BootOK signal will be pulled LOW by your distribution once the shutdown is complete. This is done automatically by the OS for the default pins.

konp

  • NewMember
  • *
  • Posts: 3
Re: Is it possible to change which GPIO pins the ATXRaspi uses?
« Reply #2 on: May 26, 2017, 06:43:22 AM »
Sorry for the late reply to this.

Yes, it's possible.

You have to choose other pins and then change the shutdown script to those pins.
When you pick the new GPIO verify the BootOK signal will be pulled LOW by your distribution once the shutdown is complete. This is done automatically by the OS for the default pins.

Any idea if this would work with RetroPie? AFAIK that's built on top of Raspbian.

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6866
  • Country: us
    • LowPowerLab
Re: Is it possible to change which GPIO pins the ATXRaspi uses?
« Reply #3 on: May 26, 2017, 07:25:50 AM »
You will have to try, I haven't done it, I know others did and it worked.

konp

  • NewMember
  • *
  • Posts: 3
Re: Is it possible to change which GPIO pins the ATXRaspi uses?
« Reply #4 on: May 26, 2017, 10:59:23 PM »
Forgive me if this is a dumb question, but how do I make sure the distribution is using the pins I tell it to?

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6866
  • Country: us
    • LowPowerLab
Re: Is it possible to change which GPIO pins the ATXRaspi uses?
« Reply #5 on: May 27, 2017, 05:35:12 PM »
Follow the documentation
Verify via multimeter