<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: LPC54616 USART-LIN MODE in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/LPC54616-USART-LIN-MODE/m-p/1954549#M1647</link>
    <description>&lt;P&gt;your CTRL（BIT 1）not need to clear？the usermenu say the send break until the bit clear。&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 14 Sep 2024 01:19:06 GMT</pubDate>
    <dc:creator>Cherrin</dc:creator>
    <dc:date>2024-09-14T01:19:06Z</dc:date>
    <item>
      <title>LPC54616 USART-LIN MODE</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/LPC54616-USART-LIN-MODE/m-p/1953105#M1638</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_0-1726122456888.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298758iC48CDB2643AE09BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_0-1726122456888.png" alt="_0-1726122456888.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_1-1726122490275.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/298759i7A7E54CB821101C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_1-1726122490275.png" alt="_1-1726122490275.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have programmed according to the way of generating break signal provided by the manual, but it seems that the signal cannot be generated successfully. I request to provide the sample code of usart0 sending messages in lin mode (including initial configuration).&lt;/P&gt;&lt;P&gt;&lt;LI-MESSAGE title="LPC54616 LIN Break Generation" uid="1952065" url="https://community.nxp.com/t5/Zephyr-Project/LPC54616-LIN-Break-Generation/m-p/1952065#U1952065" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 06:31:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/LPC54616-USART-LIN-MODE/m-p/1953105#M1638</guid>
      <dc:creator>Cherrin</dc:creator>
      <dc:date>2024-09-12T06:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54616 USART-LIN MODE</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/LPC54616-USART-LIN-MODE/m-p/1954177#M1644</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;It appears that your code has issue.&lt;/P&gt;
&lt;P&gt;Pls refer to section 25.7.9 for break generation.&lt;/P&gt;
&lt;P&gt;void Lin_SendBreak(void)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;//set the Lin mode&lt;/P&gt;
&lt;P&gt;UART0-CFG|=1&amp;lt;&amp;lt;8;&lt;/P&gt;
&lt;P&gt;//send break&lt;/P&gt;
&lt;P&gt;USRT0-&amp;gt;CTRL|=1&amp;lt;&amp;lt;1;&lt;/P&gt;
&lt;P&gt;while(USRT0-&amp;gt;CTRL&amp;amp;0x02) {}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;Pls have a try.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1726220705554.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299041iB5F18C1808B8A1B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1726220705554.png" alt="xiangjun_rong_0-1726220705554.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 09:51:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/LPC54616-USART-LIN-MODE/m-p/1954177#M1644</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-09-13T09:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54616 USART-LIN MODE</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/LPC54616-USART-LIN-MODE/m-p/1954549#M1647</link>
      <description>&lt;P&gt;your CTRL（BIT 1）not need to clear？the usermenu say the send break until the bit clear。&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Sep 2024 01:19:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/LPC54616-USART-LIN-MODE/m-p/1954549#M1647</guid>
      <dc:creator>Cherrin</dc:creator>
      <dc:date>2024-09-14T01:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54616 USART-LIN MODE</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/LPC54616-USART-LIN-MODE/m-p/1957039#M1658</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The usermenu say the send break until the bit clear, so I use the following code to poll the bit 1 until it is cleared.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;USRT0-&amp;gt;CTRL|=1&amp;lt;&amp;lt;1;&lt;/P&gt;
&lt;P&gt;while(USRT0-&amp;gt;CTRL&amp;amp;0x02) {}&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 01:27:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/LPC54616-USART-LIN-MODE/m-p/1957039#M1658</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-09-19T01:27:23Z</dc:date>
    </item>
  </channel>
</rss>

