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.

CC3200 Wi-Fi Audio Application

From Texas Instruments Wiki
Jump to: navigation, search
Cc31xx cc32xx return home.png
Cc32xx return sample apps.png

Objective[edit]

This example demonstrates ‘Bi-directional Audio Streaming and Playback’ on CC3200 LaunchPad setup. The Setup comprises of two LPs (in STA mode) acting as both Audio source and sink. The Source gets audio input from Onboard MIC, MIC IN or LineIn Input on Audio BP. Audio is transmitted over wifi from source to sink. The Launchpad receives and plays the audio data on Line Out of Audio BP.

NoteNote: By default the application runs in loopback mode until a connection is established between the two Launchpads


Prerequisites[edit]

Hardware[edit]

  1. 2x CC3200-LAUNCHXL 3.2 or above
  2. 2x CC3200AUDBOOST
  3. 2x Headphones/Speakers
  4. 2x Audio Sources
  5. Android/iOS Device (For Smart Config)

ECOs and Jumper settings[edit]

  1. Ensure J2 and J3 jumpers are connected on the launchpad.

Software[edit]

  1. CC3200 wifi audio app binary
  2. Latest CC3200 SDK Firmware Package
  3. Uniflash Tool
  4. Smart Config Application


Setup CC3200 Launchpad[edit]

Choose one of the modes and follow the steps

  1. Debug Mode
    • Connect 2 CC3200 Launch Pad to 2 different machines running IAR/CCS using USB cable
    • Open the Project as mentioned in '<cc3200-sdk>\docs\CC3200-Getting Started Guide.pdf'
    • Ensure SOP-2 Jumper is connected
  2. Functional Mode
    • Flash the binary file available in <cc3200-sdk>\example\wifi_audio_app\ewarm\UniCast\Exe folder using UniFlash. Refer to Detailed instructions at Uniflash User Guide.
    • Repeat above step for second Launch Pad
    • Ensure SOP-2 Jumper is removed after flashing


System Configuration[edit]

1. Jumpers J2 and J3 should be Mounted as shown in below picture

LaunchPad configuration.jpg

2. Mount 'Audio Codec Booster Pack' on 'CC3200 LaunchPad' as shown below. Ensure 'J1 & J2' of the booster-pack are aligned with 'P1-P3 & P4-P2' of CC3200-LaunchPad

Connection.jpg

3. The different connectors in the Audio Booster Pack are detailed below. For Bi-directional audio player

Connect headphone or speaker on J4 of 'Audio Codec Booster Pack'
J3 on Audio Codec BP can be used for LINE -IN
Alternatively,
Onboard MIC (U6) or Mono-Jack (J5) of 'Audio Codec Booster Pack' can be used for MIC-IN and U4, U5 can be used to connect speakers(Left & Right).
Audio Booster Pack.jpg





Launch SmartConfig Application[edit]

  1. Choose an AP that you want to configure on CC32XX Device
  2. Connect your Android/iOS device to this AP
  3. Launch the SmartConfig Application

Running Bi-directional Audio Demo[edit]

Once the Audio-BP and LaunchPad connections are intact, Run the Reference Application. Based on mode selected, follow the steps

  1. Debug Mode
    • Build and download the application to the board as mentioned in '<cc3200-sdk>\docs\CC3200-Getting Started Guide.pdf'
    • Repeat above steps for second Launchpad
  2. Functional Mode
    • Press Reset (SW1) Button on both the Launchpads
  3. The device will try to connect to one of the saved AP profiles. In case there is none or the device is not able to connect to any of the the saved profiles, one can use SmartConfig for connecting the device to the AP. Smartconfig Application will show the notification about the successful connection.
  4. By default the application will come up in Loopback mode(Mic-in to Audio-out) while actively scanning for another similar device.
  5. In Audio Streaming mode, the following switches (on Launchpad) invokes microphone and speaker on/off actions.
    • SW3 - Microphone
    • SW2 - Speaker




Audio Streamer/Player[edit]

  1. Ensure Line-IN and Line-OUT points are connected appropriately on both the launch pads.
  2. Upon successful connection to AP, press SW2 on LP1. Red LED will switch off on LP1.
  3. Once LP1 connects to LP2, the red LED on LP2 will switch off.
  4. Now press SW2 on LP2 and SW3 on LP1. Red LED will switch on LP2.

The switch press can be used to handle MIC and Speaker ON/OFF actions. The below picture shows the bidirectional audio with appropriate connections.

Audio Setup.jpg




Known Issues[edit]

none.

Links[edit]

{{#invoke: Navbox | navbox }} {{#invoke: Navbox | navbox }}

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 CC3200 Wi-Fi Audio Application 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 CC3200 Wi-Fi Audio Application here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article CC3200 Wi-Fi Audio Application here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article CC3200 Wi-Fi Audio Application here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article CC3200 Wi-Fi Audio Application here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC3200 Wi-Fi Audio Application here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC3200 Wi-Fi Audio Application here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article CC3200 Wi-Fi Audio Application here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article CC3200 Wi-Fi Audio Application 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