Wi-Fi Combo Forum Discussions
Hello Folks,
I am using this CYW43907 part for my IoT Gateway application.
Now, My IoT application has become utilizing whole internal 2MB RAM of CYW43907.
So, I plan to free up some space of internal RAM by adding a little external RAM. I understood that there is no address/data pins available on the processor to connect external RAM, but still I am hoping to know any other options are available to add external RAM via CSC interface, or some others?
I am kindly looking forward to know is this option possible?
Please provide your support to have some idea on this.
Regards,
Pradeep. S
Show LessI was doing a bit of malloc debug since I saw memory increasing whenever new clients (Firefox web browser) connected to the WICED HTTPS server (TLS enabled). I observed that the function http_server_deferred_connect_callback() allocates memory for each new client, but never frees the memory. Over time the memory usage creeps up and up.
The function call that allocates the memory is context = malloc_named("https", sizeof(wiced_tls_context_t));
Can anyone think of a way to free up the memory after a period of time has expired (i.e., the client has not connected for some period of time)? (Other than stopping and re-starting the server, that is.)
Thanks!
Show LessHi Team,
I am working on wiced 6.4 sdk in FREE_RTOS platform.
After joining to access point if you go out of range from router and come back it is not able to rejoin again.
I am using wiced_network_up() and wiced_network_down() for connection and disconnection.
If you go out of range will device send any notification to router that it is disassociating?
what if it didn't send notification to router that it is disassociating and attempts to connect again?
Thanks,
Raviteja.
Show LessWe are using the Sterling - Laird LWB5 Module in SoftAP mode. We need to control the power level of the transmitter. We have been told this is controlled by the firmware. Can we modify the power level in the firmware?
Show LessI am running an HTTPS server (the one under libraries/daemons/HTTP_Server) and after a while of connecting via various devices, I can get it to stop responding to incoming packets. http_server_event_thread_main() waits indefinitely:
result = wiced_rtos_pop_from_queue( &server->event_queue, ¤t_event, WICED_NEVER_TIMEOUT );
However, when I manually call the following, it recovers:
wiced_tcp_server_stop(...);
wiced_tcp_server_start(...);
So, the TCP server appears to stop responding for some reason.
Any ideas on what could be responsible for chopping the TCP server off at its knees?
Thanks!
Show LessI want develop my own wifi host driver for cyw43362 chip (I want interface Cypress wifi chip with my nxp microcontroller) .
But I can't find a formal PDF reference or datasheet that includes register of wifi chip or sdio command .
Is there any formal documents that released by Cypress?
Show LessI am having issues connecting to the CYW4343W using WiFi direct on some devices. The wifi chip is from Murata, type 1DX. I have tested 6 devices of which 4 work all the time and 2 almost never work.
In all cases the Wiced stack shows that the connection setup was successful but the phones stop connecting after a certain amount of time. I have copied the log from the Wiced device below, the first log shows a connection setup that is completed successfully.
Connection Request from: AA:96:75:04:EB:9E Moto status=02
Starting registrar in PBC mode
PBC overlap detection window start 0
Starting WPS Registrar
WPS enrollee associated: AA:96:75:04:EB:9E
WPS completed successfully
connection_p2p_wps_result_handler: WPS completed successfully
WPA2 client associated: AA:96:75:04:EB:9E
And in the next case the connection fails.
Connection Request from: 32:C7:AE:46:5A:BE [Phone] Samsung status=02
Starting registrar in PBC mode
PBC overlap detection window start 0
Starting WPS Registrar
WPS enrollee associated: 32:C7:AE:46:DA:BE
Received probe request asserting PBC mode from last enrollee
WPA2 client associated: 32:C7:AE:46:DA:BE
WPS completed successfully
connection_p2p_wps_result_handler: WPS completed successfully
And after a while:
P2P device disassociated: 32:C7:AE:46:DA:BE
The main difference i see is that the message: 'Received probe request asserting PBC mode from last enrollee' is only shown in the failing example. But I also have seen another device where this message is shown during the connection phase but that device connects normally.
So my first question is: Does the 'Received probe request asserting PBC mode from last enrollee' message indicate a problem in the setup stage?
The second question is: Why does the Wiced stack say connection success while the phone does not indicate having a connection?
I have also gathered logs from the android devices and one thing I noticed is that there are some messages that are unhandled for example:
D/WifiP2pService: GroupNegotiationState{ what=131213 }
D/WifiP2pService: GroupCreatingState{ what=131213 }
D/WifiP2pService: P2pEnabledState{ what=131213 }
D/WifiP2pService: DefaultState{ what=131213 }
E/WifiP2pService: Unhandled message { what=131213 }
I don't see these Errors on devices where the connection always works.
My third question is: What causes the messages being lost and why does the Wiced stack not handle them?
Any other advice on improvements are appreciated.
Finally I would like to share the settings of the WiFi direct module:
static besl_p2p_device_detail_t p2pDetails =
{
.wps_device_details =
{
.device_name = "DIRECT-P2P",
.manufacturer = "Manufacturer",
.model_name = PLATFORM,
.model_number = "Model",
.serial_number = "12345670",
.device_category = WICED_WPS_DEVICE_COMPUTER,
.sub_category = 7,
.config_methods = WPS_CONFIG_PUSH_BUTTON | WPS_CONFIG_VIRTUAL_PUSH_BUTTON | WPS_CONFIG_DISPLAY | WPS_CONFIG_VIRTUAL_DISPLAY_PIN | WPS_CONFIG_KEYPAD,
.authentication_type_flags = WPS_OPEN_AUTHENTICATION | WPS_WPA_PSK_AUTHENTICATION | WPS_WPA2_PSK_AUTHENTICATION,
.encryption_type_flags = WPS_NO_ENCRYPTION | WPS_MIXED_ENCRYPTION,
},
.listen_channel =
{
.country_string = "XX\x04",
.operating_class = 81,
.channel = 1,
},
.operating_channel =
{
.country_string = "XX\x04",
.operating_class = 81,
.channel = 6,
},
.channel_list =
{
.country_string = "XX\x04",
.p2p_channel_list_table =
{
{ 81, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, },
{ 115, 36, 40, 44, 48, },
{ 124, 149, 153, 157, 161, },
},
},
.group_owner_intent = 15,
.go_configuration_timeout = 100, // 1000 milliseconds (Units of 10 milliseconds)
.client_configuration_timeout = 50, // 500 milliseconds
.device_password_id = WPS_DEFAULT_DEVICEPWDID,
.peer_device_timeout = 60000, // For timing devices out of the p2p peer list (in milliseconds)
.group_formation_timeout = 30000, // For timing out a group formation attempt (in milliseconds)
.p2p_capability = 0x0820, // Intra BSS Distribution, Invitation Procedure
};
And the android devices that where used:
- Samsung Galaxy S5 mini - android 6.0.1 - Does not work
- Google Pixel 4 - android 10 - Does not work
- Samsung Galaxy Tab S2 - android 7.0 - Does work
- Motorola G5 Plus - android 8.1.0 - Does work
- Xiaomi mi pad 4 - android 8.1.0 - Does work
- LG Nexus 5 - android 6.0.1 - Does work
Hello,
I am currently designing a wireless VOIP-like product based on the 43907 MCU.
Reviewing the audio libraries/drivers, I found out a worrying comment in the I2S platform driver (platform_i2s.c):
/* FIXME Revisit when full-duplex is fully implemented! */
static inline void I2S_LOCK_PORT( platform_i2s_port_t port ) {
(void)0; /* TODO */
}
Does it mean that I should not use the audio API in a multi-threaded application (with one TX thread and one RX thread) ?
What about a single thread application ?
As far as I know, there is no mention of such limitation in the documentation.
For now, I patched the WICED audio module to allow async IO and managing the full duplex transactions in a single thread (without any wiced_audio_wait_buffer() blocking call).
But is this enough ?
Thank you for your help.
Show LessHi Cypress member,
I was asked about how do we modified CCA/ED configuration by our customer.
In Nvram file for Murata Type1MW(CYW43455), the following two items are written.
ed_thresh2g=-65
ed_thresh5g=-65
Can we modified them and what can we see as a result?
Best regards,
Shohei.
Show LessHello,
I downloaded wiced studio 6.4 and started following the steps in wickedwifi-101 tutprial.
On opening the IDE, I do not get a window to select Wiced platform.
I do not see any projects in Project explorer window.
Wiced target selector also called SDK selector window in wicedwifi-101 shows "Wicked filters off".
Under Wiced platform icon, I only get the option "Wiced filters off".
Can you please help with what the error could be and how to solve it ?
Thanks and best regards
Bhawandeep Singh
Show Less