Audio Capacitive Touch BoosterPack

From Texas Instruments Wiki
Jump to: navigation, search




LaunchPad Resource Portal  LaunchPadRocket.png


This wiki is open and can be edited by all!

More information available @ www.ti.com/launchpad


LaunchPad Banner.jpg

ACTBP Wiki Banner

What is the Audio Capacitive Touch BoosterPack?

ACTBP Kit Contents

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

ACTBP Video Overview Thumb.jpg
Audio Capacitive Touch BoosterPack for MSP430 LaunchPad
ACTBP Video MSP430 SW Thumb.jpg
Audio Capacitive Touch BoosterPack - Software Overview
ACTBP Video OOBE Thumb.jpg
Get Started Quickly with Audio Capacitive Touch Boosterpack

Getting Started

What is in the box?

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

NoteNote: You can download the PDF of the Quick Start Guide that ships with the ACTBP kit:

Installation

  1. Install the included, pre-programmed MSP430G2553 Value Line Microcontroller on your LaunchPad after removing the previous MSP430™ Value Line Microcontroller.
  2. 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
  3. 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.
  4. “Audio Capacitive Touch BoosterPack” should be displayed on the OLED display.
  5. “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.)
  6. 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

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)

  1. Plug the headphones into the headphone jack on the ACTBP board.
  2. 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.
  3. Press CENTER once to select the directory. Press UP to go back to the root directory.
  4. 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.
  5. Press CENTER once to begin playback.
  6. 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.
  7. 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.
  8. 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.
  9. “USB Mass Storage Device Enabled” will be displayed. On your connected computer, you should see the BoosterPack listed as a new drive.
  10. Simply copy your files and music over to the new drive in selected folder. Double-tap DOWN again to resume browsing directories.

Warning Warning: Do not delete the “bootimg.bin” file from the provided microSD card; the ACTBP won’t work without the file.

Quick Links

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

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

ACTBP Block Diagram

  • 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?

With BoosterPack running Music Player Demo

  • 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

  • Headset
  • Speakerphone
  • AEC
  • USB Audio Class

Music Player Controls

Refer to the following tables to use the music player demo provided with the Audio Capacitive Touch BoosterPack...

Playback Controls
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
Record Controls
Start RECORD Hold DOWN
PAUSE RECORD / RESUME RECORD 1-tap CENTER
STOP RECORD and go back to BROWSE FILES Hold CENTER

 

Navigation Controls
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
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
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

Hardware Issues

  • 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

  • C5535 DSP Software Issues
    • Mass Storage Class
      • Hangs sometimes when cancelling file copy

Troubleshooting

I plugged in the USB cable but nothing happened...

  • 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

  • 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

Q: Which USB port should I plug the BoosterPack into?

  • 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?

  • 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?

  • 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?

  • 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?

  • 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

MSP430 Software FAQ

C5535 DSP Software FAQ


NoteNote: The Standard Terms And Conditions for TI Evaluation Modules can be downloaded from here:http://www.ti.com/lit/pdf/sszz027

Support