NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
Audio Capacitive Touch BoosterPack
This wiki is open and can be edited by all! More information available @ www.ti.com/launchpad
|
<imagemap> Image:ACTBP Wiki Banner.png|top|center|ACTBP Wiki Banner default [1] desc none </imagemap>
What is the Audio Capacitive Touch BoosterPack?[edit]
The Audio Capacitive Touch BoosterPack (ACTBP) is a plug in board for the $9.99 MSP430 Value Line LaunchPad development kit (MSP-EXP430G2 - sold separately). This BoosterPack is ideal for low-power applications that use record and playback audio functions such as MP3 players, home automation and industrial applications. This kit offers a complete reference design for capacitive touch solutions, using the capacitive touch I/O ports of select MSP430 Value Line microcontrollers. This reference design will allow you to easily control the C5000 ultra-low-power DSP using TI’s MSP430 microcontroller for crystal clear playback and record of MP3 audio/voice files.
Using the ACTBP, programmers realize the power and efficiency of the C5000 DSP without having to learn how to program the DSP. And the combination of the lowest standby power microcontroller (MSP430) with the lowest total power DSP (C5000) allows manufacturers to deliver ultra-low-power devices with extremely long battery life.
ACTBP Videos[edit]
<imagemap>
Image:ACTBP_Video_Overview_Thumb.jpg|160px| default [2] desc none </imagemap>Audio Capacitive Touch BoosterPack for MSP430 LaunchPad |
<imagemap>
Image:ACTBP_Video_MSP430_SW_Thumb.jpg|160px| default [3] desc none </imagemap>Audio Capacitive Touch BoosterPack - Software Overview |
<imagemap>
Image:ACTBP_Video_OOBE_Thumb.jpg|160px| default [4] desc none </imagemap>Get Started Quickly with Audio Capacitive Touch Boosterpack |
Getting Started[edit]
What is in the box?[edit]
Listed below are the contents of the ACTBP kit:
- Audio Capacitive Touch BoosterPack Board
- MicroSD card pre-programmed with DSP function code
- Mini-USB cable
- Initial demo headset with integrated microphone
- MSP430G2553 Value Line Microcontroller pre-programmed with the ACTBP host demo application
- Quick Start Guide
Quick Start Guide[edit]
Note: You can download the PDF of the Quick Start Guide that ships with the ACTBP kit:
Installation[edit]
- Install the included, pre-programmed MSP430G2553 Value Line Microcontroller on your LaunchPad after removing the previous MSP430™ Value Line Microcontroller.
- Jumper settings:
- LaunchPad jumpers:
- J5 – P1.0 and P1.6 must be removed
- J3 – TXD and RXD must be removed
- BoosterPack jumpers: Factory settings will work for normal operation
- LaunchPad jumpers:
- Mount the ACTBP on the LaunchPad so that both USB ports on each board point up. Connect the included USB cable to the USB mini connector on the ACTBP and the other end to a USB port on your computer to power up the system.
- “Audio Capacitive Touch BoosterPack” should be displayed on the OLED display.
- “Touch CENTER LED to agree to be bound by the ACTBP license” should be displayed next. Please refer to the separate document found in the box entitled “Audio Capacitive Touch BoosterPack (ACTBP) Software Development Kit License Agreement” for more details. Click on the lighted CENTER LED to continue. (Message will not be displayed on next power up if user accepts agreement.)
- Note: Make sure to set the board on a table-top rather than hold it in your hand which will interfere with the capacitive touch operation.
Using the Music Player[edit]
The Audio Capacitive Touch BoosterPack includes a pre-programmed microSD card with a directory of music files to experience crystal-clear audio and simple music player-like commands using the capacitive touch interface. Give it a try! (For detailed features, see the tables below or open the Quick Start Guide PDF)
- Plug the headphones into the headphone jack on the ACTBP board.
- Scroll through the directory by moving your finger clock-wise or counter-clockwise on the capacitive touch. You should see three example directories labeled “Music”, “Podcasts”, and “RecDir”, respectively. This is the “Browse Directory” mode.
- Press CENTER once to select the directory. Press UP to go back to the root directory.
- Scroll to your desired audio file by moving your finger clock-wise or counter-clockwise on the capacitive touch. This is the “Browse File” mode.
- Press CENTER once to begin playback.
- With the below tables as a guide, browse the sample music files. Try out the record function as well by holding DOWN for a two seconds.
- For the best audio experience, plug in your favorite headphones (including your cell phone headset) or speakers and see what the C5000™ DSP can really do.
- To add your own music and files to the Audio Capacitive Touch BoosterPack, double-tap on DOWN when you are in “Browse Directory/Browse File” mode.
- “USB Mass Storage Device Enabled” will be displayed. On your connected computer, you should see the BoosterPack listed as a new drive.
- Simply copy your files and music over to the new drive in selected folder. Double-tap DOWN again to resume browsing directories.
Warning: Do not delete the “bootimg.bin” file from the provided microSD card; the ACTBP won’t work without the file.
Quick Links[edit]
Link | Description |
Buy the ACTBP | Purchase the Audio Capacitive Touch BoosterPack from the TI e-Store |
Buy the MSP430 LaunchPad | Purchase the MSP430 LaunchPad Value Line Development Kit from the TI e-Store |
ACTBP MSP430 Software Wiki | Audio Capacitive Touch BoosterPack MSP430 Software - information, API, downloads |
ACTBP C5535 DSP Software Wiki | Audio Capacitive Touch BoosterPack C5535 DSP Software - information, API, downloads |
ACTBP Hardware Wiki | Audio Capacitive Touch BoosterPack Hardware - information, schematics, layout, design files |
C5000 BoosterPacks | C5000™ Ultra-Low-Power BoosterPacks - TI.com |
ACTBP Tool Page | Audio Capacitive Touch BoosterPack Tool Page - TI.com |
Downloads[edit]
Download | Description |
ACTBP MSP430 HostApp Download | Download the MSP430 Audio Capacitive Touch BoosterPack MP3 player host application software |
ACTBP BOOTIMG.BIN Download | Download the BOOTIMG.BIN file for the SD card to run Audio Capacitive Touch BoosterPack MP3 player client software |
ACTBP Hardware Download | Download the Audio Capacitive Touch BoosterPack Hardware schematics, layout, and design files |
High-level Description[edit]
- MSP430 microcontroller responsible for...
- Capacitive Touch Sensing & LED feedback
- Gesture / Event Detection
- Host application that controls BoosterPack
- UART communication to C5535 DSP
- C5535 DSP responsible for...
- MP3 Encode & Decode
- SD Card File System
- USB Mass Storage Class
- OLED, Codec
- UART client interface
What can I do with the ACTBP?[edit]
With BoosterPack running Music Player Demo[edit]
- MP3 Player
- Voice Recorder
- Fire Alarm - MSP430 detects temperature or smoke - tells BoosterPack to announce message
- Alarm Clock - wake up to your favorite song or to a speech recording
- Games
With BoosterPack running different DSP Software[edit]
- Headset
- Speakerphone
- AEC
- USB Audio Class
Music Player Controls[edit]
Refer to the following tables to use the music player demo provided with the Audio Capacitive Touch BoosterPack...
Playback Controls[edit]
Playback Controls | |
PAUSE / RESUME | 1-tap CENTER |
STOP and go back to BROWSE FILES | Hold CENTER |
SKIP FILE AHEAD | 1-tap RIGHT |
SKIP BACK to START | 1-tap LEFT |
SKIP FILE BACK | 2-tap LEFT |
FF | Hold RIGHT |
RWD | Hold LEFT |
SHUFFLE | 1-tap UP |
Volume UP | Scroll RIGHT (Clock-wise) |
Volume DOWN | Scroll LEFT |
Record Controls[edit]
Record Controls | |
Start RECORD | Hold DOWN |
PAUSE RECORD / RESUME RECORD | 1-tap CENTER |
STOP RECORD and go back to BROWSE FILES | Hold CENTER |
[edit]
Navigation Controls | |
Browse directory | |
Enter browse directory mode | Hold CENTER |
Browse to next directory | Scroll RIGHT |
Browse to previous directory | Scroll LEFT |
Select directory and go to BROWSE FILES | 1-tap CENTER |
Browse files | |
Browse to Next File in selected directory | Scroll RIGHT |
Browse to Previous File in selected directory | Scroll LEFT |
Start playing from selected file and go to PLAYBACK | 1-tap CENTER |
Start RECORD | Hold DOWN |
Return to BROWSE DIRECTORY | 1-tap UP |
USB Mass Storage Device[edit]
USB Mass Storage Device | |
Enter USB mass storage device mode | 2-taps DOWN (must be in “Browse Directory/File Mode”) |
Transfer music and files to BoosterPack | See new drive on your computer labeled “BoosterPack” and drag and drop files to BoosterPack drive in appropriate directory |
Exit USB thumb drive mode | 2-taps DOWN |
Power Modes[edit]
Power Modes | ||
Power down | DSP off, MSP430™ Microcontroller standby | 2-sec hold UP |
Power up | DSP on, MSP430 Microcontroller on | Powers-up on 2-sec hold UP |
Standby | DSP standby, MSP430 Microcontroller standby | 1-minute inactivity during directory or file browsing, Display will turn off and center LED will light up, Wakes up on waving hand over the capacitance touch sensors |
Host idle | DSP on, MSP430 Microcontroller standby | After 30 sec of new active Playback operation initiated, Center LED will start flashing, Wakes up on waving hand over the capacitance touch sensors |
Known Issues[edit]
Hardware Issues[edit]
- TS3A225E has Tip Detect on 2nd ring instead of tip
- Detection starts early
- Must insert TRRS headset (with mic) quickly for accurate detection
- Symptoms: No signal from microphone during record, buzzing noise during record
Software Issues[edit]
- C5535 DSP Software Issues
- Mass Storage Class
- Hangs sometimes when cancelling file copy
- Mass Storage Class
- MSP430 Software Issues
Note: Software updates available on ACTBP_MSP430_Software wiki
Troubleshooting[edit]
I plugged in the USB cable but nothing happened...[edit]
- Make sure that the ACTBP Jumper JP3 populated
- USB cable plugged into BoosterPack USB? Jumper JP3 populated?
- USB cable plugged into LaunchPad USB? Jumper J3:VCC, J3:TEST, J3:RESET populated?
BoosterPack hangs and restarts during USB Mass Storage Mode[edit]
- Remove all of the jumpers from the MSP430 LaunchPad - reduces USB current by ~30mA
- Remove all 5 J3 jumpers from MSP430 LaunchPad
- Remove both J5 jumpers from MSP430 LaunchPad
FAQ[edit]
Q: Which USB port should I plug the BoosterPack into?[edit]
- A: You can power the BoosterPack through either USB port, but to use the Mass Storage mode you must connect to the BoosterPack USB connector.
Q: How do I replace the MSP430 from my MSP430 LaunchPad to use the provided MSP430G2553IN20 device?[edit]
- A: With the goal of not bending any pins, it is easiest to alternate lifting each end of the package little by little until the device can be pulled away from the socket without bending the pins. See the OOBE video for instructions
Q: I already have the MSP430G2553 device in my LaunchPad. Can I just reprogram the MSP430 to work with the ACTBP Music player without having to replace MSP430 parts?[edit]
- A: Yes, download the MSP430 software and load the program onto the MSP430 LaunchPad with Code Composer Studio
Q: Can I debug the C5535 DSP by connecting to the JTAG header?[edit]
- A: No. To protect licensed MP3 encode and decode source code the JTAG of the C5535 DSP on each ACTBP is disabled
Q: How can I debug the C5535 DSP?[edit]
- A: Use the C5535 eZdsp. The ACTBP provides a black box MP3 player/recorder to the MSP430 LaunchPad. MSP430 debugging is provided but DSP debugging is disabled. The C5535 eZdsp development kit shares almost identical schematics (without the MSP430, capacitive touch, and TRRS headset jack).
Hardware FAQ[edit]
MSP430 Software FAQ[edit]
C5535 DSP Software FAQ[edit]
Note: The Standard Terms And Conditions for TI Evaluation Modules can be downloaded from here:http://www.ti.com/lit/pdf/sszz027