<?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>MCX MicrocontrollersのトピックRe: FRDM-MCXA156, LPUART1 not working</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXA156-LPUART1-not-working/m-p/2046113#M2497</link>
    <description>&lt;P&gt;OK, I found the problem. I have to attach the clock to LPUART1.&lt;BR /&gt;These lines were missing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;            CLOCK_SetClockDiv(kCLOCK_DivLPUART1, 1u);
            CLOCK_AttachClk(kFRO12M_to_LPUART1);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the original example they were in BOARD_InitDebugConsole().&lt;/P&gt;</description>
    <pubDate>Tue, 18 Feb 2025 08:09:46 GMT</pubDate>
    <dc:creator>jukka1</dc:creator>
    <dc:date>2025-02-18T08:09:46Z</dc:date>
    <item>
      <title>FRDM-MCXA156, LPUART1 not working</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXA156-LPUART1-not-working/m-p/2044376#M2483</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using FRDM-MCXA156 and&amp;nbsp;&lt;SPAN&gt;MCUXpresso IDE v24.12&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I cannot get LPUART1 working.&lt;BR /&gt;I imported the example&amp;nbsp;frdmmcxa156_lpuart_edma_transfer which uses LPUART0, and I simplified it so that I removed all unnecessary code. I modified only file lpuart_edma_transfer.c. It now initialises LPUART0, writes character 'A' and reads status flags.&lt;BR /&gt;Then I changed all LPUART0 related references to LPUART1 related. Both LPUART0 and LPUART1 versions are attached below.&lt;/P&gt;&lt;P&gt;When I run LPUART0 version, 'A' is sent and status flags are: 00c000c0&lt;/P&gt;&lt;P&gt;When I run LPUART1 version, 'A' is not sent and status flags are:&amp;nbsp;00000040&lt;BR /&gt;&lt;BR /&gt;Perhaps some register initialization is missing from LPUART1 version, but I do not understand what it can be.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;jukka&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 08:07:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXA156-LPUART1-not-working/m-p/2044376#M2483</guid>
      <dc:creator>jukka1</dc:creator>
      <dc:date>2025-02-14T08:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-MCXA156, LPUART1 not working</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXA156-LPUART1-not-working/m-p/2044413#M2484</link>
      <description>&lt;P&gt;The LPUART register dumps when execution is suspended in the while loop&lt;BR /&gt;LPUART0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;0x4009F000  04040003 00000202 00000000 00000000  ................
0x4009F010  19000004 00C00000 000C0000 00001000  ......À.........
0x4009F020  00000000 00000000 00C10099 00000000  ..........Á.....
0x4009F030  00001000 ??????00 ???????? ????????  ....????????????&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LPUART1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;0x400A0000  04040003 00000202 00000000 00000000  ................
0x400A0010  19000004 00000000 000C0000 00001000  ................
0x400A0020  00000000 00000000 00410099 00000100  ..........A.....
0x400A0030  00001000 ??????00 ???????? ????????  ....????????????&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Perhaps some clock initialization is missing???&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 08:46:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXA156-LPUART1-not-working/m-p/2044413#M2484</guid>
      <dc:creator>jukka1</dc:creator>
      <dc:date>2025-02-14T08:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-MCXA156, LPUART1 not working</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXA156-LPUART1-not-working/m-p/2046113#M2497</link>
      <description>&lt;P&gt;OK, I found the problem. I have to attach the clock to LPUART1.&lt;BR /&gt;These lines were missing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;            CLOCK_SetClockDiv(kCLOCK_DivLPUART1, 1u);
            CLOCK_AttachClk(kFRO12M_to_LPUART1);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the original example they were in BOARD_InitDebugConsole().&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 08:09:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/FRDM-MCXA156-LPUART1-not-working/m-p/2046113#M2497</guid>
      <dc:creator>jukka1</dc:creator>
      <dc:date>2025-02-18T08:09:46Z</dc:date>
    </item>
  </channel>
</rss>

