Wi-Fi Combo Forum Discussions
I am trying to implement a USB 2.0 host for a custom class on a CYW54907 wireless SoC (CYW943907AEVAL1F dev board). I would like to connect the host to a custom class on a USB device running on an FX3 module (CYUSB3KIT-003 EZ-USB® FX3™ SuperSpeed Explorer Kit).
I am using USBX dpump to create a custom class on the host (see attached code). I also added dpump to the event handler in wiced_usb.c (attached). On the FX3 device, I am running the default BulkLoopAutoCpp example. I have also tried running the MouseDemo on FX3.
I cannot get the custom DPUMP class to work. I notice that when I plug the device in, the event callback function (wiced_usb_host_usbx_host_evt_callback) in wiced_usb.c does not trigger. I suspect the reason is that the UX_HOST_CLASS class instance NULL? I get the same result when I test with default USBBulkSourceSinkLED example on FX3 (the LED doesn't even light up). Here is the terminal debug terminal output from this test:
+-------------------------------------------------+
+ USB20 Host DPUMP Custom Class Application +
+-------------------------------------------------+
> USB20 Host init starting...
Detected board strapping is in USB-PHY mode!!
Detected board is in USB Host mode!!
USB Host support 2 HCI resource
USB20 Host init completed!!!
#UX#: Device:
. State: 1
. Address: 1
. HCD name: ux_hcd_ehci
. Class name: (null)
. Speed: 2 (HIGH)
. Port Index: 0
. Max Power: 250
loopback
+++START: DPUMP custom class loopback started
*** Please input any key from your terminal program ***
DPUMP == NULL
---END: DPUMP test
I also checked the MouseDemo with the same host – it enumerates as an HID device, and successfully executes the event callback function (see red). (It also prints data successfully when run with hid_keyboard host app). Here is the terminal output:
+-------------------------------------------------+
+ USB20 Host DPUMP Custom Class Application +
+-------------------------------------------------+
> USB20 Host init starting...
Detected board strapping is in USB-PHY mode!!
Detected board is in USB Host mode!!
USB Host support 2 HCI resource
USB20 Host init completed!!!
Entering event call
#UX#HostClassHid#: event UX_DEVICE_INSERTION
#UX#HostClassHid#: Found Keyboard HID Class device
RETURN TO MAIN APP EVENT HANDLER------------------- (1)
USB20 Host: event (1)
USB20 Host: unknown event (1)
#UX#: Device:
. State: 3
. Address: 1
. HCD name: ux_hcd_ohci
. Class name: (null)
. Speed: 0 (LOW)
. Port Index: 0
. Max Power: 250
Could you please assist me in getting a custom class to work?
Many thanks in advance.
riyamifohsoleimani_2959646 anyu
Show LessHi,
Currently using Neb1DX and I am trying to update BT UART speed from 115200 to 3000000 .
After some searching and reading I found the function bt_host_update_baudrate in bt_firmware.c file.
When I trying to call this function I get Error 85 and 86.
I have some questions:
1. This funtion works?
2 When I need to update the baudrate update command? after wiced_init ? before?
3. is there another working function ?
When I call after wiced init but before BLE init : [setBaudRate 85] VERIFY FAILED
When I call after BLE init: [setBaudRate 86] VERIFY FAILED
Thanks,
David
respected sir/mam
now, i'm using CYW54907 and initialize WiFi Access-point in this board. and i'm able to analysis WiFi beacon frame in wire-shark software.
now, i need to add my own Tag(IE = information element) in my WiFi.. so, i want to know that is there any kind of API function or any suggestion from you.. like how can i add my tag.
i used custom_ie Example already but it's for specific Vendor IE.. like there is element ID = 0xDD.. we cant change it form function change in wiced. it's not for custom IE exectly..
how can i add my own IE tag..
thank you
jignesh narola
Show LessHi,
Can anyone give me the clear picture of Collaborative Coex between Wifi & BT? Does it mean both can operate simultaneously without interference or one will be operating at a time by switching between each other at higher rates?
If one will be operating at a time, what is the use of AFH in BT?
Show LessIn CYW4343W (Wifi+BT combo), is there any chance of interference among wifi & BLE? Is coexistence implemented in the H/W?If so how to enable it?
Show LessI am using two bcm 43438A, the two devices are putted into a shield box, then I tested them in wifi mfg mode. One device sends 1000 package, the other one only receives around 960 packages.
Below is the wl version
# wl ver
6.37 RC32.0
wl0: Apr 23 2015 20:40:36 version 7.46.3 (r551729 WLTEST) FWID 01-af384561
/ #
THE SENDER COMMANDS
1. ifconfig wlan0 up
2. wl down
3. wl mpc 0
4. wl country ALL
5. wl up
6. wl scansuppress 1
7. wl band b
8. wl channel 7
9. wl nrate -r 11
10. wl txpwr1 -o -d 30
11. wl pkteng_start <MAC> tx 100 1000 1000
12. wl phy_forcecal
THEN RECEIVER COMMANDS
1. ifconfig wlan0 up
2. wl down
3. wl mpc 0
4. wl country ALL
5. wl up
6. wl scansuppress 1
7. wl band b
8. wl channel 7
9. wl nrate -r 11
10. wl frameburst 1
11. wl phy_watchdog 0
12. wl pkteng_start <MAC> rx
13. wl reset_cnts.
wait 1000 packages are transmitted.
14. wl counters | grep pktengrxdmcast
The result: only around 960 packages received. What may cause this problem.
Show LessI am using the Murata reference board which is based on the 4343W. Currently, I measured the effective TCP throughput at 4.3 Mega Bits/second. My test scenario consists of an Android phone transferring a file to the WICED reference board through a TCP socket. The Wireshark capture file (from the WiFi sniffer) indicates that when the link is setup, both Android and WICED have a matching MSS (Max Segment Size) set to 1460 but the Android advertises its TCP Window size to be at 256 but the WICED's TCP size is at 1. I am thinking about setting the WICED's Window size to 3 or 5 in order to increase the TCP throughput. What is the WICED's hard limit for the TCP's Window size? How can I increase WICED's TCP Window size?
Thanks, Mohammad
Show LessHi All,
I tried to debug wiced source code (SDKv6.1), some time it works but some time it won't. When it stop working i need to delete metadata folder and reopen workspace.
Since metadata folder is delete, my debug configuration also deleted. So i need to set it again.
Please help me to understand and solve the problem. I have attached screen shot, Please check.
Thanks,
Basava.
Show LessContext
Based on the datasheet, both VBAT and VDDIO have a working range comprehensive of the value 3.3V (VBAT IS 3V-4.2V and VDDIO is 1.8V-3.3V).
Question
We would like to use a single power supply for both VBAT and VDDIO, initial testing is ok and everything is working. Do any of you know a reason/best practice for keeping them separated?
Thanks in advance
Show LessHi - I got cypress board with STM32 mcu. I read OTA pdf and it has memory map two option: External or internal+external
How to know what combination used by my application?? I want to know memory map of my current application. For example where is bootlaoder and size, DCT and size, application and size, factory app and size etc. Also I want to know where it is stored (internal or external). How to trace it?
I dont know currently what configuration used by my app. I do OTA successfully but don't know where application got stored???
Show Less