Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
raspberry:audio_injector [2020/02/27 16:28]
admin [I2S Pins]
raspberry:audio_injector [2020/03/03 16:15]
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://github.com/Audio-Injector/stereo-and-zero]]\\ 
 +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://github.com/Audio-Injector/stereo-and-zero/archive/master.zip    $ wget https://github.com/Audio-Injector/stereo-and-zero/archive/master.zip
 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: +''Monospaced Text'' 
-   GPIO 18 (Pin12)    BITCLOCK+ 
-   GPIO 19 (Pin 35)   LRCLOCK+The following pins are used by the sound card, don't use them for anything else!\\ 
-   GPIO 20 (Pin 38)   DATA IN; +Beside the power (5V and 3V3) and ground (GND) the I2S bus needs the following pins: 
-   GPIO 21 (Pin 40)   DATA OUT;+   GPIO 18 (Pin12)    BIT CLOCK (BCLK)
 +   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 03)   SDIN +   GPIO 02 (pin 03)   SDIN
    GPIO 03 (pin 05)   SCLK    GPIO 03 (pin 05)   SCLK
  
Line 56: Line 64:
 </html> </html>
  
-graphic from: +//graphic from: 
-[[https://hifiduino.wordpress.com/2014/11/13/raspberry-pi-b-digital-audio/]]\\+[[https://hifiduino.wordpress.com/2014/11/13/raspberry-pi-b-digital-audio/]]//\\
  
 ---- ----