Follow

GPIO usage of HiFiBerry boards

We know that many people like to add additional hardware components (LCDs, buttons, etc.) to their Raspberry Pi. We provide this documentation to help you with this. However:

  • We do not guarantee interoperability with any other add-on card. Even if another card is not using the same GPIOs, there are many other things that might prevent interoperability. The Raspberry Pi GPIOs are not designed as a bus system (even the I2C bus can’t be simply used by multiple cards as there might or might not be the right pull-up resistors on every I2C slave).
  • Soldering on the HiFiBerry board voids warranty. There is no replacement for boards that have been modified.
  • There is no support from us. You can ask questions in our community area. There are already interesting projects and other users might help you.
  • Do not use more than a few mA from the 3.3V line. If your circuit requires 3.3V, use the 5V power rail of the Raspberry Pi with an additional voltage regulator.
  • Pin 27 and 28 are always reserved for an ID EEPROM on the Raspberry Pi. Independently which card you use, these pins are always reserved and should never be used to connect external components.

HiFiBerry DAC

Only the pins on the P5 header are used for the HiFiBerry DAC

HiFiBerry Digi and Amp

GPIO2-3 are used by our products for configuration. If you are experienced with I2C, you might add other slave devices. If you a a novice, we don’t recommend this at all.
GPIOs 28-31 are used for the sound interface. You can’t use them for any other purpose.

HiFiBerry DAC+ Light, Zero and MiniAmp

GPIOs 18-21 (pins 12, 35, 38 and 40) are used for the sound interface. You can’t use them for any other purpose.

HiFiBerry DAC+, Digi+ and Amp+

GPIO2-3 (pins 3 and 5) are used by our products for configuration. If you are experienced with I2C, you might add other slave devices. If you a a novice, we don’t recommend this at all.
GPIOs 18-21 (pins 12, 35, 38 and 40) are used for the sound interface. You can’t use them for any other purpose.

On the HiFiBerry Digi+, GPIO16 is also reserved.

GPIO vs. Pin numbers

Note that the GPIO numbers are not the numbers of the physical pins. To see which GPIO is mapped onto which pin, have a look here: http://www.raspberrypi-spy.co.uk/2012/06/simple-guide-to-the-rpi-gpio-header-and-pins/
Was this article helpful?
2 out of 2 found this helpful
Have more questions? Submit a request

Comments

  • Avatar
    Georg Düsterhöft

    Seems to be a little outdated to me as my HifiBerry DAC+ HW 2.2 doesn't use Pin 38 at all (no connections from or to this pin).

  • Avatar
    HiFiBerry team

    No, this is completely correct. While this pin isn't connected, you can't use it is it is part of the sound subsystem and it is reserved.