LowPowerLab Forum

Hardware support => ATXRaspi => Topic started by: konp on May 23, 2017, 06:41:36 AM

Title: Is it possible to change which GPIO pins the ATXRaspi uses?
Post by: konp on May 23, 2017, 06:41:36 AM
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?
Title: Re: Is it possible to change which GPIO pins the ATXRaspi uses?
Post by: Felix 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.
Title: Re: Is it possible to change which GPIO pins the ATXRaspi uses?
Post by: konp on May 26, 2017, 06:43:22 AM
Quote from: Felix 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.

Any idea if this would work with RetroPie? AFAIK that's built on top of Raspbian.
Title: Re: Is it possible to change which GPIO pins the ATXRaspi uses?
Post by: Felix 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.
Title: Re: Is it possible to change which GPIO pins the ATXRaspi uses?
Post by: konp 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?
Title: Re: Is it possible to change which GPIO pins the ATXRaspi uses?
Post by: Felix on May 27, 2017, 05:35:12 PM
Follow the documentation
Verify via multimeter