<?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[YTM32MC03 MCAL LIN Slave 发送回环测试异常]]></title><description><![CDATA[<p dir="auto">现象：MCU 作为 LIN Slave，接收上位机报文正常（RX 通路完好），回复报文时底层回环测试失败——UART TX 引脚已通过示波器确认发出了正确的波形（19200bps，帧格式正确），但 MCU 内部 RX 未对该回环信号产生 RXIF 中断，导致 TX 状态机无法推进，TxConfirmation 回调永不触发。</p>
<p dir="auto">已确认：</p>
<p dir="auto">同一块硬件使用 SDK 工程可正常收发<br />
示波器实测 TX 引脚波形符合预期，排除 TX 未发出或比特率错误<br />
UART0_IRQHandler 在回环期间完全不触发，说明问题在 UART 硬件层面——RX 未识别到 RXD 引脚上的回环信号</p>
<p dir="auto"><img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/1871/96577e02-57cf-407d-b680-ecc67264a3ff.png" alt="735ce842-b25a-4cdd-96eb-87f8cfdcf6e3-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.ytmicro.com/topic/2085/ytm32mc03-mcal-lin-slave-发送回环测试异常</link><generator>RSS for Node</generator><lastBuildDate>Fri, 03 Jul 2026 19:29:42 GMT</lastBuildDate><atom:link href="https://forum.ytmicro.com/topic/2085.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 03 Jul 2026 05:54:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 10:12:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/1871">lxhxss</a> 在 <a href="/post/9050">YTM32MC03 MCAL LIN Slave 发送回环测试异常</a> 中说：</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/242">RuiXu</a> 只是实现逻辑不一样吗 ，从实现结果上来说是相同的吗</p>
</blockquote>
<p dir="auto">结果肯定都是按照LIN协议规范来做的</p>
]]></description><link>https://forum.ytmicro.com/post/9054</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9054</guid><dc:creator><![CDATA[RuiXu]]></dc:creator><pubDate>Fri, 03 Jul 2026 10:12:08 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 10:11:32 GMT]]></title><description><![CDATA[<p dir="auto">我这边拿demo测试了一下是正常的。可以抓一下从break到数据的LIN总线上的完整波形。</p>
]]></description><link>https://forum.ytmicro.com/post/9053</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9053</guid><dc:creator><![CDATA[RuiXu]]></dc:creator><pubDate>Fri, 03 Jul 2026 10:11:32 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 10:08:30 GMT]]></title><description><![CDATA[<p dir="auto">上位机怎么发送的报头？只发了0x29吗，时间间隔是多少？</p>
]]></description><link>https://forum.ytmicro.com/post/9052</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9052</guid><dc:creator><![CDATA[RuiXu]]></dc:creator><pubDate>Fri, 03 Jul 2026 10:08:30 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 09:52:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/242">RuiXu</a> 这个就是 0xE9<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/1871/935505b0-c0c5-4de3-a65f-f78c5bdde316.png" alt="d8810611-0e2a-4d23-8473-edecb1af65f7-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.ytmicro.com/post/9051</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9051</guid><dc:creator><![CDATA[lxhxss]]></dc:creator><pubDate>Fri, 03 Jul 2026 09:52:57 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 09:50:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/242">RuiXu</a> 只是实现逻辑不一样吗 ，从实现结果上来说是相同的吗</p>
]]></description><link>https://forum.ytmicro.com/post/9050</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9050</guid><dc:creator><![CDATA[lxhxss]]></dc:creator><pubDate>Fri, 03 Jul 2026 09:50:55 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 09:49:28 GMT]]></title><description><![CDATA[<p dir="auto">实现逻辑是不一样的</p>
]]></description><link>https://forum.ytmicro.com/post/9049</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9049</guid><dc:creator><![CDATA[RuiXu]]></dc:creator><pubDate>Fri, 03 Jul 2026 09:49:28 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 09:19: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> 您好 我想问一个问题 MCAL 和 SDK 中 LIN 的协议栈是一样的吗？</p>
]]></description><link>https://forum.ytmicro.com/post/9048</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9048</guid><dc:creator><![CDATA[lxhxss]]></dc:creator><pubDate>Fri, 03 Jul 2026 09:19:44 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 06:30:11 GMT]]></title><description><![CDATA[<p dir="auto">还有demo里面没用LinIf_LinErrorIndication，加上这个函数，一定要保证没用报错。</p>
]]></description><link>https://forum.ytmicro.com/post/9045</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9045</guid><dc:creator><![CDATA[RuiXu]]></dc:creator><pubDate>Fri, 03 Jul 2026 06:30:11 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 06:27:51 GMT]]></title><description><![CDATA[<p dir="auto">抓一个完整波形看看，第一个数据是0xE9,示波器上面的似乎是PID段的波形。</p>
]]></description><link>https://forum.ytmicro.com/post/9044</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9044</guid><dc:creator><![CDATA[RuiXu]]></dc:creator><pubDate>Fri, 03 Jul 2026 06:27:51 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 06:21:58 GMT]]></title><description><![CDATA[<p dir="auto">对的 TX 引脚发出数据段的第一个字节是图中示波器上的数据</p>
<p dir="auto"><img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/1871/20fd0dab-3211-4b5e-b486-74ed48fec940.png" alt="947bad02-c69e-420c-b661-f1bee9c11e1b-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/1871/5d751c75-e5f0-4ab4-9714-52bb87ff0a13.png" alt="40160108-5b04-4c15-b7c7-d0456a675b2c-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/1871/baab3fd2-cb50-4e32-8c8e-b67cf7ae8bf7.png" alt="23059092-67ba-41ba-8944-7516f92f0021-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">关于硬件这块 我这里使用SDK 的 版本 是可以 进行LIN的正常收发的</p>
]]></description><link>https://forum.ytmicro.com/post/9043</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9043</guid><dc:creator><![CDATA[lxhxss]]></dc:creator><pubDate>Fri, 03 Jul 2026 06:21:58 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 06:19:06 GMT]]></title><description><![CDATA[<p dir="auto">TX 引脚发出数据段的第一个字节是图中示波器上的数据是吧？</p>
]]></description><link>https://forum.ytmicro.com/post/9042</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9042</guid><dc:creator><![CDATA[RuiXu]]></dc:creator><pubDate>Fri, 03 Jul 2026 06:19:06 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 06:17:53 GMT]]></title><description><![CDATA[<p dir="auto">确定LinIf_HeaderIndication已经进入了吗？</p>
]]></description><link>https://forum.ytmicro.com/post/9041</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9041</guid><dc:creator><![CDATA[RuiXu]]></dc:creator><pubDate>Fri, 03 Jul 2026 06:17:53 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 06:16:47 GMT]]></title><description><![CDATA[<p dir="auto">主程序是我们的demo?是Demo这样通信有问题？</p>
]]></description><link>https://forum.ytmicro.com/post/9040</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9040</guid><dc:creator><![CDATA[RuiXu]]></dc:creator><pubDate>Fri, 03 Jul 2026 06:16:47 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 06:16:16 GMT]]></title><description><![CDATA[<p dir="auto">都是demo的代码 应该是没改动到什么东西 不过 demo 是 64PIN 我是 48PIN就是</p>
]]></description><link>https://forum.ytmicro.com/post/9039</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9039</guid><dc:creator><![CDATA[lxhxss]]></dc:creator><pubDate>Fri, 03 Jul 2026 06:16:16 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 06:13:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/242">RuiXu</a> 主函数就是demo的</p>
<p dir="auto">这是历程中的底层函数</p>
<p dir="auto">uint8 temp2[22];</p>
<p dir="auto">LIN_FUNC void Lin_Lld_Uart_LocSlaveRxOk(const uint8 Channel, volatile UART_Type <em>Base, uint8 ResData)<br />
{<br />
#if (LIN_SLAVE_API_SUPPORT == STD_ON)<br />
Lin_PduType TmpPduInfo;<br />
#endif<br />
if (LIN_DRV_HW_SYNC_FIELD == Lin_LocUartHwStatus[Channel])<br />
{<br />
/</em> check whether 0x55 <em>/<br />
if (LIN_CONST_SYNC_FIELD_DATA == ResData)<br />
{<br />
temp2[0]++;  /</em> SYNC match → ID_FIELD <em>/<br />
/</em> start receive pid <em>/<br />
Lin_LocUartHwStatus[Channel] = LIN_DRV_HW_ID_FIELD;<br />
}<br />
else<br />
{<br />
temp2[1]++;  /</em> SYNC mismatch → error + IDLE <em>/<br />
#if (LIN_SLAVE_API_SUPPORT == STD_ON)<br />
LinIf_LinErrorIndication(Channel, LIN_ERR_HEADER);<br />
#endif<br />
/</em> enable break detect <em>/<br />
Lin_Lld_Uart_LocEnableLbkDtc(Base);<br />
/</em> state idle <em>/<br />
Lin_LocUartHwStatus[Channel] = LIN_DRV_HW_IDLE_MODE;<br />
}<br />
}<br />
else if (LIN_DRV_HW_ID_FIELD == Lin_LocUartHwStatus[Channel])<br />
{<br />
/</em> stop header res timeout tick <em>/<br />
Lin_Lld_Uart_LocStopToTicks(Channel);<br />
#if (LIN_SLAVE_API_SUPPORT == STD_ON)<br />
TmpPduInfo.Pid = ResData;<br />
TmpPduInfo.SduPtr = &amp;Lin_DrvUartFrameSdu[Channel][0];<br />
TmpPduInfo.Dl = LIN_CONST_MAX_FRAME_BYTES_NUM;<br />
TmpPduInfo.Drc = LIN_FRAMERESPONSE_IGNORE;<br />
TmpPduInfo.Cs  = LIN_ENHANCED_CS;<br />
if (E_OK == LinIf_HeaderIndication(Channel, &amp;TmpPduInfo))<br />
{<br />
temp2[2]++;  /</em> ID_FIELD + HeaderIndication OK <em>/<br />
Lin_LocCurrentPdu[Channel].Pid = TmpPduInfo.Pid;<br />
Lin_LocCurrentPdu[Channel].Drc = TmpPduInfo.Drc;<br />
Lin_LocCurrentPdu[Channel].Cs = TmpPduInfo.Cs;<br />
Lin_LocCurrentPdu[Channel].Dl = TmpPduInfo.Dl;<br />
if ((0U == TmpPduInfo.Dl) || (8U &lt; TmpPduInfo.Dl))<br />
{<br />
temp2[3]++;  /</em> ID_FIELD + OK + invalid Dl <em>/<br />
Base-&gt;INTF = Base-&gt;INTF;<br />
Lin_Lld_Uart_LocEnableLbkDtc(Base);<br />
Lin_LocUartHwStatus[Channel] = LIN_DRV_HW_IDLE_MODE;<br />
return;<br />
}<br />
if (LIN_FRAMERESPONSE_RX == TmpPduInfo.Drc)<br />
{<br />
temp2[4]++;  /</em> ID_FIELD + OK + RX → DATA_FIELD <em>/<br />
/</em> start slave res timeout tick <em>/<br />
Lin_Lld_Uart_LocStartToTicks(Channel, LIN_DRV_TO_S_RECEIVE);<br />
Lin_LocUartTimeoutType[Channel] = LIN_DRV_TO_S_RECEIVE;<br />
Lin_DrvUartDataCount[Channel] = 0U;<br />
Lin_LocUartHwStatus[Channel] = LIN_DRV_HW_DATA_FIELD;<br />
}<br />
else if (LIN_FRAMERESPONSE_TX == TmpPduInfo.Drc)<br />
{<br />
temp2[5]++;  /</em> ID_FIELD + OK + TX → DATA_FIELD <em>/<br />
Base-&gt;CTRL0 = UART_CTRL0_RXEN_MASK | UART_CTRL0_TXEN_MASK;<br />
Base-&gt;RXFIFO = UART_RXFIFO_RESET_MASK | UART_RXFIFO_EN_MASK;<br />
Base-&gt;DATA = TmpPduInfo.SduPtr[0];<br />
Lin_DrvUartSentData[Channel] = TmpPduInfo.SduPtr[0];<br />
Lin_DrvUartDataCount[Channel] = 1U;<br />
for (uint8 Index = 0u; Index &lt; TmpPduInfo.Dl; ++Index)<br />
{<br />
Lin_DrvUartFrameSdu[Channel][Index] = TmpPduInfo.SduPtr[Index];<br />
}<br />
Lin_DrvUartFrameChecksum[Channel] = Lin_Lld_Uart_LocGetChecksumByte(&amp;Lin_LocCurrentPdu[Channel]);<br />
Lin_LocUartHwStatus[Channel] = LIN_DRV_HW_DATA_FIELD;<br />
}<br />
else /</em> slave to slave <em>/<br />
{<br />
temp2[6]++;  /</em> ID_FIELD + OK + IGNORE → IDLE <em>/<br />
Base-&gt;INTF = Base-&gt;INTF;<br />
Lin_Lld_Uart_LocEnableLbkDtc(Base);<br />
Lin_LocUartHwStatus[Channel] = LIN_DRV_HW_IDLE_MODE;<br />
}<br />
}<br />
else<br />
#endif<br />
{<br />
temp2[7]++;  /</em> ID_FIELD + HeaderIndication NOT_OK → IDLE <em>/<br />
Base-&gt;INTF = Base-&gt;INTF;<br />
Lin_Lld_Uart_LocEnableLbkDtc(Base);<br />
Lin_LocUartHwStatus[Channel] = LIN_DRV_HW_IDLE_MODE;<br />
}<br />
}<br />
else if (LIN_DRV_HW_DATA_FIELD == Lin_LocUartHwStatus[Channel])<br />
{<br />
if (LIN_FRAMERESPONSE_RX == Lin_LocCurrentPdu[Channel].Drc)<br />
{<br />
Lin_DrvUartFrameSdu[Channel][Lin_DrvUartDataCount[Channel&rsqb;&rsqb; = ResData;<br />
++Lin_DrvUartDataCount[Channel];<br />
if (Lin_DrvUartDataCount[Channel] &gt;= Lin_LocCurrentPdu[Channel].Dl)<br />
{<br />
temp2[8]++;  /</em> DATA_FIELD + RX + last byte → CHECKSUM <em>/<br />
Lin_LocUartHwStatus[Channel] = LIN_DRV_HW_CHECKSUM_FIELD;<br />
}<br />
else<br />
{<br />
temp2[9]++;  /</em> DATA_FIELD + RX + continue <em>/<br />
}<br />
}<br />
else if (LIN_FRAMERESPONSE_TX == Lin_LocCurrentPdu[Channel].Drc)<br />
{<br />
if (ResData == Lin_DrvUartSentData[Channel])<br />
{<br />
/</em> last data send success, start next*/<br />
if (Lin_DrvUartDataCount[Channel] &lt; Lin_LocCurrentPdu[Channel].Dl)<br />
{<br />
temp2[10]++;  /* DATA_FIELD + TX + echo OK + continue send <em>/<br />
/</em> response not finish <em>/<br />
Base-&gt;DATA = Lin_DrvUartFrameSdu[Channel][Lin_DrvUartDataCount[Channel&rsqb;&rsqb;;<br />
Lin_DrvUartSentData[Channel] = Lin_DrvUartFrameSdu[Channel][Lin_DrvUartDataCount[Channel&rsqb;&rsqb;;<br />
++Lin_DrvUartDataCount[Channel];<br />
}<br />
else /</em> response finish <em>/<br />
{<br />
temp2[11]++;  /</em> DATA_FIELD + TX + echo OK + last byte → CHECKSUM <em>/<br />
Lin_LocUartHwStatus[Channel] = LIN_DRV_HW_CHECKSUM_FIELD;<br />
Base-&gt;DATA = Lin_DrvUartFrameChecksum[Channel];<br />
Lin_DrvUartSentData[Channel] = Lin_DrvUartFrameChecksum[Channel];<br />
}<br />
}<br />
else /</em> last data send fail*/<br />
{<br />
temp2[12]++;  /* DATA_FIELD + TX + echo MISMATCH → BIT_ERROR <em>/<br />
Lin_LocChFrameErrorStates[Channel] = LIN_DRV_BIT_ERROR;<br />
Lin_LocUartHwStatus[Channel] = LIN_DRV_HW_IDLE_MODE;<br />
#if (LIN_SLAVE_API_SUPPORT == STD_ON)<br />
LinIf_LinErrorIndication(Channel, LIN_ERR_RESP_DATABIT);<br />
#endif<br />
Base-&gt;INTF = Base-&gt;INTF;<br />
/</em> enable break detect <em>/<br />
Lin_Lld_Uart_LocEnableLbkDtc(Base);<br />
}<br />
}<br />
else<br />
{<br />
temp2[13]++;  /</em> DATA_FIELD + else (can not be here) <em>/<br />
}<br />
}<br />
else if (LIN_DRV_HW_CHECKSUM_FIELD == Lin_LocUartHwStatus[Channel])<br />
{<br />
if (LIN_FRAMERESPONSE_RX == Lin_LocCurrentPdu[Channel].Drc)<br />
{<br />
if (ResData == Lin_Lld_Uart_LocGetChecksumByte(&amp;Lin_LocCurrentPdu[Channel]))<br />
{<br />
temp2[14]++;  /</em> CHECKSUM + RX + checksum OK <em>/<br />
#if (LIN_SLAVE_API_SUPPORT == STD_ON)<br />
LinIf_RxIndication(Channel, &amp;Lin_DrvUartFrameSdu[Channel][0]);<br />
#endif<br />
}<br />
else<br />
{<br />
temp2[15]++;  /</em> CHECKSUM + RX + checksum FAIL <em>/<br />
#if (LIN_SLAVE_API_SUPPORT == STD_ON)<br />
LinIf_LinErrorIndication(Channel, LIN_ERR_RESP_CHKSUM);<br />
#endif<br />
}<br />
}<br />
else if (LIN_FRAMERESPONSE_TX == Lin_LocCurrentPdu[Channel].Drc)<br />
{<br />
if (ResData == Lin_DrvUartFrameChecksum[Channel])<br />
{<br />
temp2[16]++;  /</em> CHECKSUM + TX + checksum OK → TxConfirmation <em>/<br />
/</em> send checksum success <em>/<br />
Lin_LocUartHwStatus[Channel] = LIN_DRV_HW_IDLE_MODE;<br />
LinIf_TxConfirmation(Channel);<br />
}<br />
else<br />
{<br />
temp2[17]++;  /</em> CHECKSUM + TX + checksum FAIL → BIT_ERROR <em>/<br />
/</em> send checksum fail <em>/<br />
Lin_LocChFrameErrorStates[Channel] = LIN_DRV_BIT_ERROR;<br />
Lin_LocUartHwStatus[Channel] = LIN_DRV_HW_IDLE_MODE;<br />
#if (LIN_SLAVE_API_SUPPORT == STD_ON)<br />
LinIf_LinErrorIndication(Channel, LIN_ERR_RESP_DATABIT);<br />
#endif<br />
Base-&gt;INTF = Base-&gt;INTF;<br />
Lin_Lld_Uart_LocEnableLbkDtc(Base);<br />
}<br />
}<br />
else<br />
{<br />
temp2[18]++;  /</em> CHECKSUM + else (can not be here) <em>/<br />
}<br />
/</em> stop slave res timeout tick <em>/<br />
Lin_Lld_Uart_LocStopToTicks(Channel);<br />
/</em> enable break detect <em>/<br />
Lin_Lld_Uart_LocEnableLbkDtc(Base);<br />
}<br />
else if (LIN_DRV_HW_WAKEUP_FIELD == Lin_LocUartHwStatus[Channel])<br />
{<br />
/</em> check wakeup signal <em>/<br />
if (ResData == Lin_LocUartWakeupByte[Channel])<br />
{<br />
temp2[19]++;  /</em> WAKEUP + match → CH_READY <em>/<br />
/</em> Update LIN channel frame operation status <em>/<br />
Lin_LocChFrameStates[Channel] = LIN_DRV_CH_READY;<br />
/</em> Reset frame error status <em>/<br />
Lin_LocChFrameErrorStates[Channel] = LIN_DRV_NO_ERROR;<br />
Lin_ChStates[Channel] = LIN_DRV_CH_OPERATIONAL;<br />
Lin_LocUartHwStatus[Channel] = LIN_DRV_HW_IDLE_MODE;<br />
}<br />
else<br />
{<br />
temp2[20]++;  /</em> WAKEUP + mismatch → BIT_ERROR <em>/<br />
/</em> wakeup signal send fail <em>/<br />
Lin_LocChFrameErrorStates[Channel] = LIN_DRV_BIT_ERROR;<br />
Lin_LocUartHwStatus[Channel] = LIN_DRV_HW_IDLE_MODE;<br />
#if (LIN_SLAVE_API_SUPPORT == STD_ON)<br />
LinIf_LinErrorIndication(Channel, LIN_ERR_RESP_DATABIT);<br />
#endif<br />
Base-&gt;INTF = Base-&gt;INTF;<br />
Lin_Lld_Uart_LocEnableLbkDtc(Base);<br />
}<br />
}<br />
else<br />
{<br />
temp2[21]++;  /</em> no matching state */<br />
}<br />
}</p>
]]></description><link>https://forum.ytmicro.com/post/9038</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9038</guid><dc:creator><![CDATA[lxhxss]]></dc:creator><pubDate>Fri, 03 Jul 2026 06:13:58 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 06:11:59 GMT]]></title><description><![CDATA[<p dir="auto">还是不是很清楚，收发流程是怎么样的，可以给我看看LIN收发的代码吗？</p>
]]></description><link>https://forum.ytmicro.com/post/9037</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9037</guid><dc:creator><![CDATA[RuiXu]]></dc:creator><pubDate>Fri, 03 Jul 2026 06:11:59 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 06:11:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/242">RuiXu</a> 这样说不知道有没有表达清楚 您有理解吗</p>
]]></description><link>https://forum.ytmicro.com/post/9036</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9036</guid><dc:creator><![CDATA[lxhxss]]></dc:creator><pubDate>Fri, 03 Jul 2026 06:11:23 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 06:07:21 GMT]]></title><description><![CDATA[<p dir="auto">这个是函数 Lin_Lld_Uart_LocSlaveRxOk 每个状态进入的次数 进入一次就累计一次，累计发送了 27次 SLAVE 回复 MASTER 的相关报文</p>
]]></description><link>https://forum.ytmicro.com/post/9035</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9035</guid><dc:creator><![CDATA[lxhxss]]></dc:creator><pubDate>Fri, 03 Jul 2026 06:07:21 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 06:05:32 GMT]]></title><description><![CDATA[<p dir="auto">我没有理解那两张图片的意思，可否详细说一下？</p>
]]></description><link>https://forum.ytmicro.com/post/9034</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9034</guid><dc:creator><![CDATA[RuiXu]]></dc:creator><pubDate>Fri, 03 Jul 2026 06:05:32 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 06:04:04 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 class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/242">RuiXu</a> <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.ytmicro.com/uid/242">RuiXu</a> 2_3_0版本 回退了 1.0.0也一样</p>
]]></description><link>https://forum.ytmicro.com/post/9033</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9033</guid><dc:creator><![CDATA[lxhxss]]></dc:creator><pubDate>Fri, 03 Jul 2026 06:04:04 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 06:02:04 GMT]]></title><description><![CDATA[<p dir="auto">没有报错<br />
<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/1871/6977d666-377a-4dc2-a5e8-c0ca2261d6c0.png" alt="image.png" class=" img-fluid img-markdown" /><br />
<img src="https://yt-static-main.oss-cn-shanghai.aliyuncs.com/nodebb/1871/145cd60b-adb1-47b0-949e-6be89fb181a5.png" alt="image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.ytmicro.com/post/9032</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9032</guid><dc:creator><![CDATA[lxhxss]]></dc:creator><pubDate>Fri, 03 Jul 2026 06:02:04 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 06:01:52 GMT]]></title><description><![CDATA[<p dir="auto">用的MCAL哪个版本？</p>
]]></description><link>https://forum.ytmicro.com/post/9031</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9031</guid><dc:creator><![CDATA[RuiXu]]></dc:creator><pubDate>Fri, 03 Jul 2026 06:01:52 GMT</pubDate></item><item><title><![CDATA[Reply to YTM32MC03 MCAL LIN Slave 发送回环测试异常 on Fri, 03 Jul 2026 06:00:29 GMT]]></title><description><![CDATA[<p dir="auto">在错误回调函数LinIf_LinErrorIndication中观察LIN是否报错</p>
]]></description><link>https://forum.ytmicro.com/post/9030</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9030</guid><dc:creator><![CDATA[RuiXu]]></dc:creator><pubDate>Fri, 03 Jul 2026 06:00:29 GMT</pubDate></item></channel></rss>