Difference between revisions of "Audio Cape RevB"
(→Revision A1) |
(→Setup Notes) |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
==Descriptions== | ==Descriptions== | ||
− | [[File: | + | [[File:Audio-TopSlanted-650.jpg|border|right|300px|Audio Cape]] |
The Rev B Audio Cape provides an line level stereo audio input and output on the BeagleBone and BeagleBone Black. | The Rev B Audio Cape provides an line level stereo audio input and output on the BeagleBone and BeagleBone Black. | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
+ | <br> | ||
==Revision Changes== | ==Revision Changes== | ||
===Revision A1=== | ===Revision A1=== | ||
− | [[CircuitCo:Audio_Cape_RevA| | + | DISCONTINUED: [[CircuitCo:Audio_Cape_RevA|Audio Cape Rev A Wiki Page]] |
===Revision B1=== | ===Revision B1=== | ||
Line 11: | Line 21: | ||
==Software Support & Compatibility== | ==Software Support & Compatibility== | ||
− | + | The device tree overlay is available at the bottom of this page. Please note, the current Angstrom build lacks kernel patches for the audio codec used on this cape, if you attempt to use it on the Angstrom image you will hear audio at double speed or static. The current Debian images have the required patches and will play audio normally. | |
− | |||
− | |||
− | |||
− | |||
==Specifications== | ==Specifications== | ||
Line 61: | Line 67: | ||
==Distributors== | ==Distributors== | ||
− | + | * [http://boardzoo.com BoardZoo.com] | |
− | + | * [http://beagleboardtoys.com/wheretobuy.html Other Distributors] | |
− | |||
− | |||
==Product Images== | ==Product Images== | ||
<gallery> | <gallery> | ||
− | File: | + | File:Audio-TopSlanted-650.jpg|Audio Cape |
</gallery> | </gallery> | ||
Line 78: | Line 82: | ||
* [[media:Audio Cape B1 Eagle.zip|Eagle design files]] | * [[media:Audio Cape B1 Eagle.zip|Eagle design files]] | ||
* [[media:Audio Cape B1 Schematic.pdf|PDF Schematic]] | * [[media:Audio Cape B1 Schematic.pdf|PDF Schematic]] | ||
+ | * [[media:BB-BONE-AUDI-02-00A0.zip|Device Tree Overlay]] | ||
* [http://www.ti.com/product/tlv320aic3104 TLV320AIC3104 datasheet] | * [http://www.ti.com/product/tlv320aic3104 TLV320AIC3104 datasheet] | ||
+ | |||
+ | == Setup Notes == | ||
+ | |||
+ | * [[BBB_Audio_Cape_RevB_Getting_Started|Getting Started for Audio Cape RevB wiki page]] | ||
+ | |||
+ | These instructions got the audio cape working for me ([[User:JesseForgues]]). | ||
+ | |||
+ | Audio levels low so need to add instructions for fixing that. | ||
+ | |||
+ | https://groups.google.com/forum/#!topic/beagleboard/81TsiNp4Bok | ||
+ | |||
+ | Step 1 | ||
+ | copy the audio device tree overlay (source) to /lib/firmware | ||
+ | |||
+ | Step 2 | ||
+ | compile the device tree overlay - good instructions here https://learn.adafruit.com/introduction-to-the-beaglebone-black-device-tree?view=all#compiling-an-overlay | ||
+ | <pre> | ||
+ | dtc -O dtb -o BB-BONE-AUDI-02-00A0.dtbo -b 0 -@ BB-BONE-AUDI-02-00A0.dts | ||
+ | </pre> | ||
+ | |||
+ | Step 3 | ||
+ | <pre> | ||
+ | nano /boot/uboot/uEnv.txt | ||
+ | </pre> | ||
+ | |||
+ | Remove the # from in front of this line | ||
+ | Note: you only need to disable BB-BONELT-HDMI. BB-BONELT-HDMIN will not conflict with your audio cape. | ||
+ | <pre> | ||
+ | optargs=capemgr.disable_partno=BB-BONELT-HDMI | ||
+ | </pre> | ||
+ | |||
+ | Step 4 | ||
+ | <pre> | ||
+ | export SLOTS=/sys/devices/bone_capemgr.*/slots | ||
+ | echo BB-BONE-AUDI-02 > $SLOTS | ||
+ | </pre> | ||
+ | |||
+ | Audio now works | ||
+ | |||
+ | Tests for audio (need to add mixer volume changes, levels are defaulted LOW): | ||
+ | <pre> | ||
+ | speaker-test | ||
+ | arecord -r 44100 -c 1 -f S16_LE -t wav -vv -d 25 example.wav | ||
+ | aplay example.wav | ||
+ | </pre> |
Revision as of 10:58, 6 June 2014
Contents
Descriptions
The Rev B Audio Cape provides an line level stereo audio input and output on the BeagleBone and BeagleBone Black.
Revision Changes
Revision A1
DISCONTINUED: Audio Cape Rev A Wiki Page
Revision B1
Redesign of the Audio cape to lower cost, for compatibility with the BeagleBone Black, and to switch to the TLV320AIC3104 codec.
Software Support & Compatibility
The device tree overlay is available at the bottom of this page. Please note, the current Angstrom build lacks kernel patches for the audio codec used on this cape, if you attempt to use it on the Angstrom image you will hear audio at double speed or static. The current Debian images have the required patches and will play audio normally.
Specifications
Followings are some specifications of the Audio Cape:
Mechanical Specifications
Size | 2.15" x 2.825" |
Layers | 2 |
PCB Thickness | .062" |
RoHS Compliant | Yes |
Signal Usage
Power | VDD_3V3EXP |
Audio | I2C2_SCL |
I2C2_SDA | |
GPIO3_21 | |
SPI1_CS0 | |
SPI1_DO | |
SPI1_DI | |
SPI1_SCLK |
Distributors
Product Images
Documentations
Audio Cape Revision B1
Setup Notes
These instructions got the audio cape working for me (User:JesseForgues).
Audio levels low so need to add instructions for fixing that.
https://groups.google.com/forum/#!topic/beagleboard/81TsiNp4Bok
Step 1 copy the audio device tree overlay (source) to /lib/firmware
Step 2 compile the device tree overlay - good instructions here https://learn.adafruit.com/introduction-to-the-beaglebone-black-device-tree?view=all#compiling-an-overlay
dtc -O dtb -o BB-BONE-AUDI-02-00A0.dtbo -b 0 -@ BB-BONE-AUDI-02-00A0.dts
Step 3
nano /boot/uboot/uEnv.txt
Remove the # from in front of this line Note: you only need to disable BB-BONELT-HDMI. BB-BONELT-HDMIN will not conflict with your audio cape.
optargs=capemgr.disable_partno=BB-BONELT-HDMI
Step 4
export SLOTS=/sys/devices/bone_capemgr.*/slots echo BB-BONE-AUDI-02 > $SLOTS
Audio now works
Tests for audio (need to add mixer volume changes, levels are defaulted LOW):
speaker-test arecord -r 44100 -c 1 -f S16_LE -t wav -vv -d 25 example.wav aplay example.wav