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:sound_card [2018/08/03 13:04] admin [GPIO use] |
raspberry:sound_card [2018/08/03 13:28] admin [Sound Card for the Raspberry Pi] |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Sound Card for the Raspberry Pi ===== | ===== Sound Card for the Raspberry Pi ===== | ||
- | The PiFi DAC+ is a cheap Chinese clone of the HiFi Berry made by [[http:// | + | The PiFi DAC+ is a cheap Chinese clone of the HiFi Berry DAC+ Standard |
The drivers are already included in the kernel, to activate them check:\\ | The drivers are already included in the kernel, to activate them check:\\ | ||
* for the 3.12 kernel [[https:// | * for the 3.12 kernel [[https:// | ||
* for the 4.x kernel [[https:// | * for the 4.x kernel [[https:// | ||
- | ==== GPIO use ==== | + | It's recommended **not to use earphones directly** it's not supported.\\ |
- | GPIO 2-3 (pins 3 and 5) are used for configuration | + | |
- | GPIOs 18-21 (pins 12, 35, 38 and 40) are used for the sound interface | + | ---- |
+ | ==== Use of GPIOs ==== | ||
+ | The following GPIOs are used for the Sound Card:\\ | ||
+ | For configuration | ||
+ | GPIO2 (SDA 1) and GPIO3 (SCL1\\ | ||
+ | |||
+ | And as the sound interface | ||
+ | GPIO18 (PCM CLK), GPIO19 (PCM FS), GPIO20 (PCM D-IN), GPIO21 (D-OUT).\\ | ||
+ | PCM stands for Pulse-Code Modulation.\\ | ||
< | < | ||
- | <img src="<img src=" | + | <img src=" |
</ | </ | ||