Wi-Fi Combo Forum Discussions
Hello,
I am trying to run the ping_ethernet example included in the Wiced Studio SDK.
Unfortunately, I am having troubles running it.
Problem
I get an exception in the Cypress board output terminal. After debugging, it pointed to a missing definition of "WICED_USE_ETHERNET_INTERFACE".
What I did then is to uncomment the "WICED_USE_ETHERNET_INTERFACE" definition in "wiced_defaults.h".
However, by doing so I get the following build error message:
Compiling WICED_LwIP_Interface
WICED/network/LwIP/WICED/wiced_network.c: In function 'wiced_ip_driver_notify':
WICED/network/LwIP/WICED/wiced_network.c:933:24: error: implicit declaration of function 'platform_ethernet_start'; did you mean 'platform_hibernation_start'? [-Werror=implicit-function-declaration]
result = ( platform_ethernet_start( ) == PLATFORM_SUCCESS ) ? WICED_SUCCESS : WICED_ERROR;
^~~~~~~~~~~~~~~~~~~~~~~
platform_hibernation_start
WICED/network/LwIP/WICED/wiced_network.c:937:24: error: implicit declaration of function 'platform_ethernet_stop'; did you mean 'platform_tick_stop'? [-Werror=implicit-function-declaration]
result = ( platform_ethernet_stop( ) == PLATFORM_SUCCESS ) ? WICED_SUCCESS : WICED_ERROR;
^~~~~~~~~~~~~~~~~~~~~~
platform_tick_stop
cc1.exe: all warnings being treated as errors
tools/makefiles/wiced_elf.mk:232: recipe for target 'build/snip.udp_transmit-CYW954907AEVAL1F-FreeRTOS-LwIP-debug/Modules/./WICED/network/LwIP/WICED/wiced_network.o' failed
make.exe[1]: *** [build/snip.udp_transmit-CYW954907AEVAL1F-FreeRTOS-LwIP-debug/Modules/./WICED/network/LwIP/WICED/wiced_network.o] Error 1
make.exe[1]: *** Waiting for unfinished jobs....
Makefile:351: recipe for target 'main_app' failed
make: *** [main_app] Error 2
Am I missing something to properly run this demo application?
Thanks for your help!
Show LessHi
I am running in SoFT AP mode. I get tcp socket drop frequently whenever throughput is high. I am trying to use wiced_tcp_register_callbacks to understand the socket drop reason. But I am not sure how to set the "tcp_disconnected_call" parameters.
Can you provide me an example?
Thanks,
Show Less
Hi Team,
we have upgraded Wiced_2.3 library to wiced_6.6 library, I used BCM9WCDUSI09 platform and 43362 chip.
I am getting continuously WWD_NO_CREDITS if I turned off power from router, so chip trying to connect with router every 5-6 second and after some trials wwd_sdpcm_get_packet_to_send() keeps returning WWD_NO_CREDITS forever.
This results in the SDPCM packets (in the send queue) never being transferred to the WLAN module. No further communication with the WLAN module is possible until a power cycle is performed.
This issue wasn't observed in Wiced_2.3 library it came after library upgradation.
Please help me where should I look for same, It would be great help for me If you guys could help me as soon as possible.
Below is my wiced environment information,
WLAN_CHIP := 43362
WLAN_CHIP_REVISION := A2
WLAN_CHIP_FAMILY := 43362
WLAN_FIRMWARE := 5_90_230_38
HOST_MCU:= STM32F2xx
Thanks
Kaushal Panchal.
I am having some confusion regarding the mapping between WICED_GPIO_n and WICED_PWM_m.
For example, WICED_LED1 is the same as WICED_GPIO_16. As per an example in this forum, using WICED_PWM_4 worked fine to control the brightness of WICED_LED1 (WICED_GPIO_16).
But, as per CYW943907AEVAL1F/platform.h, WICED_PWM_4 is the alias of WICED_GPIO_11 and there is no WICED_PWM_ alias for WICED_GPIO_16. Though I can see there: WICED_GPIO_16 | 189 | PWM_3.
In CYW943907AEVAL1F/platform.c, I can see:
[WICED_PWM_4] = {PIN_GPIO_15, PIN_FUNCTION_PWM3, }
So, how do I know which WICED_PWM_m to use for a particular WICED_GPIO_n?
Show LessHi,
currently I'm trying to migrate a project that runs well with WICED 2.4.1 to WICED 3.5.2.
There have been many changes in the meantime, also it seems that some functions of the API have been replaced or renamed.
I found the following remark in changelog.txt:
WICED-SDK-3.0.0 has changed considerably since the previous 2.4.1 release.
The accompanying README provides a more detailed summary of the supported
features and known limitations for this release.
But where can I find the README of Version 3.0.0?
Is there any other place where I can find detailed information about what has changed from 2.4.1 to 3.0.0 ?
Regards,
Georg
Show LessHello,
I want to send a UDP package when I receive a DTIM beacon. I want to decrease the power usage on the client side, to do this I wanted to put the device in powersave mode and when receiving a DTIM beacon it should wake up to send a UDP package. If I measure the power usage with an oscilloscope, I can see the when I receive a DTIM beacon and when the UDP package is being sent. This doesn't align with each other or sometime it does, but it drifts apart because (I'm guessing) I use a delay. I did this because it was in one of the examples 'tpc_client_powersave'.
Does anyone know how I can do this correctly?
I'm using the "cyw954907aeval1f evaluation kit".
I've attached the code I use.
Show LessI read the value of the CoreStatus register at 0x18003008, but it's value alway equal to 0x00000000 after reboot
My expectation is:
- SBResetLog bit value is 1 when platform_mcu_specific_reset(PLATFORM_RESET_TYPE_RESET)
- SBResetLog bit value is 0 when i power cycle manually or call platform_mcu_specific_reset(PLATFORM_RESET_TYPE_POWERCYCLE)
I use module CYW54907 with
WICED Version: Wiced_006.006.000.0009
I alway got the socket disconnect event when download about 1.7Mb firmware file from server at when the remaining data about 200kb. If the firmware file size smaller, about 1Mb every thing is ok.
With 1.7Mb file, if i don't write the data to the flash to reduce the time, it's seem ok too.
I also test and download file successfully with the python script.
Show Less- Following this discussion (link: https://community.infineon.com/t5/Wi-Fi-Combo/Looking-for-details-regarding-CYW43455-concurrent-Station-and-AP-operation/td-p/122651), it is mentioned that the CYW43455 module can work simultaneously as both an Access Point (AP) and a Station if I use WICED.
- I will try using WICED on my Linux system, but I can't find support for the CYW43455 module in Debian Linux.
- Is it stable to have the Access Point (AP) and Station working simultaneously using WICED? I have already tried using softAP for simultaneous AP and Station functionality, but it was not stable.
We are using the CYW954907AEVAL1F board and it is stated that it has a TSF module that can adopt the timestamps from the AP
However when requesting the TSF timer via the IOVAR buffer the timer does not seem to adopt the AP timestamps as expected. It does however reset to 0 on connection to the AP and starts counting up in microseconds as expected. Also both the AP and the board are setup to use infrastructure BSS and not IBSS.
How would we be able to get the TSF timer to work as expected?
Example function on how we currently get the TSF timer:
void getTSF(uint64_t* tsf) {
uint8_t buffer[8];
wwd_wifi_get_iovar_buffer("tsf", buffer, sizeof(buffer), WWD_STA_INTERFACE);
memcpy(tsf, buffer, sizeof(*tsf));
}