iqaudio pi-dac+ and GPIO

Diy? Low-budget? Esoterics? Let's discuss about DACS!

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

iqaudio pi-dac+ and GPIO

Postby arginine » Tue Sep 30 2014 22:20

Hello,
I've just bought a pi-dac+ and a RPI B+.

1) As far as I understood ALL gpio pin can be populated on the top of the pi-dac+ (by adding/soldering a pin header)

Does this is correct ?
(in current setup (RPI B and USB-i2S DAC) I have LCD, temp & IR sensors connected to the GPIO and I want to be sure that I can connect them on the "populated" gpio)

2) is there any "populated" GPIO pin that CANNOT be used for "sth else" (i.e. pins which are reserved for the iqaudio dac+ to work)

Thanks

F
Random avatar
arginine
Sunday DIYer
Sunday DIYer
 
Posts: 49
Joined: Tue Mar 25 2014 18:33

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


iqaudio pi-dac+ and GPIO

Postby voluminz » Wed Oct 01 2014 09:22

Hi

All of that is greek to me. However the updated documentation for DAC+ has some stuff about gpio pins.
http://iqaudio.com/wp-content/uploads/2 ... IO_Doc.pdf
Random avatar
voluminz
Fresh off the boat
Fresh off the boat
 
Posts: 6
Joined: Mon Aug 11 2014 15:23


iqaudio pi-dac+ and GPIO

Postby gswg » Wed Oct 01 2014 12:21

The Pi-DAC+ uses the following signals:
- I2S
- I2C
- GPIO 22 (This is used to mute the Pi-AMP+ if fitted)

Others you can use.

We have previously recommended the following allocations (for compatibility with the older Pi-DAC)
- GPIO 23/24 for Rotary Encoder
- GPIO 25 for IR Sensor

Hope that helps,

Gordon@IQaudio.com
Random avatar
gswg
Audiophile
Audiophile
 
Posts: 114
Joined: Wed Jan 01 2014 17:53


iqaudio pi-dac+ and GPIO

Postby arginine » Wed Oct 01 2014 18:53

Hi Gordon,
Thanks for prompt reply

Could you be a bit more specific ?
i.e which pins are exactly used by the PI-DAC+ (including power (5 and or 3V) and ground pin(s))


I will not plug your AMP+ and used your code for rotary encoder and IR remote ---> can I still use the GPIO 22, 23, 24, 25 for others purposed ?
Random avatar
arginine
Sunday DIYer
Sunday DIYer
 
Posts: 49
Joined: Tue Mar 25 2014 18:33


iqaudio pi-dac+ and GPIO

Postby gswg » Mon Oct 06 2014 15:57

The Pi-DAC/Pi-DAC+ uses the following signals.

+5v
+3v3
ground
I2C
I2S

all of the above (other than I2S) you can use or your own purposes. The GPIO pins are not used for the general operation of the Pi-DAC/DAC+

The user docs list the pin numbers for the Pi-DAC IIRC.

Best regards,

G
Random avatar
gswg
Audiophile
Audiophile
 
Posts: 114
Joined: Wed Jan 01 2014 17:53


iqaudio pi-dac+ and GPIO

Postby arginine » Tue Oct 14 2014 10:50

Hello,
Just got my RPI-DAC+ :-)
I've soldered the pin header (for the accessing the GPIO pins once the DAC is placed on the RPI-B+) and I checked on a multimeter each GPIO pin

Everything was fine except for the following pins :
GPIO-04 (pin 7) - GPIO GCLK

GPIO-14 (pin 8) - TXD0
GPIO-15 (pin 10) - RXD0

GPIO-08 (pin 24) - SPI-CE0-N
GPIO-07 (pin 26) - SPI-CE1-N

from this page (http://elinux.org/RPi_Low-level_peripherals) I understood the following:
- At reset only pins GPIO 14 & 15 are assigned to the alternate function UART (universal asynchronous receiver/transmitter)

I noticed, by looking on the top of the DAC that this pins are not linked to the "soldered" pin header, is there any particular reason for not connecting this pins ?


Thanks
Random avatar
arginine
Sunday DIYer
Sunday DIYer
 
Posts: 49
Joined: Tue Mar 25 2014 18:33


iqaudio pi-dac+ and GPIO

Postby gswg » Sun Oct 19 2014 11:24

It's just the way we laid out the pcb board. I'll update the user docs to make this clearer.


Gordon@iqaudio.com
Random avatar
gswg
Audiophile
Audiophile
 
Posts: 114
Joined: Wed Jan 01 2014 17:53


Return to DACs

Who is online

Users browsing this forum: No registered users and 0 guests