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 Persistent Problems



i've followed all instructions as outlined  here wifi audio app example.

I have tried both modes, checked all my connections but still hear nothing. Also the all LEDs came on and never went out so I tried  Wifi Audio App Problem because I was having similar problems.
The only thing that changed was that the red LED goes off after launch.

Every time I run code or reset the boards the green and orange LEDs stay on.

Sometimes the red LED comes on for a brief moment then goes off.

I have a WiFi module running in AP mode (EMW3165-P).

I changed the SSID in common.h file for both launchpads to match the WiFi module SSID.

My headset line's connected to the line out of the second launchpad and the audio source line is connected to the first launchpad's line in.

Both audio booster packs are properly connected to the launchpads and J15 isn't connected on both launchpads.


Funny thing is when I plug in both boards, they are immediately recognized by the ti WiFi starter App (iOS) which is connected to the AP.

Nothing happens beyond that. There's no sound and the green and orange LEDs stay on continuously.

Am I missing something? Does the sound have to be played at a specific rate?

Please help!

  • Hi,


    By default example come up in loopback mode means it will read data on MIC and playback to speaker. Verify whether device coming up with loopback mode or not for further debugging. For loopback test use only one LP at a time.


    Regards,
    Aashish
  • Yes. It does come up in loop back mode.  As you said, the board reads data from mic and plays it back on the same board. I guess my question is how to get it out of loop back mode. I would like to have one board (LP1) send audio signals to the other board (LP2).

    My understanding is that RecordPlay determines whether to playback audio signals or to record from mic
    but I'm not sure whether it gets audio data from mic or the audio input LINE IN.

    For debugging, I wanted one board (LP1) to be the sender and the other (LP2) to be receiver. So LP1 would just capture audio signals (without playing them back) and send them to LP2 which would just play them.  What do I need to change to make this possible?

    • I've tried disabling the mic task on LP2 and disabling the mic task on LP1 but still there's still no audio data transfer. Do mic task and speaker task depend on each other?
    • Initializing RecordPlay to I2S_MODE_RX on LP1 and I2S_MODE_TX on LP2
    • AudioCodecSpeakerVolCtrl(AUDIO_CODEC_TI_3254, AUDIO_CODEC_SPEAKER_LO, 95);

    • AudioCodecMicVolCtrl(AUDIO_CODEC_TI_3254, AUDIO_CODEC_SPEAKER_LO, 50);

  • Hi,


    So its clear that there is no issue with hardware as both the board/LP coming up in loopback mode without any issue. Also we can see from very initial post both LP able to get IP using smartConfig so there is no issue in acquiring IP. Please revert back all below changes that you made:

    1. I've tried disabling the mic task on LP2 and disabling the mic task on LP1 but still there's still no audio data transfer. Do mic task and speaker task depend on each other?
    2. Initializing RecordPlay to I2S_MODE_RX on LP1 and I2S_MODE_TX on LP2
    3. AudioCodecSpeakerVolCtrl(AUDIO_CODEC_TI_3254, AUDIO_CODEC_SPEAKER_LO, 95);
    4. AudioCodecMicVolCtrl(AUDIO_CODEC_TI_3254, AUDIO_CODEC_SPEAKER_LO, 50);


    Now follow below sequence once both the LP acquired the IP:
    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.



    Regards,
    Aashish
  • Hi Aashish,
    Thanks for the reply,

    Unfortunately only step 2 & 3 happen. Both LP1 and LP2 successfully connect to the AP and pressing SW2 on LP1 results in the LED on LP1 switching off, and the red LED on LP2 does switch off after a few seconds.

    However, when I press SW3 on LP2 and SW3 on LP1, the red LED does not switch on on LP2.

    UPDATE

    I got it work! (Ran one LP in multicast mode and the other in unicast mode.)

    Thank you Aashish.

  • Hi Aashish, ptrmh,

    A. I am trying to run the same demo with the 2 setup connect to two PC with CCS 6. Loop back mode work on both boards, however in step 2 when I press SW2 the Red LED did not turn off in neither muticast nor unicast mode.

    B. please clarify which board (LP1 or LP2) runs in multicast mode? 

    Thank you,
    Sy