<?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>Kinetis MicrocontrollersのトピックMK81 LPUART fail after boot from external qspi flash</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK81-LPUART-fail-after-boot-from-external-qspi-flash/m-p/2158290#M67835</link>
    <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I am currently developing an application that should be executed from an external QSPI flash. As a starting point, I used the demo project&amp;nbsp;"&lt;STRONG&gt;hello_world_qspi&lt;/STRONG&gt;", and followed the procedure described in&amp;nbsp;&lt;STRONG&gt;Paragraph 4&lt;/STRONG&gt;&amp;nbsp;of the document&amp;nbsp;&lt;STRONG&gt;KBLQSPIUG&lt;/STRONG&gt;. I also modified the peripheral initializations to suit my setup, specifically using&amp;nbsp;&lt;STRONG&gt;LPUART3&amp;nbsp;&lt;/STRONG&gt;and a&amp;nbsp;&lt;STRONG&gt;GPIO&amp;nbsp;&lt;/STRONG&gt;for LED blinking.&lt;/P&gt;&lt;P&gt;The goal of the application is to send a "Hello World" message over the&amp;nbsp;LPUART3 interface&amp;nbsp;at&amp;nbsp;&lt;STRONG&gt;115200&lt;/STRONG&gt; &lt;STRONG&gt;bps&lt;/STRONG&gt;. Although I configured the peripherals using the&amp;nbsp;MCUXpresso Config Tool, I encountered the following issues:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;The LPUART3 baud rate is not set to 115200 as expected, but instead defaults to&amp;nbsp;&lt;STRONG&gt;921600&lt;/STRONG&gt;. I verified that the microcontroller is correctly executing code from the external QSPI flash.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;When I attempt to change the LPUART clock source using the function&amp;nbsp;&lt;EM&gt;CLOCK_SetLpuartClock(uint32_t src)&lt;/EM&gt;, the application&amp;nbsp;stops working&amp;nbsp;entirely.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I am unsure what is causing these issues. I have attached both the application code and the&amp;nbsp;qspi_config_block.c&amp;nbsp;file for reference. You'll find also the QSPI FLASH datasheet.&lt;/P&gt;&lt;P&gt;Any insights or suggestions would be greatly appreciated.&lt;BR /&gt;Looking forward to your feedback.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Vladimir Zitoli&lt;/P&gt;</description>
    <pubDate>Tue, 26 Aug 2025 11:27:17 GMT</pubDate>
    <dc:creator>Vladimir_Zitoli</dc:creator>
    <dc:date>2025-08-26T11:27:17Z</dc:date>
    <item>
      <title>MK81 LPUART fail after boot from external qspi flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK81-LPUART-fail-after-boot-from-external-qspi-flash/m-p/2158290#M67835</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I am currently developing an application that should be executed from an external QSPI flash. As a starting point, I used the demo project&amp;nbsp;"&lt;STRONG&gt;hello_world_qspi&lt;/STRONG&gt;", and followed the procedure described in&amp;nbsp;&lt;STRONG&gt;Paragraph 4&lt;/STRONG&gt;&amp;nbsp;of the document&amp;nbsp;&lt;STRONG&gt;KBLQSPIUG&lt;/STRONG&gt;. I also modified the peripheral initializations to suit my setup, specifically using&amp;nbsp;&lt;STRONG&gt;LPUART3&amp;nbsp;&lt;/STRONG&gt;and a&amp;nbsp;&lt;STRONG&gt;GPIO&amp;nbsp;&lt;/STRONG&gt;for LED blinking.&lt;/P&gt;&lt;P&gt;The goal of the application is to send a "Hello World" message over the&amp;nbsp;LPUART3 interface&amp;nbsp;at&amp;nbsp;&lt;STRONG&gt;115200&lt;/STRONG&gt; &lt;STRONG&gt;bps&lt;/STRONG&gt;. Although I configured the peripherals using the&amp;nbsp;MCUXpresso Config Tool, I encountered the following issues:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;The LPUART3 baud rate is not set to 115200 as expected, but instead defaults to&amp;nbsp;&lt;STRONG&gt;921600&lt;/STRONG&gt;. I verified that the microcontroller is correctly executing code from the external QSPI flash.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;When I attempt to change the LPUART clock source using the function&amp;nbsp;&lt;EM&gt;CLOCK_SetLpuartClock(uint32_t src)&lt;/EM&gt;, the application&amp;nbsp;stops working&amp;nbsp;entirely.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I am unsure what is causing these issues. I have attached both the application code and the&amp;nbsp;qspi_config_block.c&amp;nbsp;file for reference. You'll find also the QSPI FLASH datasheet.&lt;/P&gt;&lt;P&gt;Any insights or suggestions would be greatly appreciated.&lt;BR /&gt;Looking forward to your feedback.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Vladimir Zitoli&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2025 11:27:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK81-LPUART-fail-after-boot-from-external-qspi-flash/m-p/2158290#M67835</guid>
      <dc:creator>Vladimir_Zitoli</dc:creator>
      <dc:date>2025-08-26T11:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: MK81 LPUART fail after boot from external qspi flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK81-LPUART-fail-after-boot-from-external-qspi-flash/m-p/2161581#M67855</link>
      <description>&lt;P&gt;If setting the UART baudrate through the function, it approximates to the closest possible value given the clock arguments, so if an incorrect value is set, then it is needed to modify the clock source parameters.&lt;BR /&gt;If changing the clock on uart fails, then the reason could be that the selected clock is not init or you are changing the clock at runtime of the module. I suggest changing it before initializing the UART.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Omar&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2025 20:49:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK81-LPUART-fail-after-boot-from-external-qspi-flash/m-p/2161581#M67855</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2025-09-01T20:49:14Z</dc:date>
    </item>
  </channel>
</rss>

