<?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: Code stuck in  BOARD_InitDebugConsole(); in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Code-stuck-in-BOARD-InitDebugConsole/m-p/1425996#M62593</link>
    <description>&lt;P&gt;#define BOARD_DEBUG_UART_CLKSRC &lt;STRONG&gt;kCLOCK_IpSrcSysOscAsync&lt;/STRONG&gt; in&amp;nbsp;&lt;STRONG&gt;board.h&lt;/STRONG&gt;, but &lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-in-initialization-of-clock/m-p/1420012#M62523" target="_self"&gt;Problem in initialization of clock&lt;/A&gt;&amp;nbsp;you don't &lt;SPAN&gt;have external crystal.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BOARD_DEBUG_UART_CLKSRC   kCLOCK_IpSrcSysOscAsync.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/173021i979EDCD3E63BB597/image-size/large?v=v2&amp;amp;px=999" role="button" title="BOARD_DEBUG_UART_CLKSRC   kCLOCK_IpSrcSysOscAsync.png" alt="BOARD_DEBUG_UART_CLKSRC   kCLOCK_IpSrcSysOscAsync.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Would you please check difference between the your custom board and FRDM-KE16Z?&lt;BR /&gt;For example:&lt;BR /&gt;LPUART0 is used?&lt;BR /&gt;PORTB0 (pin 27) is used as LPUART0_RX?&lt;BR /&gt;PORTB1 (pin 26) is used as LPUART0_TX?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;BR /&gt;Robin&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Mar 2022 09:02:08 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2022-03-10T09:02:08Z</dc:date>
    <item>
      <title>Code stuck in  BOARD_InitDebugConsole();</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Code-stuck-in-BOARD-InitDebugConsole/m-p/1423488#M62554</link>
      <description>&lt;P&gt;I am using KE16Z64VLD4 MCU for my application and using MCUXpresso IDE and&amp;nbsp; SDK_2.x_FRDM-KE16Z SDK. but code is stuck in&lt;/P&gt;&lt;P&gt;&amp;nbsp;BOARD_InitDebugConsole();&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt;&amp;gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;DbgConsole_Init(BOARD_DEBUG_UART_INSTANCE, BOARD_DEBUG_UART_BAUDRATE, BOARD_DEBUG_UART_TYPE, uartClkSrcFreq);&amp;nbsp; &amp;nbsp; &amp;gt;&amp;gt;&amp;nbsp; assert(kStatus_SerialManager_Success == status);&lt;/P&gt;&lt;P&gt;How to solve this ? and I want to use Debug console so, it is necessary to solve the problem.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2022 05:52:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Code-stuck-in-BOARD-InitDebugConsole/m-p/1423488#M62554</guid>
      <dc:creator>whiteliondd6</dc:creator>
      <dc:date>2022-03-05T05:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Code stuck in  BOARD_InitDebugConsole();</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Code-stuck-in-BOARD-InitDebugConsole/m-p/1423826#M62559</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Does the board&amp;nbsp;&lt;SPAN&gt;configuration of your KE16Z64VLD4 application same as FRDM-KE16Z? If not you need to modify it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="board.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172613i6A4BB2550F47A08E/image-size/large?v=v2&amp;amp;px=999" role="button" title="board.png" alt="board.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Or you can refer the LPUART examples in SDK: (...\SDK_2_11_0_FRDM-KE16Z.zip\boards\frdmke16z\driver_examples\lpuart)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 09:51:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Code-stuck-in-BOARD-InitDebugConsole/m-p/1423826#M62559</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-03-07T09:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Code stuck in  BOARD_InitDebugConsole();</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Code-stuck-in-BOARD-InitDebugConsole/m-p/1425825#M62590</link>
      <description>&lt;P&gt;Yes, I have check it is same as KE16Z. I also go through UART SDK example but, didn't find the solution. Further support is required.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 05:16:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Code-stuck-in-BOARD-InitDebugConsole/m-p/1425825#M62590</guid>
      <dc:creator>whiteliondd6</dc:creator>
      <dc:date>2022-03-10T05:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Code stuck in  BOARD_InitDebugConsole();</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Code-stuck-in-BOARD-InitDebugConsole/m-p/1425996#M62593</link>
      <description>&lt;P&gt;#define BOARD_DEBUG_UART_CLKSRC &lt;STRONG&gt;kCLOCK_IpSrcSysOscAsync&lt;/STRONG&gt; in&amp;nbsp;&lt;STRONG&gt;board.h&lt;/STRONG&gt;, but &lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-in-initialization-of-clock/m-p/1420012#M62523" target="_self"&gt;Problem in initialization of clock&lt;/A&gt;&amp;nbsp;you don't &lt;SPAN&gt;have external crystal.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BOARD_DEBUG_UART_CLKSRC   kCLOCK_IpSrcSysOscAsync.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/173021i979EDCD3E63BB597/image-size/large?v=v2&amp;amp;px=999" role="button" title="BOARD_DEBUG_UART_CLKSRC   kCLOCK_IpSrcSysOscAsync.png" alt="BOARD_DEBUG_UART_CLKSRC   kCLOCK_IpSrcSysOscAsync.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Would you please check difference between the your custom board and FRDM-KE16Z?&lt;BR /&gt;For example:&lt;BR /&gt;LPUART0 is used?&lt;BR /&gt;PORTB0 (pin 27) is used as LPUART0_RX?&lt;BR /&gt;PORTB1 (pin 26) is used as LPUART0_TX?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;BR /&gt;Robin&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 09:02:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Code-stuck-in-BOARD-InitDebugConsole/m-p/1425996#M62593</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-03-10T09:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Code stuck in  BOARD_InitDebugConsole();</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Code-stuck-in-BOARD-InitDebugConsole/m-p/1426563#M62603</link>
      <description>&lt;P&gt;Thank you for this solution. Now, I'm using SIRC(4MHz) as a clock source for debug console but, PRINTF function is not working although code is running nicely and having 0 errors and 0 warnings. I assigned LPUART0 for debug console. Attaching Screenshots.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 05:21:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Code-stuck-in-BOARD-InitDebugConsole/m-p/1426563#M62603</guid>
      <dc:creator>whiteliondd6</dc:creator>
      <dc:date>2022-03-11T05:21:45Z</dc:date>
    </item>
  </channel>
</rss>

