- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hardware: STM32H743 Nucleo connects to CYW4373E via SDIO
Software: https://github.com/Infineon/stm32-connectivity/releases/tag/release-v1.3.0 tailored to the above host
After fixing a few issues in the above software package already, I got the SDIO communication up and running. The wifi firmware downloading passed successfully. But then it stuck in checking F2 to be ready.
Here is the code from the github repository:
/* Wait for F2 to be ready */
loop_count = 0;
while ( ( (result = whd_bus_read_register_value(whd_driver, BUS_FUNCTION, SDIOD_CCCR_IORDY, (uint8_t)1,
&byte_data) ) == WHD_SUCCESS ) &&
( (byte_data & SDIO_FUNC_READY_2) == 0 ) &&
(loop_count < (uint32_t)F2_READY_TIMEOUT_MS) )
{
(void)cy_rtos_delay_milliseconds( (uint32_t)1 ); /* Ignore return - nothing can be done if it fails */
loop_count++;
}
if (loop_count >= (uint32_t)F2_READY_TIMEOUT_MS)
{
/* If your system fails here, it could be due to incorrect NVRAM variables.
* Check which 'wifi_nvram_image.h' file your platform is using, and
* check that it matches the WLAN device on your platform, including the
* crystal frequency.
*/
WPRINT_WHD_ERROR( ("Timeout while waiting for function 2 to be ready\n") );
/* Reachable after hitting assert */
return WHD_TIMEOUT;
}
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
There might be a chance of no external LPO for clock source or power source issue.
Thanks,
Rakesh B G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @HarveyZ ,
Was your setup working previously with any old releases of stm32 connectivity expansion pack?
Thanks,
Rakesh B G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Rakesh_BG ,
We are evaluating this module/chip and it's the first time we are trying to integrate it to our host environment. So we need help from the very beginning.
When I search in the forum this was a similar thread but unfortunately the solution was not posted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
There might be a chance of no external LPO for clock source or power source issue.
Thanks,
Rakesh B G