<?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 MKL15Z32VFM4 :uart1 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL15Z32VFM4-uart1/m-p/1255757#M60059</link>
    <description>&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;Hello, when I use the MKL15Z32VFM4 chip, uart1 cannot output normally.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;Below is my initialization code. The initialization process is the same as the routine, but the data cannot be output normally.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;uart_config_t config;&lt;/P&gt;&lt;P&gt;BOARD_InitPins();&lt;BR /&gt;BOARD_BootClockRUN();&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;* config.baudRate_Bps = 115200U;&lt;BR /&gt;* config.parityMode = kUART_ParityDisabled;&lt;BR /&gt;* config.stopBitCount = kUART_OneStopBit;&lt;BR /&gt;* config.txFifoWatermark = 0;&lt;BR /&gt;* config.rxFifoWatermark = 1;&lt;BR /&gt;* config.enableTx = false;&lt;BR /&gt;* config.enableRx = false;&lt;BR /&gt;*/&lt;BR /&gt;UART_GetDefaultConfig(&amp;amp;config);&lt;BR /&gt;config.baudRate_Bps = BOARD_DEBUG_UART_BAUDRATE;&lt;BR /&gt;config.enableTx = true;&lt;BR /&gt;config.enableRx = true;&lt;/P&gt;&lt;P&gt;UART_Init(DEMO_UART, &amp;amp;config, DEMO_UART_CLK_FREQ);&lt;/P&gt;</description>
    <pubDate>Thu, 01 Apr 2021 10:30:59 GMT</pubDate>
    <dc:creator>chenxikean</dc:creator>
    <dc:date>2021-04-01T10:30:59Z</dc:date>
    <item>
      <title>MKL15Z32VFM4 :uart1</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL15Z32VFM4-uart1/m-p/1255757#M60059</link>
      <description>&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;Hello, when I use the MKL15Z32VFM4 chip, uart1 cannot output normally.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;Below is my initialization code. The initialization process is the same as the routine, but the data cannot be output normally.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;uart_config_t config;&lt;/P&gt;&lt;P&gt;BOARD_InitPins();&lt;BR /&gt;BOARD_BootClockRUN();&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;* config.baudRate_Bps = 115200U;&lt;BR /&gt;* config.parityMode = kUART_ParityDisabled;&lt;BR /&gt;* config.stopBitCount = kUART_OneStopBit;&lt;BR /&gt;* config.txFifoWatermark = 0;&lt;BR /&gt;* config.rxFifoWatermark = 1;&lt;BR /&gt;* config.enableTx = false;&lt;BR /&gt;* config.enableRx = false;&lt;BR /&gt;*/&lt;BR /&gt;UART_GetDefaultConfig(&amp;amp;config);&lt;BR /&gt;config.baudRate_Bps = BOARD_DEBUG_UART_BAUDRATE;&lt;BR /&gt;config.enableTx = true;&lt;BR /&gt;config.enableRx = true;&lt;/P&gt;&lt;P&gt;UART_Init(DEMO_UART, &amp;amp;config, DEMO_UART_CLK_FREQ);&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 10:30:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL15Z32VFM4-uart1/m-p/1255757#M60059</guid>
      <dc:creator>chenxikean</dc:creator>
      <dc:date>2021-04-01T10:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: MKL15Z32VFM4 :uart1</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL15Z32VFM4-uart1/m-p/1255930#M60062</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/184971"&gt;@chenxikean&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jlqj4b"&gt;By “uart1 cannot output normally” , do you mean that the TX pin it is not encoding the transfer as expected, or simply does not have any output?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The routine that you shared seems ok to initialize UART in polling mode. However, your code does not show how the initialization of the TX and RX pins is done (probably you are doing this inside&amp;nbsp;BOARD_InitPins ()&amp;nbsp; ). It could be the case that you will need to review that also.&lt;/P&gt;
&lt;P&gt;Diego.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 17:16:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKL15Z32VFM4-uart1/m-p/1255930#M60062</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-04-01T17:16:22Z</dc:date>
    </item>
  </channel>
</rss>

