<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[【FAQ】全志D1芯片 XR829扫卡失败问题排查]]></title><description><![CDATA[<p dir="auto"><strong>【问题背景】</strong><br />
硬件：D1 + Wi-Fi模组（XR829）<br />
软件：melis-v3.0<br />
说明：该FAQ旨在记录</p>
<p dir="auto"><strong>【问题简述】</strong><br />
WiFi初始化指令执行后无法扫描到WiFi模组，即扫卡失败</p>
<p dir="auto"><strong>【问题分析】</strong><br />
1、首先排查硬件问题，其次再找软件bug<br />
（1）同样的模组在跑其它软件时，可以正常工作；排除模组的硬件问题<br />
（2）定位软件bug，扫卡失败发生WiFi初始化阶段1</p>
<p dir="auto">2、解软件bug<br />
WiFi模组引脚图：<br />
<img src="/assets/uploads/files/1638946999765-92e5cd3275ac494c9c2c994f2f6f734b.jfif" alt="92e5cd3275ac494c9c2c994f2f6f734b.jfif" class=" img-responsive img-markdown" width="undefined" height="undefined" /><br />
（1）WiFi初始化时会对模组进行上电<br />
可能时上电时序不对导致扫卡失败，检查REG_ON引脚时序<br />
REG_ON：执行WiFi初始化指令后，引脚时序应该是10ms高电平-》20ms低电平-》高电平<br />
（2）上电时序没有问题的话，检查sdio驱动问题，因为扫卡是通过是sdio下发cmd5<br />
使用其它sdio设备，看其是否可以正常工作；使用sd卡测试，可以正常工作，说明不是sdio的驱动问题</p>
<p dir="auto">检查指令引脚是否发出cmd5——SDIO CMD：在扫卡阶段检查该引脚是否有cmd5命令输入</p>
<p dir="auto">cmd5命令格式如下：<br />
<img src="/assets/uploads/files/1638947010831-860be038437041a48b05a796c65c8b41.jpg" alt="860be038437041a48b05a796c65c8b41.jpg" class=" img-responsive img-markdown" width="768" height="804" /></p>
<p dir="auto">检查扫卡频率是否正常——SDIO CLK：在扫卡阶段，该引脚应该是输入4KHZ、50%占空比的方波。</p>
<p dir="auto">3、在检查这两个大方向后还是无法排查问题<br />
（1）和正常模组对比差异点<br />
最后发现LPO引脚输入24MHZ时钟，而正常模组为高电平；将该引脚修改为高电平，可以正常扫到卡。</p>
<p dir="auto"><strong>【解决方法】</strong><br />
LPO引脚正常情况下是输入32.768KHZ的震荡信号作为低功耗时使用，故输入32.768KHZ时钟；测试可以正常扫到卡。<br />
执行wifi初始化指令后，设置LPO输入32KHZ、50%占空比的方波</p>
]]></description><link>https://bbs.aw-ol.com/topic/757/faq-全志d1芯片-xr829扫卡失败问题排查</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 05:28:08 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/757.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 Dec 2021 07:04:46 GMT</pubDate><ttl>60</ttl></channel></rss>