<?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: LPUART not working after jumping from bootloader to application in S32K</title>
    <link>https://community.nxp.com/t5/S32K/LPUART-not-working-after-jumping-from-bootloader-to-application/m-p/1073370#M7424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We already have a custom board designed using S32k144 chipset. We have only one UART port connected to an external connector. So we don’t have any option to Use LPUART0 as debug port.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE style="margin-left: -.05pt;" width="1457"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: solid black 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" width="131"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;80&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid black 1.0pt; border-left: none; padding: 0in 5.4pt 0in 5.4pt;" width="131"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;LPUART1_TX&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid black 1.0pt; border-left: none; padding: 0in 5.4pt 0in 5.4pt;" width="32"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;I/O&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid black 1.0pt; border-left: none; padding: 0in 5.4pt 0in 5.4pt;" width="1164"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;PTC7/LPUART1_TX/CAN1_TX/FTM3_CH3/FTM1_QD_PHA/FTM1_QD_PHA/FTM3_CH3/LPUART1_TX/ADC1_SE5&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid black 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt;" width="131"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;81&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" width="131"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;LPUART1_RX&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" width="32"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;I&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" width="1164"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;PTC6/LPUART1_RX/CAN1_RX/FTM3_CH2/FTM1_QD_PHB/LPUART1_RX/FTM1_QD_PHB/CAN1_RX/FTM3_CH2/ADC1_SE4&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically we are using pin 80 &amp;amp; 81 which is PTC6 and PTC7 for UART port.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May I know the reason why the UART does not work in application if the same UART is already used In bootloader ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any other way to overcome this issue ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prasanna V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Aug 2020 16:25:42 GMT</pubDate>
    <dc:creator>prasanna_v</dc:creator>
    <dc:date>2020-08-28T16:25:42Z</dc:date>
    <item>
      <title>LPUART not working after jumping from bootloader to application</title>
      <link>https://community.nxp.com/t5/S32K/LPUART-not-working-after-jumping-from-bootloader-to-application/m-p/1073368#M7422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have ported S32k148 Bootloader for S32k144 controller and i can load the application image from bootloader via LPUART1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample application provided in S32DS for LED&amp;nbsp;is working properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i try sample UART application (No SDK, No RTOS),&amp;nbsp;it does not work properly (no output in serial console). The same application works properly when i boot from 0x0 address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I verified whether the application image is flashed properly by reading the flash memory and everything seems to be fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure what is causing this issue. I tried to disable interrupts &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;__asm("cpsid i");&lt;/SPAN&gt;&amp;nbsp;before jumping to application but it did not help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2020 20:55:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPUART-not-working-after-jumping-from-bootloader-to-application/m-p/1073368#M7422</guid>
      <dc:creator>prasanna_v</dc:creator>
      <dc:date>2020-08-27T20:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART not working after jumping from bootloader to application</title>
      <link>https://community.nxp.com/t5/S32K/LPUART-not-working-after-jumping-from-bootloader-to-application/m-p/1073369#M7423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the bootloader and application are using LPUART1 and AN12218 jumping into the application without reset.&lt;/P&gt;&lt;P&gt;I suggest configuring another LPUART with related ports.&lt;/P&gt;&lt;P&gt;Pin muxing&amp;nbsp;can be seen in the attachment of the RM rev 12.1 (S32K144_IO_Signal_Description_Input_Multiplexing.xlsx)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2020 11:39:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPUART-not-working-after-jumping-from-bootloader-to-application/m-p/1073369#M7423</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-08-28T11:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART not working after jumping from bootloader to application</title>
      <link>https://community.nxp.com/t5/S32K/LPUART-not-working-after-jumping-from-bootloader-to-application/m-p/1073370#M7424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We already have a custom board designed using S32k144 chipset. We have only one UART port connected to an external connector. So we don’t have any option to Use LPUART0 as debug port.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE style="margin-left: -.05pt;" width="1457"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: solid black 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" width="131"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;80&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid black 1.0pt; border-left: none; padding: 0in 5.4pt 0in 5.4pt;" width="131"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;LPUART1_TX&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid black 1.0pt; border-left: none; padding: 0in 5.4pt 0in 5.4pt;" width="32"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;I/O&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid black 1.0pt; border-left: none; padding: 0in 5.4pt 0in 5.4pt;" width="1164"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;PTC7/LPUART1_TX/CAN1_TX/FTM3_CH3/FTM1_QD_PHA/FTM1_QD_PHA/FTM3_CH3/LPUART1_TX/ADC1_SE5&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid black 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt;" width="131"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;81&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" width="131"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;LPUART1_RX&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" width="32"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;I&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" width="1164"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;PTC6/LPUART1_RX/CAN1_RX/FTM3_CH2/FTM1_QD_PHB/LPUART1_RX/FTM1_QD_PHB/CAN1_RX/FTM3_CH2/ADC1_SE4&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically we are using pin 80 &amp;amp; 81 which is PTC6 and PTC7 for UART port.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May I know the reason why the UART does not work in application if the same UART is already used In bootloader ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any other way to overcome this issue ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prasanna V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2020 16:25:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPUART-not-working-after-jumping-from-bootloader-to-application/m-p/1073370#M7424</guid>
      <dc:creator>prasanna_v</dc:creator>
      <dc:date>2020-08-28T16:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART not working after jumping from bootloader to application</title>
      <link>https://community.nxp.com/t5/S32K/LPUART-not-working-after-jumping-from-bootloader-to-application/m-p/1134938#M8084</link>
      <description>&lt;P&gt;Hi Prasanna,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;The reason is probably that you initialize the same ports and LPUART twice (in the bootloader and in the application).&amp;nbsp;Also, these ports are already used by the java interface.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;Reset MCU before jump into the application can be a possible solution.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope it helps.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Diana&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 06:38:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/LPUART-not-working-after-jumping-from-bootloader-to-application/m-p/1134938#M8084</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-09-03T06:38:05Z</dc:date>
    </item>
  </channel>
</rss>

