Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
raspberry:audio_injector [2020/02/27 16:27] admin [I2S Pins] |
raspberry:audio_injector [2020/03/03 16:16] admin [I2S and I2C Pins] |
||
---|---|---|---|
Line 14: | Line 14: | ||
Reboot your Raspberry Pi: | Reboot your Raspberry Pi: | ||
$ sudo reboot | $ sudo reboot | ||
- | \\ | + | |
- | After the reboot download: | + | ---- |
+ | ==== Alsa Mixer Settings ==== | ||
+ | |||
+ | [[https:// | ||
+ | There are two reference alsa mixer files which will allow you to setup default output with either line input or microphone input : | ||
+ | Download: | ||
$ wget https:// | $ wget https:// | ||
Unpack it: | Unpack it: | ||
Line 42: | Line 47: | ||
---- | ---- | ||
- | ==== I2S Pins ==== | + | ==== I2S and I2C Pins ==== |
- | Beside the power and ground the I2S bus needs the following pins: | + | |
- | GPIO 18 (Pin12) | + | The following pins are used by the sound card, don't use them for anything else!\\ |
- | GPIO 19 (Pin 35) LRCLOCK; | + | Beside the power (5V and 3V3) and ground |
- | GPIO 20 (Pin 38) DATA IN; | + | GPIO 18 (Pin12) |
- | GPIO 21 (Pin 40) DATA OUT; | + | GPIO 19 (Pin 35) IN and OUT LR CLOCK (DACLRC and ADCLRC); |
+ | GPIO 20 (Pin 38) DATA IN (ADCDAT); | ||
+ | GPIO 21 (Pin 40) DATA OUT (DACDAT); | ||
And the I2C bus needs these pins: | And the I2C bus needs these pins: | ||
- | GPIO 02 (pin 02) SDIN | + | GPIO 02 (pin 03) |
- | GPIO 03 (pin 03) SCLK | + | GPIO 03 (pin 05) SCLK |
< | < | ||
Line 56: | Line 63: | ||
</ | </ | ||
- | graphic from: | + | //graphic from: |
- | [[https:// | + | [[https:// |
---- | ---- |