<?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: How to print register in fault handler function using lpuart in S32K144</title>
    <link>https://community.nxp.com/t5/S32K/How-to-print-register-in-fault-handler-function-using-lpuart-in/m-p/1781235#M30072</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/178262"&gt;@huangkenny&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The LPUART driver uses interrupts, and interrupts cannot preempt the HardFault exception that has a higher priority. Theoretically, you should be able to use the other three exception handlers with lover priorities than the priority of the LPUART interrupts. Or you can reinitialize the LPUART and use simple baremetal code to send the data without the SDK/RTD LPUART driver.&lt;/P&gt;
&lt;P&gt;Refer to the AN5413 cookbook:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN5413.pdf" target="_blank" rel="noopener"&gt;https://www.nxp.com/docs/en/application-note/AN5413.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=AN5413SW&amp;amp;docLang=en" target="_blank" rel="noopener"&gt;https://www.nxp.com/webapp/Download?colCode=AN5413SW&amp;amp;docLang=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Dec 2023 15:54:53 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2023-12-29T15:54:53Z</dc:date>
    <item>
      <title>How to print register in fault handler function using lpuart in S32K144</title>
      <link>https://community.nxp.com/t5/S32K/How-to-print-register-in-fault-handler-function-using-lpuart-in/m-p/1780468#M29983</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm trying to catch some unexpected exception without debugger.&lt;/P&gt;&lt;P&gt;By reference the following example, I was able to catch different kind of error by debugger(pemicro)&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, I want to use lpuart to print it out on terminal by simply using&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LPUART_DRV_SendData before the while loop, end of the exception function, but it seems not working.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any more step to do so? Or some kind of configuration is missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: the&amp;nbsp;&lt;SPAN&gt;LPUART_DRV_SendData is working properly when normal application is running.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 08:58:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-print-register-in-fault-handler-function-using-lpuart-in/m-p/1780468#M29983</guid>
      <dc:creator>huangkenny</dc:creator>
      <dc:date>2023-12-27T08:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to print register in fault handler function using lpuart in S32K144</title>
      <link>https://community.nxp.com/t5/S32K/How-to-print-register-in-fault-handler-function-using-lpuart-in/m-p/1781235#M30072</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/178262"&gt;@huangkenny&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The LPUART driver uses interrupts, and interrupts cannot preempt the HardFault exception that has a higher priority. Theoretically, you should be able to use the other three exception handlers with lover priorities than the priority of the LPUART interrupts. Or you can reinitialize the LPUART and use simple baremetal code to send the data without the SDK/RTD LPUART driver.&lt;/P&gt;
&lt;P&gt;Refer to the AN5413 cookbook:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN5413.pdf" target="_blank" rel="noopener"&gt;https://www.nxp.com/docs/en/application-note/AN5413.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=AN5413SW&amp;amp;docLang=en" target="_blank" rel="noopener"&gt;https://www.nxp.com/webapp/Download?colCode=AN5413SW&amp;amp;docLang=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2023 15:54:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-print-register-in-fault-handler-function-using-lpuart-in/m-p/1781235#M30072</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-12-29T15:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to print register in fault handler function using lpuart in S32K144</title>
      <link>https://community.nxp.com/t5/S32K/How-to-print-register-in-fault-handler-function-using-lpuart-in/m-p/1781347#M30079</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for pointing out!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have enabled three other exception handler and modify the priority, and now I can print out with lpuart without problem.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kenny&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 00:43:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-print-register-in-fault-handler-function-using-lpuart-in/m-p/1781347#M30079</guid>
      <dc:creator>huangkenny</dc:creator>
      <dc:date>2024-01-02T00:43:19Z</dc:date>
    </item>
  </channel>
</rss>

