[iMX6UL] How to verify SDIO interface connecting a device?

cancel
Showing results for 
Search instead for 
Did you mean: 

[iMX6UL] How to verify SDIO interface connecting a device?

791 Views
jimhuangtw
Contributor II

Hi NXP,

Currently, our HW design using iMX6UL SDIO1 connecting Wifi module and SD card socket via SDIO expander.

We use an SDIO select PIN to switch one of two devices.

Does iMX6UL BSP have command or other debug message can verify SDIO interface?

For example, if the SD card has been already inserted, how I know iMX6UL detect this device well?

My main purpose is bringing WIFi module in BSP, can I detect Wifi module via SDIO before Wifi driver porting? 

Thanks,

Jim

Labels (3)
0 Kudos
1 Reply

290 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Jim

>For example, if the SD card has been already inserted, how I know iMX6UL detect this device well?

linux detects device in probe function of wifi module, as example one can refer to BCM4339 driver sources

described in Linux Manual Chapter 46 Wi-Fi BCM4339 Driver, included in linux documentation package

https://www.nxp.com/webapp/Download?colCode=L4.1.15_1.1.0_LINUX_DOCS&Parent_nodeId=13376994810717061... 

>can I detect Wifi module via SDIO before Wifi driver porting? 

I am afraid no. In general usdhc interface can be tested with unit tests (../test/mxc_mmc_test)

imx-test
www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.7.tar.gz

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

0 Kudos