Wi-Fi Combo Forum Discussions
Hi,
I hope this is the right place to post this question.
We are using an embedded BCM43438 chip for wifi communication on a board powered by single 1 cell LIPO battery.
When wifi is activated we exprience periodic powe consumption spikes (which cause a reset to our CPU when battery levels start to drop).
The period depends on whether we connected to the required network or not.
When we are connected this happens roughly every 2 minutes, otherwise its about 6 seconds.
We would like to know what is happening and whether we can disable it or not.
The current draw is much higher than normal transmission power and even much more than when we initiate a scan (i.e. iwlist scan)/
I would really appreciate any help on this issue,
Thank you very much
Show LessHi,
I used 'mkeep_alive' option to force WiFi send keepalives packets while sleeping (I provide TCP packet which I build manually). I also found tcp keepalive option for WiFi chip (using 'tcpka_conn_add' and 'tcpka_conn_enable' options), but I got 'UNSUPPORTED' error.
The problem with 'mkeep_alive' is that it just sends data without handling connection breaks. In my case I want WiFi chip behave like usual TCP connection, i.e. send keep alive probes periodically, and if chip does not receive N answers in a row - report error. Is there any mechanism to achieve such behavior?
Thanks,
Ivan.
Show LessI use the chip of BCM43362 and do wifi adaptive test on channle 1 and channel 13.
The NVRAM parameters are:
edonthd40=-86
edoffthd40=-92
edonthd20u=-86
edonthd20l=-86
edoffthd20ul=-92
The test results show that pass on channel 1 but fail on channel 13.
Can you help me to explain the meaning of parameters above and how to adjust these parameters?
Thanks a lot.
Show LessI want to use the CYW43907 working in temperature -30 to 70 centigrade,
So prepare to evaluate it with this Eval Kit.
What's the Work Temperature of CYW43907 Eval Kit?
Can it work in -30 to 70 centigrade?
Show LessFYI: For those who have tested with snip.email, you may find incompatibility with some SMTP servers out there.
I had to make two modifications to the WICED file smtp.c:
1. Some servers respond with "250 AUTH=LOGIN", which causes the reply check to fail.
2. A space should not be added to the end of a username or password reply.
The following is representative of the changes required:
wiced_result_t wiced_smtp_send( wiced_email_account_t* account, const wiced_email_t* email )
{
...
/* Check if authentication is required */
// SMTP server may reply with "AUTH=LOGIN", not with "AUTH LOGIN"
//if ( strnstrn( reply, length, smtp_auth_login, sizeof(smtp_auth_login) - 1 ) )
if ( strnstrn( reply, length, "AUTH", sizeof("AUTH") - 1 ) )
{
...
}
and
static wiced_result_t send_smtp_command( wiced_tcp_socket_t *socket, const char *command, uint8_t command_length, const char* params, uint16_t params_length )
{
...
// Add space only when there are parameters to send (i.e., otherwise username/password auth fails)
if (params_length > 0)
{
memcpy( (void*) data, (void*) smtp_space, GET_CONST_BUF_LENGTH(smtp_space) );
data += GET_CONST_BUF_LENGTH(smtp_space);
}
...
}
I hope this helps someone out there.
Show LessEVB with CYW943012C0 WiFi+BT Combo Chip cannot run ble_wifi_introducer app.
I try in host and embedded mode, and both of it are not work , see the attached file.
Could you help us to debug?
Show LessHi,
I am working with a Sterling-LWB module (CYW4343W) + STM32F411 microcontroller (discovery board), and have been trying to build a simple app with BLE & Wi-Fi functionality at the same time. (SDK Version 6.2.1)
I am running into the same problems as others on recent community threads, GKI_create_task failing, example debug output:
00:00:02.720000 GKI_create_task thread_evt_queue failed(8), HCISU!
BLE / Wi-Fi each seperately work as expected, for example when i comment out wiced_bt_stack_init(...) or wiced_network_up(...), respectively.
I am looking for any pointers where to start to get this to work: Has any one else had success running BLE & Wi-Fi at the same time on a STM32 MCU ?
Thanks for any help ! Best regards
Show LessDear Sir,
Now I am trying to flash snip.scan image into our target board. And I got the error message(****************** Result: Verify after write failed) in the log file (\43xxx_Wi-Fi\build\openocd_log.txt), but in EVB board the image can be downloaded and run well by the same downloading method.
Could you help me to download the image into our target's external flash?
###Our target's Flash is S25FL064L, and EVB's Flash is S25FL512SAGBHIA10.
### Command for downloading image
.\tools\OpenOCD\Win32\openocd-all-brcm-libftdi.exe -s .\tools\OpenOCD\scripts -f ./tools/OpenOCD/cmsis-dap.cfg -f ./tools/OpenOCD/psoc62.cfg -f apps/waf/sflash_write/sflash_write.tcl -c "sflash_write_file build/snip.scan-<EVB>/filesystem.bin 4096 <EVB>-SDIO 0 6" -c shutdown >> build/openocd_log.txt 2>&1
#Downloading apps lookup table in wiced_apps.mk
.\tools\OpenOCD\Win32\openocd-all-brcm-libftdi.exe -s .\tools\OpenOCD\scripts -f ./tools/OpenOCD/cmsis-dap.cfg -f ./tools/OpenOCD/psoc62.cfg -f apps/waf/sflash_write/sflash_write.tcl -c "sflash_write_file build/snip.scan-<EVB>/APPS.bin 0x0000 <EVB>-SDIO 0 6" -c shutdown >> build/openocd_log.txt 2>&1
BR,
HY
Show LessI'm running a dev board as follows:
Starting WICED vWiced_006.002.001.0002
Platform NEB1DX_01 initialised
Started ThreadX v5.8
Initialising NetX_Duo v5.10_sp3
I'm having trouble with the following sequence - it doesn't seem to work correctly to me.
I have an array of 2 sockets as follows:
static wiced_tcp_socket_t tcp_client_socket[2];
The code performs the following sequence:
1.. create a client socket (index 0) - works!
2.. bind socket (index 0) to wiced any port - works!
3. connect socket (index 0) to a server on some IP/port 7000 - works!
4. server closes the socket connection (index 0) created in steps 1-3
4a. I DO NOT disconnect the socket yet...
5. create a new client socket (index 1, different index from step 1) - works!
6. bind new socket (index 1) to wiced any port - works!
7. connect (index 1) to a server on some IP/port 7001 - FAIL with SOCKET_CLOSED error code.
Note: just so all the info is clear the server IP in steps 3 and 7 is the same - but note different port numbers.
I tried the above sequence where the 2nd socket connects prior to the first being closed by the server and that works.
Also if i disconnect the socket on 4a prior to connecting the 2nd port it works fine also.
So my question is: In the sequence why does the first socket (index 0) being closed by the server have any interaction with the 2nd socket (index 1)? Those two sockets should be completely independent of each other.
Thanks.
Show LessI have installed WICED-Studio-6.2.1.2-IDE
In 43xxx_Wi-Fi project I am compiling using following command
snip.scan-MurataType1LD-NoOS-NoNS
I am getting compiler error:
make.exe[1]: *** No rule to make target 'WICED/RTOS/NoOS/WICED/rtos.c', needed by 'build/snip.scan-MurataType1LD-NoOS-NoNS/Modules/WICED/RTOS/NoOS/WICED/rtos.o'. Stop.
How to fix this issue?
Show Less