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.

CC256x Audio Sink User Guide

From Texas Instruments Wiki
Jump to: navigation, search

Return to CC256x

Getting Started[edit]

TI's Bluetooth + MSP430 Audio sink reference design can be used by customers to create a variety of applications for low end, low power audio solutions. Some application possibilities - toys, low end bluetooth speakers, audio streaming accessories. This reference design is a cost effective audio implementation and with full design files provided allows you to focus your efforts on application and end product development. Software supported on this reference design includes TI's Bluetooth stack (certified and royalty free).


The design files are available publicly here For Audio Sink Quick Start User Guide go here

CC256x Audio Sink Board

Assisted Audio (Mono) Reference Design

CC256x Audio Sink Board

Key Features[edit]

  • Enables Bluetooth audio (SBC encode/decode) with low cost, low power MSP430F5229.
  • USB-enabled MSP430F5229 Up to 25-MHz System Clock, 1.8-V to 3.6-V operation and 128KB flash, 8KB RAM.
  • Design offloads audio processing from MCU to the Bluetooth device which enables low power audio.
  • Cost effective low end wireless audio solution for under with a 4 layer layout and QFN packages.
  • Core of the solution is TI's CC2564 which is best in class Bluetooth performance (+12dBm output power).
  • 4-layer PCB (25mm x 50mm incl. antenna)
  • CC256xB On-chip SBC for audio processing.
  • Royalty-free SW examples and certified profiles: Assisted A2DP (A3DP), AVRCP
  • Design also uses TI's low power digital input speaker amplifier (TAS2505) & USB charge management device(BQ24055).
  • CC256x and TI's Bluetooth stack both have Bluetooth Subsystem QDIDs allowing you to only need a Bluetooth End Product Listing.

Kit Contents[edit]

  • 1x Audio kit with jumpers populated
  • Quick Start Guide

Speaker should be purchased separately. Recommended speaker can be purchased online here.

NOTE: Any 8 ohm enclosed speaker can be used for the Audio out.

NOTE: For downloading the sample demo to the EVM, you require MSP430 USB Debugging Interface. This needs to be purchased separately.

Out of The Box Experience[edit]

Step 0: Verify Jumper/Switch positions[edit]

Make sure all jumpers are on, except for J15(RX/TX), J22(BAT), J25(SPK):

Jumper Name Description
J15 TX/RX MSP430 debug UART
J22 BAT External power supply
J25 SPK Class D speaker output

Default switch positions:

Default Switches
Switch Name Description
SW1 RST Resets MSP430
SW2 ON/OFF Turns on/off power to entire board
SW3 LDO/JTAG MSP430 power supply option from LDO or JTAG

Step 1: Power[edit]

Plug in the USB cable to USB connector (J4). Toggle switch 2 to ON position to power up the board. Remove jumper ISET2 (J14) and connect it in again, this toggling will enable higher current draw through USB.

NoteNote: The board also has options to be powered using alkaline batteries or rechargeable batteries which can be purchased separately.

Step 2: Speakers[edit]

Make sure speakers are connected to J25.

Step 3: Pair and connect to phone[edit]

Go to Bluetooth settings on phone. Pair and connect to device called "Headset" or "CC256x A3DP". If it asks for passcode, type is "0000". It should then say "Connected" under Bluetooth Devices.

NoteNote: If previously paired to the device before, try forgetting it and then connect if having trouble connecting.

Step 4: Play some songs[edit]

Play some songs and hear the music on the speakers streaming from the phone to the CC256x Sink board.

Hardware[edit]

This section describes the Bluetooth(CC256XB) and MSP430 Audio Sink hardware

CC256x Audio Sink Board Section 1

Hardware Features[edit]

  • CC2564B QFN chipset
  • PCB Antenna:This audio sink board has an integrated PCB antenna
  • Speaker connecter(J25): Used to connect the Speaker (8 amps,enclosed)
CC256x Audio Sink Board Section 4

Hardware Features[edit]

  • MSP430F5229 Chipset
  • Capacitive touch buttons: Used to pause/play/next/previous
  • JTAG Debugging port(J2): Connected to the MSP430 USB Debugging Interface(MSP-FET430UIF) for flashing and debugging.
  • MSP430 UART(J15): Used for User interface to MSP430 UART see
  • LDO/JTAG switch(S3)


CC256x Audio Sink Board Section 4

Hardware Features[edit]

  • Mini USB port(J4): Used to charge/power the board.
  • PWR ON/OFF(S2): Used to power ON and OFF the board.
  • TAS2505 Speker amplifier Chipset
CC256x Audio Sink Board Section 4

Hardware Features[edit]

  • MSP430 Reset Button(S1): Used to reset the board.

Software[edit]

This demo utilizes new audio features of the CC256xB dual mode Bluetooth controller, a new ROM spin of the CC256xA device. Apart from the device label, you can verify the correct part number by making sure the LMP subversion for CC256xB is 0x1B90 (instead of 0x1B0F for CC256xA) by issuing the HCI_Read_Local_Version_Information standard HCI command before loading the Service Pack.

Bluetooth Stack[edit]

TI’s Bluetooth stack provides the A3DP Sink for the Audio Sink device - CC256xB. This is provided royalty free.

The Assisted A2DP (A3DP) sink software can be downloaded from here.

To use the CC256XB module, the patch CC256XB.h has to be included. "__SUPPORT_CC256XB_PATCH__" should already be defined in the preprocessor definitions. This will make sure that the CC256XB patch is loaded and the CC256XB module can be used without issues.

Programming[edit]

There are basically two ways to program the board. You can flash the board with the binary or compile and download the source code to the board.

NOTE: Connect the FET USB Debugging Interface to JTAG debugging port(J2) of the Audio Sink device, and connect the other end to the PC.

Binary[edit]

The binary can be in various format. For IAR binaries, it is in .d43 file format.

  1. After getting the binary, use the FET programmer to program the board using the 14-pin JTAG interface. There should be only one way to plug it in.


Source[edit]

The project file contains the source code. For now, only IAR is supported. Simply compile and download the code to the board after opening the project file.

The detailed flashing procedure is mentioned here


NOTE: Open "A3DPDemo_SNK.eww", and in the workspace tab, select "Debug - A3DP SNK Board".


Debugging Interface[edit]

For downloading the sample demo to the Audio Sink Device and to debug, you require MSP430 USB Debugging Interface. This needs to be purchased separately.

The software for downloading the binary is available here

IAR Embedded Workbench is the supported development tool

Running the Demo Application[edit]

Please visit A3DP Sink Demo for detailed steps on how to run the demo application


Additional Information[edit]

Command Line Interface to Audio Sink Device[edit]

The J15 connector (Rx & Tx) can be used with a UART-2-USB cable to get access to the MSP430's UART

To Attach a Terminal program like Tera Term to the serial port x for the board see here.

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article CC256x Audio Sink User Guide here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article CC256x Audio Sink User Guide here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article CC256x Audio Sink User Guide here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article CC256x Audio Sink User Guide here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article CC256x Audio Sink User Guide here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC256x Audio Sink User Guide here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC256x Audio Sink User Guide here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article CC256x Audio Sink User Guide here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article CC256x Audio Sink User Guide here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity