Wi-Fi Combo Forum Discussions
Who have BCM943362wcd6 sch&layout?share me.
Why can not I get a break in the function "wiced_join_events_handle" which is from line 964~1192 of the file(/Wiced-SDK/WICED/WWD/internal/wwd_wifi.c) in WICED SDK3.1.2? Other functions can get a break normally.
My Make Target is:
wwd.canned_send-BCM943362WCD4-NoOS-NoNS-SPI-debug no_dct download run
After the app is downloaded to BCM9WCD1EVAL1,it can connect my router successfully and run well, but I can not get a break in the function "wiced_join_events_handle" while I am debugging with WICED IDE 3.1.2. All of the code has not been modified.
Why?
Show LessHi,
I would like to interface I2S audio codec on USI WM-14 module. This module uses STM32F2xx platform and for this specific platform I don't find any I2S drivers/platform file implementation.
If any of you have done some work on I2S for this platform then please share your thoughts/ideas and best if you could share the I2S implementation.
Thanks,
Rohit Sivakumar
Hello,
I want to interface to WICED wifi module a display and SD card, both work on SPI. As there is only one SPI available, how to multiplex?
Can i use soft SPI for one of them? Any examples?
Thanks,
Raghu
Show LessI have integrated the WICED SDK into our product, featuring the BCM43362A2. I was asked this question on our forums, which goes way beyond my knowledge:
IEEE 1588 can be implemented solely in software to give accuracy in the sub-100 microsecond range. This is similar to that seen with other software implemented protocols such as Network Time Protocol (NTP - RFC 1305) and Simple Network Time Protocol (SNTP) methods that operate across the same network topology.
However, if timestamping is performed in the application layer, interrupts and other unpredictable software processes can introduce jitter and latency which may impair the synchronization. Even the use of a very precise external oscillator won't overcome the stack jitter associated with a software-only 1588 implementation.
Most applications require the higher accuracy achieved by timestamping packets at the interface between the physical (PHY) and data link (MAC) layers (often referred to as "hardware timestamping"). IEEE 1588 hardware timestamping typically improves accuracy to 100 nanoseconds or better for certain network configurations, which is better than NTP, SNTP, Time-Triggered Protocol (TTP - www.ttpforum.org) and SERCOS (IEC 61491) methods.
http://www.ieee802.org/1/files/public/docs2008/avb-rhee-802-11n-timestamp-0908.pdf
http://www.ieee802.org/1/files/public/docs2013/tsn-phk-1AS-srv-802-11ak-links-0813-v1.pdf
Will hardware timestamping support be provided in wifi drivers?
The 2nd link mentions timestamping in association with TSF, which is also mentioned in the 43362A2 datasheet, but that's about the only information I have.
Thanks, and best regards,
mat.
Show LessHi
We use the Inventek module ISM43362_M3G_L44 which uses the STM32F205 processor.Our application is that the Host(STM32F205) will continuously receive streaming audio data(PCM format) from another HD radio DSP chip through I2S interface. Then the host will pack the PCM streaming data to TCP packets and send these packets to the Android tablet through Soft AP. The host also receives the commands from the tablet through TCP socket for HD radio tuning functions. Our application including the I2S DMA API/driver are running well in WICED SDK 3.1.1.
But we have a TCP radio audio streaming Issue. We use wiced_tcp_stream_write(data length 16k bytes)to send the radio audio stream. But the soft AP network interface is broken and down after a couple of hours’s(2~4) sending the audio data stream. I can’t see any failures on function call wiced_tcp_stream_write()before the soft AP network interface is broken and down. When I go to wifi setup windows on tablet, I saw “Authentation error occurred” under our “WIFI Network name”. Our soft AP security is open using #define SOFT_AP_SECURITY WICED_SECURITY_OPEN. When the tablet manually tries to reconnect the Soft AP interface, it fails again. I have to reset the BCM module manually.
Can you please investigate this?
Thanks,
Tiger
Show Lessi cannot register an account at http://xively.com/ i cannot find
i want to do that follow the word ,but i can't continue..
Hi,
I'm trying to develop a websocket client on the wiced eval board. I'm currently using SDK 3.1.2.
Now I'm stuck at websocket_handshake() function.
I had a websocket server up on my Mac and saw the handshake message from the client.
However, the client was stuck at receiving handshake message from the server and finally the watch dog expired and the system got reset.
After poking around, I find that if I comment out line the following line in in websocket_connect() function.
wiced_tcp_register_callbacks( &websocket->socket, websocket->callbacks->on_open, NULL, websocket->callbacks->on_close );
The handshake can process well.
Anybody know why?
I do have those callback functions (on_open, on_close, on_message) implemented but all of them have empty body.
Maybe I am not supposed to leave them empty but the question is what I am supposed to implement them in order to make the handshake process successfully?
Thanks!
Alex
Show LessI am trying to generate PWM for IR transmission. In order to get this functionality, I am required to switch on the PWM for some x time and then switch off the pwm for again some y time. This sequence continues till all the IR codes are transmitted. I am facing a unique problem here. I am using :
- WICED_SDK version 3.1.2, Broadcom module (part no: BCM943362WCD4) used on Broadcom EVM (part no: BCM9WCD1EVAL1_P400),
- Using FreeRTOS+LWIP stack for generation of PWM using platform_PWM functions implemented in wiced sdk.
- Issue faced:
Test Code snippet where problem is observed.
while(loopCnt <dataLength)
{
onTime_inuS = AC_TMP_UP[loopCnt]*10; //AC_TMP_UP is an array with pronto codes
offTime_inuS = AC_TMP_UP[loopCnt+1]*10;
loopCnt+=2;
irTX_Start();
wiced_rtos_delay_microseconds(onTime_inuS); // there is no problem in //delaycalculation. it gets stuck here //upon reset.
irTX_Stop();
wiced_rtos_delay_microseconds(offTime_inuS); // there is no problem in delay //calculation.
}
1. In the above code snippet, after the first time programming, the PWM start and stop works via wrappers : irTX_Start() & irTX_Stop() and does not get stuck in delay routine wiced_rtos_delay_microseconds for either start or stop cases.
2. However upon restarting the EVM board (power down and power up again) , the program gets stuck up in wiced_rtos_delay_microseconds(onTime_inuS) line.
3. Upon debugging Inside wiced_rtos_delay_microseconds(onTime_inuS), we find the code gets stuck inside a while(current_time < end_time) loop implemented in this wiced_rtos function. Since this while loop condition never becomes false upon a reset, the program is stuck on this delay function and is unable to proceed ahead. The only way to recover the system to normal is to reprogram/reflash and again it works fine till we again reset the EVM.
(while loop snippet):
while ( current_time < end_time )
{
current_time = host_platform_get_cycle_count( );
}
Any help here or if anyone has encountered such a situation and has found a fix or workaround please share.
Show Less