This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C3200MODLaunchPad: Not work Wi-Fi Audio demo

Guru 24520 points
Other Parts Discussed in Thread: CC3200MOD, CC3200SDK, CC3200AUDBOOST

Hi community member,

Please let me confirm the following question.

We tried to confirm the wi-fi audio demo with using CC3200MOD LaunchPad(Rev1.0) and CC3200AUBOOST(Rev3.0-A), however it did not work.

I summarized the my environment as below.

 ・CCSv6.1

 ・CC3200SDK Version1.1

 ・CC3200MOD LaunchPad Rev1.0

 ・CC3200AUDBOOST Rev.3.0-A

 ・iPhone5s (used as AP)

I know that this demo has issues. And revised it  by following to TI's wiki.

Would you please provide advice in order to work this demonstration?

If you have any questions, please let me know.

Best regards.

Kaka

  • Hi community member,

    Please let me confirm the subject topics.

    Would you please teach me the requirements of Access point spec and security for Wi-Fi audio demo?

    I checked the TI's wiki, but there is not written about this.

    Best regards.

    Kaka

  • Hi Kaka,

    Can you please let me know what is not working (connection/streaming)? Also, I hope you are following the steps mentioned in: processors.wiki.ti.com/.../CC32xx_Wifi_Audio_Application

    Regards,
    Gigi Joseph.
  • Hi Gigi,

    Thank you for your response.
    The streaming demo was not working. We could connect the LP1 and LP2 to iPhone5s.

    I know that wiki for this demo and followed the steps, however we could not confirm the streaming demo.

    Best regards.
    Kaka
  • Hi Gigi,

    I changed the AP from iPhone to other AP, but we could not confirm the audio streaming demo.
    Just in case, I summarized the method as below.
    [Procedure]
    1. Programmed the wi-fi audio image (Unicast) to CC3200MOD LPs.
    2. Connect the iPhone to AP and supply the power for LPs.
    3. Start Smart config in order to connect the LPs to AP.
    4. After step.3, push the SW3 on LP1
    5. Push the SW2 on LP2.
    6. Push the SW3 on LP2.
    7. Push the SW2 on LP1.

    Also I enabled the consul and showed the message as below.
    ****************************
    [WLAN EVENT] STA Connected to the AP: 000A79FE35D9 , BSSID: 0:a:79:fe:35:d8
    [NETAPP EVENT] IP Acquired: IP=192.168.1.22 , Gateway=192.168.1.1
    Unable to unregister MDNS service
    ****************************

    Best regards.
    Kaka
  • Hi Kaka,

    Let me check and get back to you.

    Regards,
    Gigi Joseph.
  • Hi Gigi,

    Thank you for your response.
    If you get any update, please let me know.

    Best regards.
    Kaka
  • Hi Gigi,

    Do you have any update for this topics?

    Best regards.
    Kaka
  • Hi Kaka,

    Unfortunately, not yet. We will get back to you when we have an update.

    Regards,
    Gigi Joseph.
  • Hi Kaka,


    Please follow below steps to make run wifi_audio example:

    1. Make below code changes in original 1.1.0 example code
    [in main.c]
    A. Replace line#278 "if(RecordPlay & I2S_MODE_TX)" with "if(RecordPlay == I2S_MODE_RX_TX)"
    B. Replace line#289 "if(RecordPlay == I2S_MODE_RX_TX)" with "if(RecordPlay & I2S_MODE_TX)"
    C. Replace line#344 "if(RecordPlay == I2S_MODE_RX_TX)" with "if(RecordPlay & I2S_MODE_TX)"
    D. Replace line#349 "if(RecordPlay & I2S_MODE_TX)" with "if(RecordPlay == I2S_MODE_RX_TX)"

    [in control.c]
    A. Add line "extern unsigned char g_loopback;"
    B. add below 3 lines after line#130("g_ucMicStartFlag = 1;")
    #ifdef MULTICAST
    g_loopback = 0;
    #endif
    C. Add below line at line#214("g_ucSpkrStartFlag = 1;")
    g_loopback = 0;

    [in microphone.c]
    A. Replace line#66 "extern int g_loopback;" with "extern char g_loopback;"

    2. To enable log dissable "NOTERM" macro from project properties. [Optional]
    3. Compile the code and flash the binary.

    Running the code:
    1. Power on the LP1. By default LP comes in loopback mode and all 3 LED will switch on.
    2. Run smartConfig (WiFi starter app) if running first time or if LP not able to connect to AP
    3. Repeat step 1 and 2 for LP2
    4. Upon successful connection to AP, press SW2 on LP1. Red LED will switch off on LP1.
    5. Once LP1 connects to LP2, the red LED on LP2 will switch off.
    6. Now press SW2 on LP2 and SW3 on LP1. Red LED will switch on LP2.

    For more detail please refer processors.wiki.ti.com/.../CC32xx_Summary_of_Known_Issues and processors.wiki.ti.com/.../CC32xx_Wifi_Audio_Application


    Regards,
    Aashish
  • Hi Ashish,

    Thank you for your kindly response.
    I could work this demo by changing the as below lines.
    >C. Replace line#344 "if(RecordPlay == I2S_MODE_RX_TX)" with "if(RecordPlay & I2S_MODE_TX)"
    >D. Replace line#349 "if(RecordPlay & I2S_MODE_TX)" with "if(RecordPlay == I2S_MODE_RX_TX)"

    Best regards.
    Kaka