Issue of i.MX6Quad with SDIO Wifi in SDR104 mode!

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

Issue of i.MX6Quad with SDIO Wifi in SDR104 mode!

2,177 Views
oliverkuo
Contributor IV

Hi,

 

We have a custom board with i.MX6Quad and SDIO wifi running in SDR104 mode.

The wifi module is Azurawave AW-CM389NF.

In our board, SDR104 mode is very unstable, but a little better in SDR50 mode, however, wifi still becomes abnormal after idle for awhile.

I attached my device tree file and logs, we connect SDIO to 1.8V directly, so we don't use VSEL function.

From dmesg log, we can find some interrupt and SDIO cmd53 errors, sometime these errors didn't cause wifi abnormal, but sometime these would cause wifi lost and system crash.

wlan: Connected to bssid 60:XX:XX:XX:ea:a4 successfully
Operating class not find!
wlan: wlan0 START SCAN
wlan: SCAN COMPLETED: scanned AP count=11
nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
Operating class not find!
wlan: wlan0 START SCAN
cmd53 read error=-84
wlan: cmd53 read failed: -1 ioport=0x18000 retry=0
mmc0: Timeout waiting for hardware interrupt.
cmd53 read error=-110
moal_read_data_sync: read registers failed
Timeout cmd id (1930.461242) = 0xa4, act = 0x0
a4 00 28 00 86 00 00 00 00 00 08 00 08 00 00 00
BSS type = 0 BSS role= 0

 

Please give some comment how to debug these sort of errors, thanks a lot.

-Oliver

Original Attachment has been moved to: wifi_sdr50_crash_idle.txt.zip

Original Attachment has been moved to: sdr104_wifi_crash_02.txt.zip

Original Attachment has been moved to: imx6q-da61mx.dts.zip

Original Attachment has been moved to: sdr104_wifi_crash.txt.zip

0 Kudos
2 Replies

824 Views
igorpadykov
NXP Employee
NXP Employee

Hi Oliver

instability may be caused by low signal/big noise, one can try with

other antenna. Also one can tweak drive strength of usdhc signals,

please check IOMUX Chapter of RM:

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

824 Views
oliverkuo
Contributor IV

igorpadykov

I found if I swipe down the status bar while running wifi speed test, wifi will crash immediately.

But there's no such phenomenon when I watch video stream in Youtube.

Wifi seems to crash easily when the throughput is high.

0 Kudos