<?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[使用DVE板测试FlexLIN1的UART功能，MCAL例程]]></title><description><![CDATA[<p dir="auto">使用官方的CDDUART demo，将demo中的硬件FlexLIN2切换到FlexLIN1，IO切换到PTC8和PTC9；使用杜邦线转接IO到CH340的TX，RX脚；FlexLIN1的中断正常打开，其他未做修改，测试无法进入中断<br />
<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/62/adf7ef4b-f74c-466f-a5b8-0e40eb6597c4.png" alt="621bdb9b-49a9-49c0-82cc-71002436fda8-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/62/e2f3be4d-e71c-4254-afdb-8fb05f07b2d9.png" alt="bdaf258a-a1b4-4419-8baa-7b91a4e732df-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.ytmicro.com/topic/2026/使用dve板测试flexlin1的uart功能-mcal例程</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 20:08:34 GMT</lastBuildDate><atom:link href="https://forum.ytmicro.com/topic/2026.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 10 Jun 2026 06:43:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 使用DVE板测试FlexLIN1的UART功能，MCAL例程 on Wed, 10 Jun 2026 07:25:51 GMT]]></title><description><![CDATA[<p dir="auto">上位机发送的时候不要带\r\n</p>
]]></description><link>https://forum.ytmicro.com/post/8783</link><guid isPermaLink="true">https://forum.ytmicro.com/post/8783</guid><dc:creator><![CDATA[RuiXu]]></dc:creator><pubDate>Wed, 10 Jun 2026 07:25:51 GMT</pubDate></item><item><title><![CDATA[Reply to 使用DVE板测试FlexLIN1的UART功能，MCAL例程 on Wed, 10 Jun 2026 07:23:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/62">kassel</a> 在 <a href="/post/8779">使用DVE板测试FlexLIN1的UART功能，MCAL例程</a> 中说：</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/242">RuiXu</a> 在 <a href="/post/8778">使用DVE板测试FlexLIN1的UART功能，MCAL例程</a> 中说：</p>
<blockquote>
<p dir="auto">是发送没有进中断？</p>
</blockquote>
<p dir="auto">例程的这两个打印可以进<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/62/3648317b-455b-4ecc-8c05-48e87f6a5c7b.png" alt="4aa08697-1e2a-4376-b432-3d250b70a05c-image.png" class=" img-fluid img-markdown" /></p>
</blockquote>
<p dir="auto">后面上位机发送5字节数据就不进回调了<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/62/8cf929c0-34ec-45f9-b016-92057fcb9f2f.png" alt="c3cb2ab4-6b42-49fe-81fa-6d4b598871b3-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/242">RuiXu</a> 在 <a href="/post/8781">使用DVE板测试FlexLIN1的UART功能，MCAL例程</a> 中说：</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/62">kassel</a> 在 <a href="/post/8779">使用DVE板测试FlexLIN1的UART功能，MCAL例程</a> 中说：</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/242">RuiXu</a> 在 <a href="/post/8778">使用DVE板测试FlexLIN1的UART功能，MCAL例程</a> 中说：</p>
<blockquote>
<p dir="auto">是发送没有进中断？</p>
</blockquote>
<p dir="auto">例程的这两个打印可以进<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/62/3648317b-455b-4ecc-8c05-48e87f6a5c7b.png" alt="4aa08697-1e2a-4376-b432-3d250b70a05c-image.png" class=" img-fluid img-markdown" /></p>
</blockquote>
<p dir="auto">那就是发送可以进入中断？只是没有产生接收中断？</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/242">RuiXu</a> 在 <a href="/post/8781">使用DVE板测试FlexLIN1的UART功能，MCAL例程</a> 中说：</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/62">kassel</a> 在 <a href="/post/8779">使用DVE板测试FlexLIN1的UART功能，MCAL例程</a> 中说：</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/242">RuiXu</a> 在 <a href="/post/8778">使用DVE板测试FlexLIN1的UART功能，MCAL例程</a> 中说：</p>
<blockquote>
<p dir="auto">是发送没有进中断？</p>
</blockquote>
<p dir="auto">例程的这两个打印可以进<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/62/3648317b-455b-4ecc-8c05-48e87f6a5c7b.png" alt="4aa08697-1e2a-4376-b432-3d250b70a05c-image.png" class=" img-fluid img-markdown" /></p>
</blockquote>
<p dir="auto">那就是发送可以进入中断？只是没有产生接收中断？</p>
</blockquote>
<p dir="auto">正常了，谢谢支持，但是有另外一个问题想请教一下:为啥有时候会出现最后一个字节的数据到第二次发送才回传到上位机，是我上位机的问题还是？<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/62/a98a283c-0afb-41f6-8d3b-a7454aedf4c8.png" alt="8e1764a9-1474-458c-8f2d-9c09ae2db013-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.ytmicro.com/post/8782</link><guid isPermaLink="true">https://forum.ytmicro.com/post/8782</guid><dc:creator><![CDATA[kassel]]></dc:creator><pubDate>Wed, 10 Jun 2026 07:23:45 GMT</pubDate></item><item><title><![CDATA[Reply to 使用DVE板测试FlexLIN1的UART功能，MCAL例程 on Wed, 10 Jun 2026 07:21:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/62">kassel</a> 在 <a href="/post/8779">使用DVE板测试FlexLIN1的UART功能，MCAL例程</a> 中说：</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/242">RuiXu</a> 在 <a href="/post/8778">使用DVE板测试FlexLIN1的UART功能，MCAL例程</a> 中说：</p>
<blockquote>
<p dir="auto">是发送没有进中断？</p>
</blockquote>
<p dir="auto">例程的这两个打印可以进<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/62/3648317b-455b-4ecc-8c05-48e87f6a5c7b.png" alt="4aa08697-1e2a-4376-b432-3d250b70a05c-image.png" class=" img-fluid img-markdown" /></p>
</blockquote>
<p dir="auto">那就是发送可以进入中断？只是没有产生接收中断？</p>
]]></description><link>https://forum.ytmicro.com/post/8781</link><guid isPermaLink="true">https://forum.ytmicro.com/post/8781</guid><dc:creator><![CDATA[RuiXu]]></dc:creator><pubDate>Wed, 10 Jun 2026 07:21:18 GMT</pubDate></item><item><title><![CDATA[Reply to 使用DVE板测试FlexLIN1的UART功能，MCAL例程 on Wed, 10 Jun 2026 07:20:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/242">RuiXu</a> 在 <a href="/post/8778">使用DVE板测试FlexLIN1的UART功能，MCAL例程</a> 中说：</p>
<blockquote>
<p dir="auto">是发送没有进中断？</p>
</blockquote>
<p dir="auto">如果是发送没有进入中断，可以看看时钟配置是否正常。调用异步发送API是否进入DET。<br />
如果是接收没有进入中断，发送可以进入中断。首先确认硬件是否连接正确，MCU的TX,RX应该和CH340反接。<br />
可以提供修改后的YCT配置文件。我看一下</p>
]]></description><link>https://forum.ytmicro.com/post/8780</link><guid isPermaLink="true">https://forum.ytmicro.com/post/8780</guid><dc:creator><![CDATA[RuiXu]]></dc:creator><pubDate>Wed, 10 Jun 2026 07:20:30 GMT</pubDate></item><item><title><![CDATA[Reply to 使用DVE板测试FlexLIN1的UART功能，MCAL例程 on Wed, 10 Jun 2026 07:19:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/242">RuiXu</a> 在 <a href="/post/8778">使用DVE板测试FlexLIN1的UART功能，MCAL例程</a> 中说：</p>
<blockquote>
<p dir="auto">是发送没有进中断？</p>
</blockquote>
<p dir="auto">例程的这两个打印可以进<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/62/3648317b-455b-4ecc-8c05-48e87f6a5c7b.png" alt="4aa08697-1e2a-4376-b432-3d250b70a05c-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.ytmicro.com/post/8779</link><guid isPermaLink="true">https://forum.ytmicro.com/post/8779</guid><dc:creator><![CDATA[kassel]]></dc:creator><pubDate>Wed, 10 Jun 2026 07:19:13 GMT</pubDate></item><item><title><![CDATA[Reply to 使用DVE板测试FlexLIN1的UART功能，MCAL例程 on Wed, 10 Jun 2026 07:11:29 GMT]]></title><description><![CDATA[<p dir="auto">是发送没有进中断？</p>
]]></description><link>https://forum.ytmicro.com/post/8778</link><guid isPermaLink="true">https://forum.ytmicro.com/post/8778</guid><dc:creator><![CDATA[RuiXu]]></dc:creator><pubDate>Wed, 10 Jun 2026 07:11:29 GMT</pubDate></item><item><title><![CDATA[Reply to 使用DVE板测试FlexLIN1的UART功能，MCAL例程 on Wed, 10 Jun 2026 07:10:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/242">RuiXu</a> 在 <a href="/post/8771">使用DVE板测试FlexLIN1的UART功能，MCAL例程</a> 中说：</p>
<blockquote>
<p dir="auto">哪款芯片？把CddUart模块的配置贴出来看看</p>
</blockquote>
<p dir="auto">ME，用的就是demo板，和例程修改<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/62/644b8c93-0a7b-4c02-94e4-3b3ed4c55407.png" alt="3e86b4e8-5276-420b-b546-9108482eeede-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.ytmicro.com/post/8777</link><guid isPermaLink="true">https://forum.ytmicro.com/post/8777</guid><dc:creator><![CDATA[kassel]]></dc:creator><pubDate>Wed, 10 Jun 2026 07:10:44 GMT</pubDate></item><item><title><![CDATA[Reply to 使用DVE板测试FlexLIN1的UART功能，MCAL例程 on Wed, 10 Jun 2026 06:49:28 GMT]]></title><description><![CDATA[<p dir="auto">哪款芯片？把CddUart模块的配置贴出来看看</p>
]]></description><link>https://forum.ytmicro.com/post/8771</link><guid isPermaLink="true">https://forum.ytmicro.com/post/8771</guid><dc:creator><![CDATA[RuiXu]]></dc:creator><pubDate>Wed, 10 Jun 2026 06:49:28 GMT</pubDate></item><item><title><![CDATA[Reply to 使用DVE板测试FlexLIN1的UART功能，MCAL例程 on Wed, 10 Jun 2026 06:46:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/62">kassel</a> 在 <a href="/post/8768">使用DVE板测试FlexLIN1的UART功能，MCAL例程</a> 中说：</p>
<blockquote>
<p dir="auto">使用官方的CDDUART demo，将demo中的硬件FlexLIN2切换到FlexLIN1，IO切换到PTC8和PTC9；使用杜邦线转接IO到CH340的TX，RX脚；FlexLIN1的中断正常打开，其他未做修改，测试无法进入中断<br />
<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/62/adf7ef4b-f74c-466f-a5b8-0e40eb6597c4.png" alt="621bdb9b-49a9-49c0-82cc-71002436fda8-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/62/e2f3be4d-e71c-4254-afdb-8fb05f07b2d9.png" alt="bdaf258a-a1b4-4419-8baa-7b91a4e732df-image.png" class=" img-fluid img-markdown" /></p>
</blockquote>
<p dir="auto">未做修改的demo可以正常测试</p>
]]></description><link>https://forum.ytmicro.com/post/8770</link><guid isPermaLink="true">https://forum.ytmicro.com/post/8770</guid><dc:creator><![CDATA[kassel]]></dc:creator><pubDate>Wed, 10 Jun 2026 06:46:21 GMT</pubDate></item></channel></rss>