<?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: LPUART2 on MCXA153 is not working in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/LPUART2-on-MCXA153-is-not-working/m-p/1848753#M227</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232236"&gt;@Gurunath&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has your problem been solved according to pallav's suggestion?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If no, tell us. Also there is UART demo under SDK. And can use MCUXpressoo config tool to config, it will generate code automatically.&lt;/P&gt;
&lt;P&gt;You can refer to.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
    <pubDate>Wed, 17 Apr 2024 06:35:57 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2024-04-17T06:35:57Z</dc:date>
    <item>
      <title>LPUART2 on MCXA153 is not working</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/LPUART2-on-MCXA153-is-not-working/m-p/1847218#M219</link>
      <description>&lt;P&gt;Hi, i want to use LPUART2, on Tx(Port3_15) and Rx(Port3_14) pins in my mcxa153 frdm development board, and interfaced to a usb-to-uart converter, but I am not able to see any bytes if I send some string every one sec.&lt;/P&gt;&lt;P&gt;i have enabled the clock for port3 as given below,&lt;/P&gt;&lt;P&gt;CLOCK_EnableClock(kCLOCK_GatePORT3);&lt;/P&gt;&lt;P&gt;//release peripherals from reset.&lt;/P&gt;&lt;P&gt;RESET_ReleasePeripheralReset(kLPUART2_RST_SHIFT_RSTn);&lt;/P&gt;&lt;P&gt;RESET_ReleasePeripheralReset(kPORT3_RST_SHIFT_RSTn);&lt;/P&gt;&lt;P&gt;below is the settings i assigned to LPUART2 Rx (port3_14)&amp;nbsp; port pin configuration,&lt;/P&gt;&lt;P&gt;port_pin_config_t&amp;nbsp; &amp;nbsp;port3_14_config = { kPORT_PullUp, kPORT_LowPullResistor, kPORT_FastSlewRate,&lt;BR /&gt;kPORT_PassiveFilterDisable, kPORT_OpenDrainDisable,&amp;nbsp;kPORT_LowDriveStrength,&amp;nbsp;&lt;BR /&gt;kPORT_NormalDriveStrength, kPORT_MuxAlt2, kPORT_InputBufferEnable,&amp;nbsp;kPORT_InputNormal,&lt;BR /&gt;&lt;BR /&gt;kPORT_UnlockRegister};&lt;BR /&gt;&lt;BR /&gt;PORT_SetPinConfig(PORT3, 14U, &amp;amp;port3_14_config);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is the settings i assigned to LPUART2 Tx (port3_15)&amp;nbsp; port pin configuration,&lt;/P&gt;&lt;P&gt;port_pin_config_t&amp;nbsp; &amp;nbsp;port3_14_config = { kPORT_PullUp, kPORT_LowPullResistor, kPORT_FastSlewRate,&lt;BR /&gt;kPORT_PassiveFilterDisable, kPORT_OpenDrainDisable,&amp;nbsp;kPORT_LowDriveStrength,&amp;nbsp;&lt;BR /&gt;kPORT_NormalDriveStrength, kPORT_MuxAlt2, kPORT_InputBufferEnable,&amp;nbsp;kPORT_InputNormal,&lt;BR /&gt;&lt;BR /&gt;kPORT_UnlockRegister};&lt;BR /&gt;&lt;BR /&gt;PORT_SetPinConfig(PORT3, 15U, &amp;amp;port3_14_config);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//uart configuration settings&lt;/P&gt;&lt;P&gt;lpuart_config_t config;&lt;/P&gt;&lt;P&gt;LPUART_GetDefaultConfig(&amp;amp;config);&lt;BR /&gt;config.baudRate_Bps = BOARD_DEBUG_UART_BAUDRATE; //115200&lt;BR /&gt;config.enableTx = true;&lt;BR /&gt;config.enableRx = true;&lt;/P&gt;&lt;P&gt;//initializes LPUART2&lt;/P&gt;&lt;P&gt;LPUART_Init(LPUART2, &amp;amp;config, DEMO_LPUART_CLK_FREQ); // clock freq is 12000000&lt;/P&gt;&lt;P&gt;uint8_t txbuff[] = "Lpuart polling example\r\n"; // message to be transmitted&lt;/P&gt;&lt;P&gt;//the below uart tx function is not working for LPUART2&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am calling it in while loop after after calling, I have given a delay also of around 50mSec.&lt;/P&gt;&lt;P&gt;LPUART_WriteBlocking(LPUART2, txbuff, sizeof(txbuff) - 1);&lt;/P&gt;&lt;P&gt;Please let me know what is wrong or am i missing something?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 14:56:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/LPUART2-on-MCXA153-is-not-working/m-p/1847218#M219</guid>
      <dc:creator>Gurunath</dc:creator>
      <dc:date>2024-04-15T14:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART2 on MCXA153 is not working</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/LPUART2-on-MCXA153-is-not-working/m-p/1847855#M221</link>
      <description>&lt;P&gt;The problem is clock is not enabled for LPUART2.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 08:09:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/LPUART2-on-MCXA153-is-not-working/m-p/1847855#M221</guid>
      <dc:creator>pallav_aggarwal</dc:creator>
      <dc:date>2024-04-16T08:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART2 on MCXA153 is not working</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/LPUART2-on-MCXA153-is-not-working/m-p/1848753#M227</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232236"&gt;@Gurunath&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has your problem been solved according to pallav's suggestion?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If no, tell us. Also there is UART demo under SDK. And can use MCUXpressoo config tool to config, it will generate code automatically.&lt;/P&gt;
&lt;P&gt;You can refer to.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 06:35:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/LPUART2-on-MCXA153-is-not-working/m-p/1848753#M227</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-04-17T06:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART2 on MCXA153 is not working</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/LPUART2-on-MCXA153-is-not-working/m-p/1848769#M228</link>
      <description>&lt;P&gt;Thank you sir&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 06:56:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/LPUART2-on-MCXA153-is-not-working/m-p/1848769#M228</guid>
      <dc:creator>Gurunath</dc:creator>
      <dc:date>2024-04-17T06:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART2 on MCXA153 is not working</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/LPUART2-on-MCXA153-is-not-working/m-p/1848773#M229</link>
      <description>&lt;P&gt;Yes the issue was clock . It has been resolved Thank You!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 06:58:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/LPUART2-on-MCXA153-is-not-working/m-p/1848773#M229</guid>
      <dc:creator>Gurunath</dc:creator>
      <dc:date>2024-04-17T06:58:17Z</dc:date>
    </item>
  </channel>
</rss>

