<?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: Difference between UART0 and UART1 in LPSCI Driver in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Difference-between-UART0-and-UART1-in-LPSCI-Driver/m-p/1824599#M66147</link>
    <description>&lt;P&gt;I think the problem was caused by missing peripheral and pin assignments. It disappeared when these were fixed and automated changes applied. UART0 probably has different headers because it is also used as the debug console.&lt;/P&gt;</description>
    <pubDate>Sun, 10 Mar 2024 16:02:16 GMT</pubDate>
    <dc:creator>MarkPotts</dc:creator>
    <dc:date>2024-03-10T16:02:16Z</dc:date>
    <item>
      <title>Difference between UART0 and UART1 in LPSCI Driver</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Difference-between-UART0-and-UART1-in-LPSCI-Driver/m-p/1819924#M66119</link>
      <description>&lt;P&gt;I am using UART1 in an MKL26Z4 design but get a warning message :&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;expected 'UART0_Type *' but argument is of type 'UART_Type *'&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;in calls to&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;&lt;SPAN&gt;LPSCI_GetStatusFlags(UART1)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp;and &lt;STRONG&gt;LPSCI_ReadByte(UART1)&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;I am not clear about the difference between UART0 and other UARTs in the LPSCI driver. I see that there is a separate set of defines for UART0 in my generated header file MKL26Z4.h but I don't understand why or how to fix the warning.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;Any clarification would be helpful.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2024 03:16:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Difference-between-UART0-and-UART1-in-LPSCI-Driver/m-p/1819924#M66119</guid>
      <dc:creator>MarkPotts</dc:creator>
      <dc:date>2024-03-03T03:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between UART0 and UART1 in LPSCI Driver</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Difference-between-UART0-and-UART1-in-LPSCI-Driver/m-p/1821072#M66127</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The uart0 and Uart1 have different registers, so the register group must be redefined in SDK.&lt;/P&gt;
&lt;P&gt;I copy the register definition for the UART0 and UART1/2 as the following, the red is unique register for UART0.&lt;/P&gt;
&lt;P&gt;For the detailed inf about match, pls refer to 39.2.9 UART Match Address Registers 1 (UARTx_MA1).&lt;/P&gt;
&lt;P&gt;39.2.9 UART Match Address Registers 1 (UARTx_MA1)&lt;BR /&gt;The MA1 and MA2 registers are compared to input data addresses when the most&lt;BR /&gt;significant bit is set and the associated C4[MAEN] bit is set. If a match occurs, the&lt;BR /&gt;following data is transferred to the data register. If a match fails, the following data is&lt;BR /&gt;discarded. Software should only write a MA register when the associated C4[MAEN] bit&lt;BR /&gt;is clear.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1709609167480.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/266434iA986AC7878B59AB4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1709609167480.png" alt="xiangjun_rong_0-1709609167480.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 03:30:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Difference-between-UART0-and-UART1-in-LPSCI-Driver/m-p/1821072#M66127</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-03-05T03:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between UART0 and UART1 in LPSCI Driver</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Difference-between-UART0-and-UART1-in-LPSCI-Driver/m-p/1824599#M66147</link>
      <description>&lt;P&gt;I think the problem was caused by missing peripheral and pin assignments. It disappeared when these were fixed and automated changes applied. UART0 probably has different headers because it is also used as the debug console.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2024 16:02:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Difference-between-UART0-and-UART1-in-LPSCI-Driver/m-p/1824599#M66147</guid>
      <dc:creator>MarkPotts</dc:creator>
      <dc:date>2024-03-10T16:02:16Z</dc:date>
    </item>
  </channel>
</rss>

