GPIO pins used on the audio injector sound card

Moderator: flatmax

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

GPIO pins used on the audio injector sound card

Post by flatmax » Fri Jul 29, 2016 8:44 am

For reference, this message notes which GPIO pins are used by the Audio Injector (AISC).
The AISC shares the I2C pins for setup and management of the sound card's codec's registers. These are :
pin 3 : i2c data
pin 5: i2c clk

The AISC uses the I2S pins for communicating audio data to and from the Raspberry Pi. Thses pins can not be shared amoungst add ons and hats when the AISC is in use. The I2S lines are the following pins :
pin 12 : Bit clock
pin 35: LR clock
pin 38: Data in
pint 40: Data out

For power, the required pins are :
pin 2 & 4 : 5V
pin 17 : 3.3V
gnd pins : as many as you want to hook up !

These are shown in the following image.
i2spins-001.jpg
I2S and I2C pins
i2spins-001.jpg (137.65 KiB) Viewed 33585 times
Checkout the next kickstarter campaign - the Ultra 2 : https://kck.st/2xwM3DL
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

karrika
Posts: 2
Joined: Mon Aug 01, 2016 7:30 pm

Re: GPIO pins used on the audio injector sound card

Post by karrika » Mon Aug 01, 2016 7:54 pm

Thank you for the pinout. You might want to add your card to http://pinout.xyz/. I was scared that some pins would conflict with my light control board DiscoHAT but fortunately we have no conflicting pins!

My card is still with DHL. By the way, DHL changed their policies in May and currently they charge a 40€ delivery fee if you do take care of customs paperwork by yourself. This used to cost nothing before May. If you allow DHL to make the customs declaration they charge some service fee. So you end paying about €40 extra whatever you do.

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: GPIO pins used on the audio injector sound card

Post by flatmax » Mon Aug 01, 2016 9:22 pm

Happy to hear about the pin out situation.
Sorry to hear about the DHL issue. If it is free to return to us without accepting, then we will be able to ship to you from Amazon in about 1.5 weeks or possibly 2.

Matt
Checkout the next kickstarter campaign - the Ultra 2 : https://kck.st/2xwM3DL
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

karrika
Posts: 2
Joined: Mon Aug 01, 2016 7:30 pm

Re: GPIO pins used on the audio injector sound card

Post by karrika » Tue Aug 02, 2016 5:03 am

Thank you. I paid DHL already. It is not your problem that DHL gets greedy. I just have to avoid DHL for small items in the future. The handling fee is ok if the price of the goods is much larger than the DHL fee. But sending a 23€ iten with DHL makes no sense anymore.

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: GPIO pins used on the audio injector sound card

Post by flatmax » Tue Aug 02, 2016 6:01 pm

karrika wrote:The handling fee is ok if the price of the goods is much larger than the DHL fee. But sending a 23€ iten with DHL makes no sense anymore.
Agreed, in future we will not be using a courier ... we will use something like EMS to keep prices down.
Checkout the next kickstarter campaign - the Ultra 2 : https://kck.st/2xwM3DL
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

fontalamh
Posts: 3
Joined: Sat Aug 06, 2016 12:59 pm

Re: GPIO pins used on the audio injector sound card

Post by fontalamh » Sun Aug 14, 2016 6:43 pm

Does the use of pins 3 & 5 mean this is incompatible with the official touchscreen?
It uses 3,4,5 & 6 - but I don't know if that's means they are mutually exclusive.
I answered my own question - it's only power that comes through the pins so I can power the screen by USB.

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: GPIO pins used on the audio injector sound card

Post by flatmax » Mon Aug 15, 2016 8:45 am

The I2C pins (3 & 5) form an I2C bus which is shared amongst many different chips. I2C allows interchip communications and chips know when they are being "talked to" by inspecting the chip ID used (part of the first byte of data to go out on the i2c bus) and seeing if it matches their own chip ID.
It is possible that your LCD is using this bus for power. It is also possible that it is using the i2c lines for communications.

Matt
Checkout the next kickstarter campaign - the Ultra 2 : https://kck.st/2xwM3DL
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

caco_viejagorda
Posts: 2
Joined: Mon Feb 06, 2017 9:23 am

Re: GPIO pins used on the audio injector sound card

Post by caco_viejagorda » Mon Feb 06, 2017 9:29 am

Hi. Is there any way to make it work on a raspberry pi 1 model b? assuming that it will be connected via individual cables, and not as a hat.
Thanks!

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: GPIO pins used on the audio injector sound card

Post by flatmax » Wed Feb 15, 2017 9:00 am

It is possible it can be made to work on that model Pi. You would need the I2S pins to match and the I2C pins as well.

Let us know if you make any progress !
thanks
Matt
Checkout the next kickstarter campaign - the Ultra 2 : https://kck.st/2xwM3DL
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

vanmanda
Posts: 8
Joined: Tue Apr 25, 2017 7:24 am

Re: GPIO pins used on the audio injector sound card

Post by vanmanda » Fri Oct 13, 2017 10:33 pm

Hi,
We are having a strange problem when using the AudioInjector board combined with a buttonprint connected to some GPIO-ports.
When we remove the AudioInjector from the Raspberry PI and use buttons connected to GPIO IO 5 - 6 - 12 - 13 - 16 - 26, we can read the status of these IO-ports.
When we however place the AudioInjector on top of the Raspberry Pi GPIO 5 - 6 and 12 keep working fine. We are however nog longer able to read changed port statusses from port GPIO 13 - 16 and 26.
Can you please advice?

Thank you !

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest