<?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: The LP800's usart driver not work for 9bit in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2032758#M57572</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/93107"&gt;@Alex_Tsai&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your information.&lt;/P&gt;
&lt;P&gt;i will report it to my SDK teams.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jan 2025 03:09:24 GMT</pubDate>
    <dc:creator>Harry_Zhang</dc:creator>
    <dc:date>2025-01-23T03:09:24Z</dc:date>
    <item>
      <title>The LP800's usart driver not work for 9bit</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2027865#M57523</link>
      <description>&lt;P&gt;Previously, LPC800 used peri_driver, which can be applied to 9bit usart.&lt;BR /&gt;But now the driver created by sdk builder can't be applied.&lt;/P&gt;&lt;P&gt;It's too complicated and resource-intensive for small MCUs.&lt;BR /&gt;The sdk should keep lower-level drivers, like the STM's LL driver.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 00:29:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2027865#M57523</guid>
      <dc:creator>Alex_Tsai</dc:creator>
      <dc:date>2025-01-15T00:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: The LP800's usart driver not work for 9bit</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2028071#M57527</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/93107"&gt;@Alex_Tsai&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I ask which chip from the LP800 series you are using.&lt;/P&gt;
&lt;P&gt;Sorry,&amp;nbsp;to use 9-bit USART on LPC800 with the NXP SDK, you’ll need to modify the provided driver or directly manipulate the USART peripheral registers, as the current SDK-generated drivers may not natively support 9-bit mode.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 07:27:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2028071#M57527</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2025-01-15T07:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: The LP800's usart driver not work for 9bit</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2028087#M57528</link>
      <description>&lt;P&gt;The chip I'm currently using is LPC824M20JDH20.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 07:35:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2028087#M57528</guid>
      <dc:creator>Alex_Tsai</dc:creator>
      <dc:date>2025-01-15T07:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: The LP800's usart driver not work for 9bit</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2028936#M57535</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/93107"&gt;@Alex_Tsai&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I checked the&amp;nbsp;LPC82x&amp;nbsp;User manual.&lt;/P&gt;
&lt;P&gt;The&amp;nbsp; USARTs support the 9 data bits.&lt;/P&gt;
&lt;P&gt;But this demo is not included in the SDK.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You’ll need to modify the provided driver.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can refer to the lpc55s16 9 bit example.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harry_Zhang_0-1737022389832.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/319859i1D332577FF386D28/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Harry_Zhang_0-1737022389832.png" alt="Harry_Zhang_0-1737022389832.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2025 10:13:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2028936#M57535</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2025-01-16T10:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: The LP800's usart driver not work for 9bit</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2029359#M57544</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The fundamental problem is that the fsl_usart of LPC800 does&amp;nbsp;not suitable.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Many code modifications may be required, such as the following&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In&amp;nbsp;USART_TransferHandleIRQ() function&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;uint8_t tmpdata = (uint8_t)base-&amp;gt;RXDAT;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The data type is limited to 8 bits.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 00:30:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2029359#M57544</guid>
      <dc:creator>Alex_Tsai</dc:creator>
      <dc:date>2025-01-17T00:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: The LP800's usart driver not work for 9bit</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2030245#M57558</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/93107"&gt;@Alex_Tsai&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the&amp;nbsp;&lt;SPAN&gt;USART_TransferSendNonBlocking function.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harry_Zhang_0-1737343514430.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/320243i435C61BAE8510F47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Harry_Zhang_0-1737343514430.png" alt="Harry_Zhang_0-1737343514430.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 03:26:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2030245#M57558</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2025-01-20T03:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: The LP800's usart driver not work for 9bit</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2030261#M57559</link>
      <description>&lt;P&gt;I'm not sure which version of the SDK you are using.&lt;BR /&gt;There is USART_Enable9bitMode() in your posting, but not in the SDK v2.16.&lt;/P&gt;&lt;P&gt;I also cann't see the&amp;nbsp;&lt;SPAN&gt;USART_TransferSendNonBlocking() function&amp;nbsp;&lt;/SPAN&gt;in your posting.&lt;BR /&gt;USART_TransferSendNonBlocking() function it will start interrupt, but the ISR have bug, the type will be limited to 8bit.&lt;BR /&gt;Refer to fsl_usart.c line.896.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 04:16:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2030261#M57559</guid>
      <dc:creator>Alex_Tsai</dc:creator>
      <dc:date>2025-01-20T04:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: The LP800's usart driver not work for 9bit</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2030503#M57565</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/93107"&gt;@Alex_Tsai&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry, the code is lpc55s16 Usart 9bit interrupt transfer demo.&lt;/P&gt;
&lt;P&gt;The lpc824 doesn't support the 9bit usart demo.&lt;/P&gt;
&lt;P&gt;So I suggest you can refer to lpc55s16 Usart 9bit interrupt transfer demo and modify the lpc824 usart demo.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 09:14:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2030503#M57565</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2025-01-20T09:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: The LP800's usart driver not work for 9bit</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2030507#M57566</link>
      <description>&lt;P&gt;I don't think it's a problem with the demo code, but NXP needs to fix the fsl_uart.c bug.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2025 09:19:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2030507#M57566</guid>
      <dc:creator>Alex_Tsai</dc:creator>
      <dc:date>2025-01-20T09:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: The LP800's usart driver not work for 9bit</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2032758#M57572</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/93107"&gt;@Alex_Tsai&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your information.&lt;/P&gt;
&lt;P&gt;i will report it to my SDK teams.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 03:09:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/The-LP800-s-usart-driver-not-work-for-9bit/m-p/2032758#M57572</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2025-01-23T03:09:24Z</dc:date>
    </item>
  </channel>
</rss>

