Infineon / AIROC-Wi-Fi-Bluetooth-STM32

The STM32 Connectivity Expansion Pack is an extension of the CMSIS-Pack standard established by Arm to support Wi-Fi and Bluetooth LE application on STM32 MCUs with Infineon Wireless Combo devices.Infineon STM32 Connectivity Expansion Pack
Other
44 stars 8 forks source link

Performance issue when working with Wifi Murata 1DX(CYW43430) and Nucleo STM32U575 board #9

Closed AshwiniMShinde-eaton closed 8 months ago

AshwiniMShinde-eaton commented 1 year ago

Question/Issue:

Performance issue when working with Wifi Murata 1DX(CYW43430) and Nucleo STM32U575 board

Context

I'm trying to test wifi scan example with nucleo STM32U575 board and wifi CYW4343 module over SDIO/SDMMC interface. SDIO/SDMMC frequency is 25MHz and the code uses zephyr RTOS. I've observed that WLAN firmware download takes about 43 seconds to complete which is quite long.

I have another setup with Nebula board that uses STM32F429 and wifi CYW4343 module. It also uses the same code except SDIO IDMA. As IDMA is absent in STM32F4, I've configured DMA2_Stream3 for SDIO. SDIO/SDMMC frequency is 25MHz and the code uses zephyr RTOS. In this case, WLAN firmware download takes about 2-3 seconds. I wound like to know what is contributing to the difference in performance? What is the optimal time that STM32U575 should take for WLAN firmware download if it was tested on your side already?

THANKS!
Aditi1091998 commented 1 year ago

The issue is resolved on the customer's end. The issue was caused due to a semaphore during the bulk transfer function. WLAN firmware is now taking 1-2 seconds to download in the STM32U5 platform as well.