<?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: Entering ISR mode</title>
    <link>https://community.nxp.com/t5/S32K/Entering-ISR-mode/m-p/1312957#M11437</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi chris21,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The S32K144EVB (SCH-29248 REV B1) is able to debug when call NormalRUNmode_80MHz at my side. I did not find&amp;nbsp;NormalRUNmode_56Mhz, would you please show me the configuration?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="debug S32K144_Project_FlexCan.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/150794i537A69E0F642ACAC/image-size/large?v=v2&amp;amp;px=999" role="button" title="debug S32K144_Project_FlexCan.jpg" alt="debug S32K144_Project_FlexCan.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When using&amp;nbsp;SPLL_init_160MHz, it's not be able to configure 56MHz system clock. Please check if you have modify the&amp;nbsp;SPLL_init_160MHz or external 8MHz crystal.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&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>Mon, 26 Jul 2021 03:24:40 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2021-07-26T03:24:40Z</dc:date>
    <item>
      <title>Entering ISR mode</title>
      <link>https://community.nxp.com/t5/S32K/Entering-ISR-mode/m-p/1312669#M11435</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am using the flexcan example "S32K144_Project_FlexCan" on S32k144EVB.&amp;nbsp; If I only do the initialisation (see the code further down) the execution ends up in DefaultISR some code later.&amp;nbsp;&lt;/P&gt;&lt;P&gt;(I can change the code to what I want, its always the same ending)&lt;/P&gt;&lt;P&gt;This only happens when using 80MHz ozillation.&lt;/P&gt;&lt;P&gt;At 56Mhz I do not have such problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Disassembly&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;DefaultISR:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;b DefaultISR&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;.size DefaultISR, . - DefaultISR&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Console Window prints the follwoing:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Initializing.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Target has been RESET and is active.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;BusFault: A precise (synchronous) data access error has occurred. &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Possible BusFault location: 0x40049000. &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;HardFault: A fault has been escalated to a hard fault.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;int main(void)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;{&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;uint32_t rx_msg_count = 0; /*&amp;lt; Receive message counter */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;/*!&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;* Initialization:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;* =======================&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;*/&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;WDOG_disable(); /* Disable WDOG */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;SOSC_init_8MHz(); /* Initialize system oscillator for 8 MHz xtal */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;SPLL_init_160MHz(); /* Initialize SPLL to 160 MHz with 8 MHz SOSC */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;NormalRUNmode_80MHz(); /* Init clocks: 80 MHz sysclk &amp;amp; core, 40 MHz bus, 20 MHz flash */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;//FLEXCAN0_init(); /* Init FlexCAN0 */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;//PORT_init(); /* Configure ports */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;...some more code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 14:51:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Entering-ISR-mode/m-p/1312669#M11435</guid>
      <dc:creator>chris21</dc:creator>
      <dc:date>2021-07-23T14:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Entering ISR mode</title>
      <link>https://community.nxp.com/t5/S32K/Entering-ISR-mode/m-p/1312957#M11437</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi chris21,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The S32K144EVB (SCH-29248 REV B1) is able to debug when call NormalRUNmode_80MHz at my side. I did not find&amp;nbsp;NormalRUNmode_56Mhz, would you please show me the configuration?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="debug S32K144_Project_FlexCan.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/150794i537A69E0F642ACAC/image-size/large?v=v2&amp;amp;px=999" role="button" title="debug S32K144_Project_FlexCan.jpg" alt="debug S32K144_Project_FlexCan.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When using&amp;nbsp;SPLL_init_160MHz, it's not be able to configure 56MHz system clock. Please check if you have modify the&amp;nbsp;SPLL_init_160MHz or external 8MHz crystal.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&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>Mon, 26 Jul 2021 03:24:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Entering-ISR-mode/m-p/1312957#M11437</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2021-07-26T03:24:40Z</dc:date>
    </item>
  </channel>
</rss>

