Part Number:WL1831MODOther Parts Discussed in Thread:WL1831
平台:xilinx zcu3eg
系统:petalinux 2018.3,linux版本4.14
开发板和WL1831模组通过SDIO方式连接,未能正常挂载成SDIO设备。
系统日志报出异常。
[ 311.055591] mmc1: Timeout waiting for hardware cmd interrupt. [ 311.061329] mmc1: sdhci: ============ SDHCI REGISTER DUMP =========== [ 311.067753] mmc1: sdhci: Sys addr: 0x00000000 | Version: 0x00001002 [ 311.074183] mmc1: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000 [ 311.080607] mmc1: sdhci: Argument: 0x000000aa | Trn mode: 0x00000000 [ 311.087030] mmc1: sdhci: Present: 0x01f70001 | Host ctl: 0x00000001 [ 311.093453] mmc1: sdhci: Power: 0x00000000 | Blk gap: 0x00000080 [ 311.099877] mmc1: sdhci: Wake-up: 0x00000000 | Clock: 0x0000f447 [ 311.106300] mmc1: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000 [ 311.112723] mmc1: sdhci: Int enab: 0x00ff0003 | Sig enab: 0x00ff0003 [ 311.119146] mmc1: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000 [ 311.125570] mmc1: sdhci: Caps: 0x31e8c881 | Caps_1: 0x00002007 [ 311.131993] mmc1: sdhci: Cmd: 0x0000081a | Max curr: 0x00000000 [ 311.138416] mmc1: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000 [ 311.144839] mmc1: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000 [ 311.151262] mmc1: sdhci: Host ctl2: 0x00000000 [ 311.155690] mmc1: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x0000000000000000 [ 311.162806] mmc1: sdhci: ============================================
测试上电时序,参考《WL18x1 WiLink 8 Single-Band Combo Device Supporting Wi-Fi® , Bluetooth® , and Bluetooth® Low Energy》
测试上电过程中时序正常,测试WLAN_IRQ的电平为1.2V,和文档中描述的1.8V不符合。测试了2块WIFI模块,电平均为1.2V。不清楚为什么WLAN_IRQ电平不正常。
谢谢
文档《WL18x1 WiLink 8 Single-Band Combo Device Supporting Wi-Fi® , Bluetooth® , and Bluetooth® Low Energy》
wl1801xx.pdf
Kevin Qiu1:
应该是驱动程序有问题,没有驱动起来,对照dts文件检查一下https://git.ti.com/cgit/wilink8-wlan/build-utilites/tree/patches/kernel_patches/beaglebone-wilink8-capes/Enable-TI-WiFi-Bluetooth-am335x-boneblack-WL1837.patch?h=r8.8
,
ouyang huayu:
按照dts参考的配置,还是没有解决。
什么原因可能导致WLAN_IRQ的电平为1.2V呢?
,
Kevin Qiu1:
如果连接正确的话,WLAN_IRQ的电平1.2V基本上就是软件配置的问题
我没有linux环境,无法测试,建议你将问题发到英文论坛https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum
,
ouyang huayu:
在5.12.4 WLAN Power-Up Sequence的时序图里有这句话 “Indicates completion of FW download and Internal initialization。”
上电过程中还需要下载固件,会不会是我的模块里没有固件。
,
Kevin Qiu1:
看下下面两份使用指南:
https://www.ti.com.cn/cn/lit/ug/swru570a/swru570a.pdf
https://www.ti.com.cn/cn/lit/ug/swru561a/swru561a.pdf
另外也没有在日志中看到mmc1: new high speed SDIO card at address 0001,建议你还是发到英文论坛看一下