<?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>S32KのトピックRe: S32K142 LPUART0 problem</title>
    <link>https://community.nxp.com/t5/S32K/S32K142-LPUART0-problem/m-p/1361417#M12568</link>
    <description>&lt;P&gt;I am using custom board.&lt;/P&gt;&lt;P&gt;Immediatly after initialization procedure LPUART0-&amp;gt;STAT bit RAF becomes to '1' and stay in this state. This happens even when all pins are disconnected from module.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Oct 2021 07:28:42 GMT</pubDate>
    <dc:creator>IvanTrashakhov</dc:creator>
    <dc:date>2021-10-26T07:28:42Z</dc:date>
    <item>
      <title>S32K142 LPUART0 problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-LPUART0-problem/m-p/1360006#M12526</link>
      <description>&lt;P&gt;Good day.&lt;/P&gt;&lt;P&gt;I have a problem with LPUART0 module. After initialization it start to recieve some data into FIFO even without conneced pins. LPUART1 works fine, settings for both modules are the same. Here's init code:&lt;/P&gt;&lt;P&gt;// Init. summary: 115200 baud, 1 stop bit, 8 bit format, no parity&lt;BR /&gt;void LPUART0_init(void)&lt;BR /&gt;{&lt;BR /&gt;PCC-&amp;gt;PCCn[PCC_LPUART0_INDEX] &amp;amp;= ~PCC_PCCn_CGC_MASK; // Ensure clk disabled for config&lt;BR /&gt;PCC-&amp;gt;PCCn[PCC_LPUART0_INDEX] |= PCC_PCCn_PCS(1) | PCC_PCCn_CGC_MASK;&lt;/P&gt;&lt;P&gt;LPUART0-&amp;gt;BAUD = LPUART_BAUD_SBR(0x18) | LPUART_BAUD_OSR(16);&lt;BR /&gt;LPUART0-&amp;gt;CTRL = LPUART_CTRL_RE(1) | LPUART_CTRL_TE(1) | LPUART_CTRL_RIE(1);&lt;BR /&gt;LPUART0-&amp;gt;FIFO = LPUART_FIFO_TXFE(0) | LPUART_FIFO_RXFE(0) | LPUART_FIFO_RXFLUSH(1) | LPUART_FIFO_TXFLUSH(1);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;registers:&lt;/P&gt;&lt;P&gt;LPUART0-&amp;gt;STAT = 0x1E2C000&lt;/P&gt;&lt;P&gt;LPUART1-&amp;gt;STAT = 0xC00000&lt;/P&gt;&lt;P&gt;LPUART0-&amp;gt;FIFO = 0x800011&lt;/P&gt;&lt;P&gt;LPUART0-&amp;gt;FIFO = 0xC00011&lt;/P&gt;&lt;P&gt;Maybe LPUART0 used for some other functions, that must be disabled before using this module?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 09:12:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-LPUART0-problem/m-p/1360006#M12526</guid>
      <dc:creator>IvanTrashakhov</dc:creator>
      <dc:date>2021-10-22T09:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142 LPUART0 problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-LPUART0-problem/m-p/1361089#M12556</link>
      <description>&lt;P&gt;Hi&amp;nbsp;IvanTrashakhov,&lt;/P&gt;&lt;P&gt;Are you using &lt;A href="https://www.nxp.com/design/development-boards/automotive-development-platforms/s32k-mcu-platforms/s32k142-evaluation-board-for-general-purpose:S32K142EVB" target="_self"&gt;S32K142EVB&lt;/A&gt; or custom board designed by yourself?&lt;BR /&gt;Need to pay attention to whether the LPUART0_RX pin voltage is the same as LPUART1_RX (whether the external circuit is the same).&lt;BR /&gt;There are two LPUART0_RX on &lt;A href="https://www.nxp.com/design/development-boards/automotive-development-platforms/s32k-mcu-platforms/s32k142-evaluation-board-for-general-purpose:S32K142EVB" target="_self"&gt;S32K142EVB&lt;/A&gt;, among which PTB0 (LPUART0_RX) pin is connected to LIN_RX of TJA1027T/20.&lt;/P&gt;&lt;P&gt;It is recommended to try to modify the &lt;STRONG&gt;lpuart_echo_s32k142&lt;/STRONG&gt; example in the SDK,&amp;nbsp; test whether it is normal after changing from LPUART1 to LPUART0 (remember to modify the corresponding pin)&lt;/P&gt;&lt;P&gt;&lt;BR /&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>Tue, 26 Oct 2021 00:35:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-LPUART0-problem/m-p/1361089#M12556</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2021-10-26T00:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142 LPUART0 problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-LPUART0-problem/m-p/1361417#M12568</link>
      <description>&lt;P&gt;I am using custom board.&lt;/P&gt;&lt;P&gt;Immediatly after initialization procedure LPUART0-&amp;gt;STAT bit RAF becomes to '1' and stay in this state. This happens even when all pins are disconnected from module.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 07:28:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-LPUART0-problem/m-p/1361417#M12568</guid>
      <dc:creator>IvanTrashakhov</dc:creator>
      <dc:date>2021-10-26T07:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142 LPUART0 problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-LPUART0-problem/m-p/1362322#M12599</link>
      <description>&lt;P&gt;Would you please show the value of all LPUART registers during debug?&lt;BR /&gt;This is convenient to compare whether the register configuration is Except for assigning different pins, there is no obvious difference between LPUART0 and LPUART1.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 09:13:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-LPUART0-problem/m-p/1362322#M12599</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2021-10-27T09:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142 LPUART0 problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-LPUART0-problem/m-p/1363632#M12611</link>
      <description>&lt;P&gt;All registers and initialization routine in attached file.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 04:47:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-LPUART0-problem/m-p/1363632#M12611</guid>
      <dc:creator>IvanTrashakhov</dc:creator>
      <dc:date>2021-10-29T04:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: S32K142 LPUART0 problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K142-LPUART0-problem/m-p/1364965#M12632</link>
      <description>&lt;P&gt;Sorry to keep you waiting, I used your LPUART initialization function and cannot reproduce this problem.&lt;BR /&gt;Have you set the pin function, such as:&lt;/P&gt;
&lt;P&gt;PCC-&amp;gt;PCCn[PCC_PORTC_INDEX ]|=PCC_PCCn_CGC_MASK; /* Enable clock for PORTC */&lt;BR /&gt;PORTC-&amp;gt;PCR[6]|=PORT_PCR_MUX(2); /* Port C6: MUX = ALT2, UART1 TX */&lt;BR /&gt;PORTC-&amp;gt;PCR[7]|=PORT_PCR_MUX(2); /* Port C7: MUX = ALT2, UART1 RX */&lt;/P&gt;
&lt;P&gt;PCC-&amp;gt;PCCn[PCC_PORTA_INDEX ]|=PCC_PCCn_CGC_MASK; /* Enable clock for PORTA */&lt;BR /&gt;PORTA-&amp;gt;PCR[3]|=PORT_PCR_MUX(6); /* Port A3: MUX = ALT6, UART0 TX */&lt;BR /&gt;PORTA-&amp;gt;PCR[2]|=PORT_PCR_MUX(6); /* Port A2: MUX = ALT6, UART0 RX */&lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2021 08:42:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K142-LPUART0-problem/m-p/1364965#M12632</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2021-11-02T08:42:36Z</dc:date>
    </item>
  </channel>
</rss>

