Wi-Fi Combo Forum Discussions
We want to use CYW943907AEVAL1F to receive video data from the (SDIO/ Ethernet) interface and then transmit it with wifi, which requires the wifi transmission speed to be 10MB/S, but now wifi transmission speed is difficult to meet the requirements, is there any good way
Show LessI am debuging cyw43438 using SDIO, when downloading wlan firmware to cyw43438, I always met the error response form CMD53.
The response is 0x00002800, shows 'A general or an unknown errr ccurred during the operation' according to the SDIO Spec.
And the Data0 Line kept Low all the Time.
Does anyone know what caused this problem? And How to solve it.
Much Thx.
Show LessHello.
If a WPS connection is executed using the following functions, it will stop with an error.
Please tell me the cause and countermeasure.
Function used: wiced_wps_enrollee ()
Error stop function:
wps_result_t wps_host_join (void * workspace, wps_ap_t * ap, wwd_interface_t interface)
{
~ Omitted
ret = (wps_result_t) wwd_wifi_join_specific (& ap-> scan_result, NULL, 0, & semaphore, interface
Omitted
if (wwd_wifi_is_ready_to_transceive (interface)! = WWD_SUCCESS)
{
→ Error stop WPS_ERROR (("Failed to join WPS at interface% u \ r \ n", (unsigned int) interface));
Thank you.
Show LessHi Sir,
目前在考虑MCU+CYW20706实现headset的方案,通过wiced20706 demo.audio.headset发现有两种模式:Apps processor 以及standalone mode。
如果使用standalone mode,那么不需要外部mcu参与,20706可以通过i2s接codec进行处理;如果是Apps processor mode,那么需要通过注释掉STANDALONE_HEADSET_APP,并编译成hcd文件,通过MCU烧录到20706的ram,但是这里我有个问题,在这种模式下,codec应该接在mcu侧还是20706侧?
带着这个疑问,我又做了以下实验,找了一块43907的EVK,一块20706的EVK。通过UART 4根线以及GND把两块板子连接起来,分别通过usb 供电。43xxxWiFi里面正好有一个Bluetooth_audio的demo,默认用的是BT_EMBED_MODE,但我不知道BT_EMBED_MODE,HOST_MODE,BT_HYBRID_MODE三种模式有什么区别。我把刚才编译好的headset-CYW920706WCDEVAL_40Mhz-rom-ram-Wiced-release.hcd转换成了c file,按要求更改并替换到对应的位置,之后把snip.bluetooth_audio烧录到43907EVK,通过log发现download FW失败,串口通讯似乎没有成功。
[Rx]Failed to unlock charger protection register
Failed to set fast-charge speed
Failed to lock charger protection register
Failed to unlock charger protection register
Failed to set input current limi[Rx]t
Failed to lock charger protection register
Failed to unlock charger protection register
Failed to set topoff timer
Failed to lock charger protection register
Platform CYW943907WAE3 initialised
Started ThreadX v5.8
Starting Bluetooth...
bt_buffer_pool_init: Pool creation s[Rx]uccessful, pool handle 0x4e4df0
bt_audio_init_player
WICED DCT BT NAME: WICED BLUETOOTH AUDIO WICED DCT BT DEVICE CLASS : 20 04 1c WICED DCT name WICED BLUETOOTH AUDIO [Rx]Downloading Firmware...
wiced_add_bluetooth_dm result: 0x0,
> [Rx]HCI_CMD_RESET command reponse is wrong
Error downloading HCI firmware
同时也抓了UART的波形,reset命令是有发出来,但是没有response。
排查了下,接线没有问题。所以,我不确定问题出在哪里,或者说我这么操作就是有问题的,请帮忙解答下,谢谢~
Thanks,
Leo
Show LessHello
Function processing in the functions of Wiced
Please tell me the sleep function.
What we want to realize is as follows.
------------------------------------
(1) The monitoring target flag is initially OFF.
(2) The function starts processing. Check the status of the monitoring target flag.
(3) Sleeps for 60 seconds if the monitoring target flag is not ON.
(4) After 60 seconds, check the monitoring target flag again.
(5) Repeat steps (2) ~ (4) until it is confirmed that the monitoring target flag is ON.
(6) If it is confirmed that the monitoring target flag is ON, the subsequent processing is performed.
------------------------------------
Thank you
Show LessHi
I use cyw43364 with wiced.
I want to use coex with third-party ble.
I want to disable SECI Coex and to enable 3 wire Coex.
below is array in wifi_nvram_image.h.
Q1. I can't find nvram.txt. So I will change below parameter. Is this right?
Q2. How should I change?
Q3. What GPIO is coex pin?
static const char wifi_nvram_image[] =
// # The following parameter values are just placeholders, need to be updated.
"manfid=0x2d0" "\x00"
"prodid=0x0726" "\x00"
"vendid=0x14e4" "\x00"
"devid=0x43e2" "\x00"
"boardtype=0x0726" "\x00"
"boardrev=0x1101" "\x00"
"boardnum=22" "\x00"
"xtalfreq=26000" "\x00"
"sromrev=11" "\x00"
"boardflags=0x00404000" "\x00"
"boardflags3=0x08000000" "\x00"
NVRAM_GENERATED_MAC_ADDRESS "\x00"
"nocrc=1" "\x00"
"ag0=255" "\x00"
"aa2g=1" "\x00"
"ccode=ALL"
"\x00"
//#Antenna diversity
"swdiv_en=1" "\x00"
"swdiv_gpio=2" "\x00"
"pa0itssit=0x20" "\x00"
"extpagain2g=0" "\x00"
//#PA parameters for 2.4GHz, measured at CHIP OUTPUT
"pa2ga0=-140,6566,-728" "\x00"
"AvVmid_c0=0x0,0xc8" "\x00"
"cckpwroffset0=5" "\x00"
//# PPR params
"maxp2ga0=84" "\x00"
"txpwrbckof=6" "\x00"
"cckbw202gpo=0" "\x00"
"legofdmbw202gpo=0x66111111" "\x00"
"mcsbw202gpo=0x77711111" "\x00"
"propbw202gpo=0xdd" "\x00"
//# OFDM IIR :
"ofdmdigfilttype=18" "\x00"
"ofdmdigfilttypebe=18" "\x00"
//# PAPD mode:
"papdmode=1" "\x00"
"papdvalidtest=1" "\x00"
"pacalidx2g=32" "\x00"
"papdepsoffset=-36" "\x00"
"papdendidx=61" "\x00"
//# LTECX flags
// "ltecxmux=1" "\x00"
//"ltecxpadnum=0x02030401" "\x00"
// "ltecxfnsel=0x3003" "\x00"
// "ltecxgcigpio=0x3012" "\x00"
//#il0macaddr=00:90:4c:c5:12:38
"wl0id=0x431b" "\x00"
"btcxwarflags=0x3" "\x00"
"deadman_to=0xffffffff" "\x00"
//# muxenab: 0x1 for UART enable, 0x2 for GPIOs, 0x8 for JTAG, 0x10 for HW OOB
"muxenab=0x11" "\x00"
//# CLDO PWM voltage settings - 0x4 - 1.1 volt
//#cldo_pwm=0x4 "\x00"
//#VCO freq 326.4MHz
"spurconfig=0x3" "\x00"
"\x00\x00";
Show LessEnvironment: Linux:4.15, AT91SAMA5D27 processor host
log:
# ifconfig wlan0 up
dhdsdio_clk_kso_enab> op:KSO_SET, ERROR: try_cnt:20001, rd_val:ff, ERR:ffffffdd
dhdsdio_clk_kso_enab> op:KSO_SET, ERROR: try_cnt:20001, rd_val:ff, ERR:ffffffdd
dhdsdio_clk_kso_enab> op:KSO_SET, ERROR: try_cnt:20001, rd_val:ff, ERR:ffffffdd
ERROR: kso set failed retry: 3
dhdsdio_clk_devsleep_iovar: Sleep request failed: kso:0 on:0 err:-35
dhd_bcmsdh_send_buf: Device asleep
dhdcdc_query_ioctl: dhdcdc_msg failed w/status -110
dhd_wl_ioctl: 'resumed on timeout' error is occurred before the interface does not bring up
dhd_wl_ioctl: returning as busstate=0
CFG80211-ERROR) wl_cfg80211_up :
WLC_GET_VERSION failed, err=1
dhd_open: failed to bring up cfg80211
ifconfig: SIOCSIFFLAGS: Operation not permitted
Please suggest if you have any additional pointers or any reasons for this failure.
Show LessHello
I'm having trouble with breakpoints not working as expected during debugging.
Compile, start debugging, create breakpoint, start, do these in order
Stop at "WICED / platform / MCU / STM32F4xx / peripherals / platform_gpio.c: 113". This is not correct.
Please let me know if you know a solution for debugging in the expected position.
The implementation environment is as follows.
・ Chip model: CYW43438
・ SDK: WICED-Studio-6.4
Thank you
Hello.
I use the following function to get the credentials needed to connect to the router..
Is there a way to stop the processing of this function from the outside?
function: wiced_wps_enrollee()
Thank you.
Show LessHello experts,
We have created a project on WICED 43xx_Wi-Fi sdk for STM32F412 MCU+43438 wlan chip.
We have downloaded the make target such as "snip.scan-<platform_name> download run" to target platform successfully. When I tried to download the debugger to platform using "snip.scan-<platform_name>-debug download" and using st-link to debug. There are some error message showing:
*****************************************************************************************************************************************************************************************************
Downloading Bootloader ...
"**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****"
Downloading DCT ...
"**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****"
Downloading Application ...
"**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****"
Build complete
Making .gdbinit
16:36:23 Build Finished (took 31s.710ms)
****************************************************************************************************************************************************************************************************
In devcie manager I can see the STM32 STLink and WICED USB serial port showing, means I connected both USB port and STlink debugger to the EVB.
I have attached the openocd_log.txt.
Please help for clarifying this issue and if need anything information please let me know.
Your help will be appreciated.
Thanks.
BR,
Wayne
Show Less