Wi-Fi Combo Forum Discussions
I have tried multiple SSIDs using WLAN module with CYM43455, but I can not do well.
However, I have heard that the CYW43455 supports multiple SSIDs as hardware.
I think that I can support multiple SSIDs by modifying the driver or hostapd. Is my recognition correct?
I use the FW binary brcmfmac43455-sdio.bin provided by the WLAN module vendor.
Is this FW not supported multiple SSIDs?
Show LessI am using WICED 6.2 to work with CY8CKIT062-WiFi-BT. I need to store some data, and retrieve it from the external flash memory(U4). Is there an example that I can use to be able to do flash memory read write operations?
Thank you.
Show LessI have included an HTTP server to display my data using Ajax. When the page is up in a browser and the client is making Ajax requests some of my other threads are interrupted for too long. For example, I have a thread that communicates over a serial port every 30ms. With the webpage up and Ajax requests processing with updates once per second, I can see data out the serial port being disrupted for 100-200 ms. I am assuming that this is due to the http server having a higher thread priority. There doesn't seem to be a way to lower it in the api. I can bump the priority of my other threads to be higher than the http server.
The http server is purely informational and should be the lowest priority in my app.
How does the http server fundamentally operate with regards to the RTOS, threading and priority? How can I control its priority or what priority do I have to run my threads so they take precedent ?
Show LessHello everyone,
I'm trying to transfer data over SPI protocol using DMA. I see examples of SPI_SLAVE and SPI_MASTER but they don't use DMA. I was wondering if someone has done this before?
Kind regards,
Hamid.
Show LessHi,
I am trying to download code (e.g. snip.scan-CYW943907AEVAL1F download run) on CYW943907AEVAL1F eval board connected through USB but it fails during 'build apps lookup table'.
This used to work with earlier WICED versions 5.x but now it fails with latest WICED 6.2.
The user manual for CYW943907AEVAL1F eval board (https://www.cypress.com/file/370526/download ) says the device should comes up as :
1. The WICED USB Serial Port is listed under Ports (COM & LPT) as shown in Figure 3-3. b.
2. The WICED USB JTAG Port is listed under WICED USB JTAG Devices as shown in Figure 3-3.
It used to come up with earlier versions like this. But with new version, it shows up for #2 as 'libusb-win32 devices' instead of 'WICED USB JTAG devices'.
I tried re-installing device driver but no luck, and shows up as same.
Please help on how to correct this error to be able to flash over USB OR it will work only with previous versions only.
Thanks.
-Vikas.
Console:
Building apps lookup table
WICED/platform/MCU/BCM4390x/BCM94390x_targets.mk:372: recipe for target 'download_dct' failed
make.exe[1]: *** [download_dct] Error 1
Makefile:351: recipe for target 'main_app' failed
make: *** [main_app] Error 2
OpenOCD log:
Open On-Chip Debugger 0.10.0+dev-00227-g0d15c62 (2018-03-27-15:19)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
trst_and_srst separate srst_nogate trst_push_pull srst_open_drain connect_assert_srst
trst_and_srst separate srst_nogate trst_push_pull srst_open_drain connect_assert_srst
adapter speed: 100 kHz
adapter_nsrst_delay: 100
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
jtag_ntrst_delay: 100
post_init_psoc6_setup
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Info : clock speed 100 kHz
Info : JTAG tap: BCM43909.cpu tap/device found: 0x5ba00477 (mfg: 0x23b (ARM Ltd.), part: 0xba00, ver: 0x5)
Info : BCM43909.cpu: hardware has 4 breakpoints, 4 watchpoints
in procedure 'sflash_write_file'
in procedure 'sflash_init' called at file "apps/waf/sflash_write/sflash_write.tcl", line 261
in procedure 'init' called at file "apps/waf/sflash_write/sflash_write.tcl", line 155
in procedure 'ocd_bouncer'
force hard breakpoints
Info : JTAG tap: BCM43909.cpu tap/device found: 0x5ba00477 (mfg: 0x23b (ARM Ltd.), part: 0xba00, ver: 0x5)
Error: Error BCM43909.cpu: Reset was not successfully asserted
in procedure 'sflash_write_file'
in procedure 'sflash_init' called at file "apps/waf/sflash_write/sflash_write.tcl", line 261
in procedure 'post_init_43909_setup' called at file "apps/waf/sflash_write/sflash_write.tcl", line 160
in procedure 'reset' called at file "apps/waf/sflash_write/sflash_write.tcl", line 569
in procedure 'ocd_bouncer'
Show LessHi Cypress
I am using CYW43455(pi3 b+ platform) to pass CE certification, with wl tool version:
1.141 RC64.24
w10: Mar 12 2018 16:18:54 version 7.45.222(RPI-PRKE) (r683458 CY WLTEST) FWID 01-35ee9694
But when we go adaptivity testing, our CCA time is fail (271us measured, but spec is 18~160us)
Our wl setting is refered to wl manual 4.2.5 as follows, could you give us any suggestion for our setting?
sudo ./wl -i wlan0 out
sudo ./wl -i wlan0 down
sudo ./wl -i wlan0 frameburst 0
sudo ./wl -i wlan0 ampdu 1
sudo ./wl -i wlan0 country FR/5
sudo ./wl -i wlan0 bi 65000
sudo ./wl -i wlan0 phy_watchdog 0
sudo ./wl -i wlan0 mpc 0
sudo ./wl -i wlan0 txchain 1
sudo ./wl -i wlan0 mimo_bw_cap 1
sudo ./wl -i wlan0 2g_rate -r 1
sudo ./wl -i wlan0 up
sudo ./wl -i wlan0 phy_forcecal 1
sudo ./wl -i wlan0 join "MY_AP"
sleep 5
sudo ./wl -i wlan0 status
sudo ./wl -i wlan0 phy_ed_thresh -70
sudo dhclient
iperf -c 192.168.x.x -u -b -l -i 1 -t 10000
Regards,
Joseph
Show LessWhen I used network_tcp_send_packe, error 0x49 [NX_TX_QUEUE_DEPTH] is occurs.Our application sends about 25kbytes data via wi-fi(2.4GHz) at regular intervals about 160ms. This problem is happened sometimes in a few hours.
I create the sample code based on snip.tcp_client and attached in this discussion.
Can you give me some advice to resolve this problem?
BTW, this problem is related to other discussion ((CYW943907) network_tcp_send_packet error with 0x39 )
Error log
+ network_tcp_send_packet() returns 0x49 [NX_TX_QUEUE_DEPTH]
+ wiced_tcp_send_buffer() returns WICED_ERROR
Environment:
+ SDK: WICED-Studio-6.2
+ Device: CYW943907AEVAL1F
+ MakeTarget: project.tcp_client2-CYW943907AEVAL1F ota2_image download_apps download run
Show LessHi,
I am using Neb1DX evl board and trying to set 2 UART ports.
First uart is Wiced_uart_1 (USART1) and it is working great but the second uart is WICED_UART_3 (UART7) without rts and cts.
When I try to send to Neb1DX I get UnhandledInterrupt while on UART1 is working ...
First init of UART 3
/* Initialise ring buffer */
ring_buffer_init(&rx_buffer_wifi, rx_data_wifi, UART_RX_BUFFER_SIZE );
/* Initialise UART. A ring buffer is used to hold received characters */
wiced_uart_init( WICED_UART_3 , &uart_config_WIFI, &rx_buffer_wifi );
in platform.c seems like the interrupts are configured correctly
WWD_RTOS_DEFINE_ISR( uart7_irq )
{
platform_uart_irq( &platform_uart_drivers[WICED_UART_3] );
}
WWD_RTOS_DEFINE_ISR( usart3_rx_uart7_tx_dma_irq )
{
/* Determine which peripheral is currently using this DMA stream */
uint32_t dmaChan = platform_uart_peripherals[WICED_UART_2].rx_dma_config.stream->CR & DMA_SxCR_CHSEL;
if(dmaChan == platform_uart_peripherals[WICED_UART_2].rx_dma_config.channel){
platform_uart_rx_dma_irq( &platform_uart_drivers[WICED_UART_2] );
}
else{
platform_uart_tx_dma_irq( &platform_uart_drivers[WICED_UART_3] );
}
}
WWD_RTOS_DEFINE_ISR( uart7_rx_dma_irq )
{
platform_uart_rx_dma_irq( &platform_uart_drivers[WICED_UART_3] );
}
WWD_RTOS_MAP_ISR( uart7_irq , UART7_irq )
WWD_RTOS_MAP_ISR( usart3_rx_uart7_tx_dma_irq, DMA1_Stream1_irq )
WWD_RTOS_MAP_ISR( uart7_rx_dma_irq , DMA1_Stream3_irq )
Small note:
When I send packet through uart (from Neb1DX to pc) I recieve it but Neb1DX stuck on line
host_rtos_get_semaphore( &driver->tx_complete, NEVER_TIMEOUT, WICED_TRUE );
in function
platform_result_t platform_uart_transmit_bytes( platform_uart_driver_t* driver, const uint8_t* data_out, uint32_t size )
I read about UART and seems its fine to set 2 uarts.
I thought maybe uart polarity is incorrect , how can I change polarity to check ?
more ideas?
Thanks,
David
Hi - How to preserve DCT after an app update using OTA (version 1).
LG G4 use CYW4339 chip to WiFi and Bluetooth...It works really fine with Android Lollipop or Nougat but we have problems with voice call with Bluetooth Headset, we can talk and people listen us fine but we can't listen the voice from the contact... it's like bluetooth voice is garbled / distorted / robotic
Thanks if anyone can help us
Show Less