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.

Wifi Audio App problem

Other Parts Discussed in Thread: CC3200

Hello,

I would like to know if someone could give me a good way to get the "wifi audio app" working, as i am getting desperate.

I recently bought two cc3200 launchpads (rev 4.1) and two audio boosterpack (rev 3.0) and tried to send some sound from one to the other, but after a week of many tries I still can't get it working.

Here is what I did :

- with the right jumpers position (SOP2, J2/J3 & J6/J7)

- format both units

- loaded the service pack (ver 1.0.0.10.0)

- loaded the "wifi_audio_app" from the sdk (ver 1.1.0)

- took out the sop2 jumper


When I reset both units after pulling out the sop2 jumper, I get the green and orange leds permanently on.

The red one blinks once and then gets also permanently on.

Then the units seem totaly freezed.

I can't find any unit or AP usingthe WiFi starter App.

Could someone tell me where I am wrong and what I misunderstood please?

Thanks in advance.

Nicolas

  • Hi Nicolas,

    Have you taken a look at: processors.wiki.ti.com/.../CC32xx_Wifi_Audio_Application ?

    ***
    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.
    ***

    Have you tried using the SmartConfig app?

    Regards,
    Gigi Joseph.
  • Hello Gigi Joseph,
    Yes I tried it, in fact i tried the Wifi starter App, as I can't find the Smart config App on the android store.
    Without it (scanning my network and opening the unit html pages) I managed to connect the units to an access point.
    When I try to reset both units, in my Ap monitoring page I can see that both units are connected and that there is a streaming during a very short period, then the red light switches on and my AP sees them inactive.
    Maybe it is a problem of bandwith from my AP? What do you think?

    By the way, both green and orange leds are still permanently on...
  • Hi Nicolas,


    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
  • One point for you Aashish.
    Works fine.
    Pfiouuu I was nearly giving up.
    Thank you.

    Nicolas
  • hi ,Nicolas:
    i am also testing the audio example and have a problem the same with you ,i was so confused that i wonder that if you please write a detail about what should i do after the three Leds on on both boards .
    in fact,my problem is that when the three led on, i press the SW2 of one board ,the other red led off on second board.。。。。
    by the way , i have modify the code as Aashish says,but i just cannot make it work 。

    thankd in advance

    li