AIROC™ Wi-Fi and Wi-Fi Bluetooth Combos Forum Discussions
ModusToolbox2.3 mfg, there is no CYW43012 WIFI test method in the guide.
I would like to have rx/tx/sleep mfg test command document .
Please answer fast. Thank you.
Show LessHi,
Our customer is asking if Cypress's Wi-Fi solution has already received "sisvel" license. That is, customer doesn't need to pay additional fee in using Cypress Wi-Fi solution(802.11n, 802.11ac, etc.).
For "sisvel" license, please refer to the following link.
Thanks,
Liam
Show LessWe design an IoT module using PSoC6(CY8C624ABZI-S2D44) and a Wi-Fi module(Murata Type1LV, which uses CYW43012).
Our board schematic and pin configuration are the same as the Cypress development kit(CY8CKIT-062S2-43012).
Environment
------------------
* ModusToolbox v2.2(same behavior with v2.3).
* Board
+ CY8CKIT-062S2-43012(works good)
+ Our board(same schematic and pin assign as CY8CKIT) -> has the issue as below
* Lot Number of Type1LV
+ SS9123002(on CY8CKIT)
+ SS0N18005(on our board)
Steps to reproduce the issue
---------------------------------------
* Create a project using `project-creator.exe` from `AnyCloud_MQTT_Client`.
* Set WiFi info(SSID and password) and MQTT broker info(IP etc.).
* Build, program, and run for each board(CY8CKIT and our board).
Behavior
------------
* On CY8CKIT
+ works good.
+ Capture_GOOD.PNG(the first image)
* On our board
+ Wi-Fi module initialize error on waiting F2 function.
+ This loop timeout. https://github.com/cypresssemiconductorco/wifi-host-driver/blob/19968e1b77db296b1be9f1352147f615200354f2/WiFi_Host_Driver/src/bus_protocols/whd_bus_sdio_protocol.c#L460
+ Error in the line 475 is printed.
+ Please see the attached Capture_BAD.PNG(the second image)
- Some additional printf() message are added.
- The highlighted line is the error from the line 475 of WiFi_Host_Driver/src/bus_protocols/whd_bus_sdio_protocol.c
+ line 468 `whd_bus_read_register_value()` return 0 and `byte_data` value is always 8.
- on CY8CKIT, `byte_data` changes to 6 after about 100 cycles.
Questions
-------------
* What is the possible cause which makes this difference?
+ I guess that `whd_bus_read_register_value()` reads the register value of the SDIO target(CYW43102).
+ Why the response is different between CY8CKIT and our board?
* How to solve this issue on our board(schematic or firmware)?
Show Less
Hi'
I have a project that include stm32F412 and CYW4343W.
In this moment we think to upgrade our systme.
We are susspect pass to PSOC6 and 43012 or ST mcu with 43012 .
We had a lot of code to current project.
I want to ask about this upgrade what it is your opinion? Which MCU is preferable?
If we decided to use POSC6 and 43012, we can use WICED IDE? we want to reuse tour code.
What the benefit of this change?
H.T
Show LessI wrote an ethernetif.c driver that uses functions in platform_ethernet.c, but not sure how to get the platform code to build in this configuration. I get errors (see below) due to the platform code not being built. For NetX_Duo/ThreadX, the platform code does get built. Not sure what the 'correct' way to get this included in the build LwIP/FreeRTOS is (i.e. do I need to modify a makefile or is there a define that is needed for this config).
------------------------------------------
Making wwd.ping_wwd-CYW943907AEVAL1F-FreeRTOS-LwIP.elf
build/wwd.ping_wwd-CYW943907AEVAL1F-FreeRTOS-LwIP/libraries/LwIP.a(ethernetif.o): In function `low_level_output':
C:\Users\gr\Documents\WICED-Studio-6.6\43xxx_Wi-Fi/WICED/network/LwIP/ver2.0.3/src/netif/ethernetif.c:180: undefined reference to `platform_ethernet_send_data'
build/wwd.ping_wwd-CYW943907AEVAL1F-FreeRTOS-LwIP/libraries/LwIP.a(ethernetif.o): In function `low_level_init':
C:\Users\gr\Documents\WICED-Studio-6.6\43xxx_Wi-Fi/WICED/network/LwIP/ver2.0.3/src/netif/ethernetif.c:95: undefined reference to `platform_ethernet_init'
C:\Users\gr\Documents\WICED-Studio-6.6\43xxx_Wi-Fi/WICED/network/LwIP/ver2.0.3/src/netif/ethernetif.c:101: undefined reference to `platform_ethernet_get_config'
collect2.exe: error: ld returned 1 exit status
make.exe[1]: *** [build/wwd.ping_wwd-CYW943907AEVAL1F-FreeRTOS-LwIP/binary/wwd.ping_wwd-CYW943907AEVAL1F-FreeRTOS-LwIP.elf] Error 1
tools/makefiles/wiced_elf.mk:315: recipe for target 'build/wwd.ping_wwd-CYW943907AEVAL1F-FreeRTOS-LwIP/binary/wwd.ping_wwd-CYW943907AEVAL1F-FreeRTOS-LwIP.elf' failed
make: *** [main_app] Error 2
Makefile:351: recipe for target 'main_app' failed
Hi
I try to debug\ burn MurataType1LD with stlink v2 debugger.
I try to add :
JTAG := scripts/interface/stlink-v2
HOST_OPENOCD := scripts/target/stm32f4x_stlink
to makefile but it doesnt work.
I try to add :
JTAG := stm32f4xdiscovery469 due to your respond
to makefile but it doesnt work.
my make targer : snip.bluetooth.simple_ble_peripheral-MurataType1LD-debug JTAG=stlink-v2 download download_apps run
my make file :MurataType1LD.mk, from Murata website.
please let me know hoe to do this.
I need to support swd.
Show Less
Hello,
I succeed to use the STM32 connectivity pack 1.1.0 that include Infineon wifi-host-driver with an STM32H723.
The example code "Wi-Fi BLE onboarding" is running.
Do you have some example for Wi-Fi Direct (P2P)? It’s possible in Wiced but I didn’t find anything for STM32 connectivity pack.
Thank you
Show LessWICED 6.6, ThreadX+NetX debug build.
Platform: ISM4343_WBM_L151 (Cypress CYW4343 + STM32F412) (https://www.inventeksys.com/ism4343-wmb-l151/).
Snippet: snip/bluetooth/ble_hello_sensor
I am trying to run BLE hello sensor snippet app with MCU powersaving enabled (STM32F4 MCU enters STOP mode). I modified ble_hello_sensor.mk to include ISM4343_WBM_L151 platform to the PLATFORMS_FOR_POWER_SAVE and VALID_PLATFORMS.
After I try to run the snippet I can see the advertisements from the board for several seconds, but cannot connect to the board (using BLE scanner app on Android phone). Using debugger I can see that the board is still running and wakes up every 100ms (probably by some internal BLE timer).
If I remove the platform from PLATFORMS_FOR_POWER_SAVE - then ble_hello_sensor works as expected - I can connect to the board from BLE scanner app on the phone.
Question: how to make BLE work with MCU powersaving enabled ?
From what I can see in the WICED's sources WICED_BT_PIN_HOST_WAKE and WICED_BT_PIN_DEVICE_WAKE should be used to wake MCU by the BLE module/firmware when there is some data for it. But those pins are not used by WICED.
Show LessHello,
I am working on a project with custom board featuring CY43012 radio chip. I try to start a WIFI access point using my device.
I ported WHD library, and have SDIO part working. The firmware is being uploaded to CY43012, firmware starts, then I have succesfull communication with device (write/read to function 2).
Unfortunately my program aways fails at the same moment during execution.
The parts not working are sending data with SDIO on:
/* Register for interested events */
/* Set the SSID */
/* Set the passphrase */
In that parts of code I get an error:
whd_bus_sdio_cmd53:874 cyhal_sdio_bulk_transfer SDIO_BYTE_MODE failed
cyhal_sdio_bulk_transfer SDIO_BYTE_MODE failed
Error during SDIO receive, whd_bus_sdio_read_frame failed at 615
ioctl_sleep timeout
Command failed in whd_wifi_init_ap at 382
Command failed
After running whd_cdc_send_ioctl() function.
I connected a scope to my board and figured out that before firmware upload the data lines are on high state when not used. After uploading firmware It switches to low state. After writing data to device with BLOCK MODE the inactive state of data lines are going back to high. After that the next command execution fails.
Do you have any ideas what might be an issue?
Thanks,
Piotr
Hi,
I am working on a project with custom board featuring CY43012 radio chip. I try to start a WIFI access point using my device.
I ported WHD library, and have SDIO part working. The firmware is being uploaded to CY43012, firmware starts, then I have succesfull communication with device (write/read to function 2).
I copied WiFi scan example and the whole cy_wcm_init(&wcm_config) function executes with no issues. Unfortunately after that I get a communication error. Console log below:
WLAN MAC Address : 48:EB:62:E3:EA:20
WLAN Firmware : wl0: Apr 26 2021 04:04:15 version 13.10.271.265 (aa096f9 CY) FWID 01-29e05f8
WLAN CLM : API: 18.2 Data: 9.10.0 Compiler: 1.36.1 ClmImport: 1.34.1 Creation: 2020-09-09 01:19:03
WHD VERSION : v1.94.0 : v1.94.0 : GCC 9.3 : 2021-04-27 16:54:34 +0800
Info: Scanning without any filter
----------------------------------------------------------------------------------------------------
# SSID RSSI Channel MAC Address Security
----------------------------------------------------------------------------------------------------
fwhd_bus_sdio_cmd53:869 cyhal_sdio_bulk_transfer SDIO_BYTE_MODE failed
Function whd_bus_sdio_abort_read failed at line 1041 checkres = 33555501
Error during SDIO receive, whd_bus_sdio_read_frame failed at 612
Function whd_management_set_event_handler failed at line 427 checkres = 101580800
The program fails at cy_rtos_get_semaphore(&cdc_bdc_info->ioctl_sleep,...) after function whd_cdc_send_iovar() is executed inside whd_management_set_event_handler()
In the main thread I ran whd_thread_receive_one_packet() and whd_thread_send_one_packet(), but both of those functions give me response of 0
Show Less