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.

Compiler: Data acquisition in WIFI connection status ,data has a disturb @ 10Hz

Other Parts Discussed in Thread: CC3200

Tool/software: TI C/C++ Compiler

 Hi

      I  need  acquisity data in WIFI connection status , and i found a 10HZ error signal in my data ,and if i close wifi connect ,it is hide。

      I try change IntPriority solve this question 

      My  Data acquisition use I2S  interrupt ,use  INT_PRIORITY_LVL_0  (MAP_IntPrioritySet(INT_I2S, INT_PRIORITY_LVL_0);)

     how can i check  socket connect  IntPriority and change it? or any other method can i solve this question。

amelia

 

  • Hi Amelia,

    user4982663 said:
    close wifi connect

    Please clarify what you mean by this. I assume you mean you stop the network processor with sl_Stop().

    user4982663 said:
    WIFI connection status

    Do you mean that you are sampling while you are connected to Wi-Fi or that you are trying to perform the connection process while you are sampling?

    user4982663 said:
    I2S  interrupt

    Are you sampling audio data?


    Thanks,

    Ben M

  • Hi BenM

         My  want wifi connection  is online,and can sample data  without close,when sample down , i can trasfer data with wifi.and continue

       my project is real time data acquisition and analyze ,and transfer data to PC by WIFI , if i  close connection while sampling with sl_stop,it means  connect after sample  ,and disconnect before  next sample

       now I use this method(sl_stop) ,and can run ,but speed and stabilization is not very well

       I see point is Interrupt preemption with i2S and socket  heartbeat(10Hz),so  if i  cant reduce  socket  heartbeat  IntPriority  and  increase I2s    IntPriority  , i can solve this quetion.

       I sample audio data 

     

    tks

     

    amelia  

     

      

     

  • Hi Amelia,

    sl_Stop() completely stops the network processor, it doesn't just close the socket. Is it when the network processor is stopped (sl_Stop()) that you see the issue go away? Or when the socket is closed (sl_Close())?

    Can you show what interrupt for the socket that you believe is preempting your I2S interrupt?

    Thanks,
    Ben M
  • Hi Ben

       If i close socket (sl_close) ,disturb is exist  occasionally . but if use sl_stop ,no any error signal always 。

       I can't  get any message to found which interrupt of network  processor, just found this interrupt frequency  is 10Hz ,and if i close network  processor ,this interrupt is  disappear。

       In my another project ,I use CC3200 as STA mode ,when I sample , I  disconnect wifi connection  and socket connection ,but if  i open SL_POLICY_SCAN during sample function(I2S) this interrupt is existing too .(   sl_WlanPolicySet(SL_POLICY_SCAN,1,(_u8 *)intervalInSeconds,sizeof(intervalInSeconds)); )

       now this project use AP mode , I must use sl_stop  to desolve this questions

    tks

     amelia

  • Hi Amelia,

    Based on the description, it doesn't sound like the issue is with an interrupt being generated on the host interrupt line from the network processor to the MCU in the CC3200 blocking the I2S function. This is the interrupt I am referring to. Please share how you are measuring the frequency of the host IRQ and lining it up with the noise you see in your data.

    Thanks,
    Ben M