SDIO CMD 53 timeout issue when running Cypress WICED WiFi Stack on MPC5748G + AW-CM390SM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SDIO CMD 53 timeout issue when running Cypress WICED WiFi Stack on MPC5748G + AW-CM390SM

1,410 Views
fearless
Contributor I

Hi, 

Issue overview

I'm trying to porting Cypress WICED WiFi Stack to MPC5748G from IMX RT platform. Other middleware like sdhc, freeRTOS, LwIP refer to MPC5748G driver examples in S32DS.  

I encounter a SDIO CMD 53 timeout issue when do wwd_bus_sdio_download_firmware. 

The enumrate of SDIO card and several CMD52 before download firmware work fine.

Things have try

1. slow down SDIO CLK

2. shorten fly-wire between MPC5748G and WiFi module.

3. 1 bit bus width and 4 bit bus width

4.  try to send 1 block (size=64) every CMD53 and found that INT_STATUS has TC bit(transfer complete) and DCE bit(data CRC error).
And previous behavior in WWD driver is send 16 blocks (size=64) every CMD53, the corresponding result is INT_STATUS only has CC bit(command complete) ,ADMA_ERR_STATUS show data transfer error.

 

How can I resolve this? I can share more details if needed. Thanks. 

Best Regards

Fearless

0 Kudos
Reply
1 Reply

314 Views
Jack007
Contributor III

@fearless 
how did you fix this issue ??

0 Kudos
Reply