<?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 Problem with S32k144 48 PINS - SDK in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Problem-with-S32k144-48-PINS-SDK/m-p/1217698#M7173</link>
    <description>&lt;P&gt;I have migrated from 64 pin to 48 pins. First problem is it was always going to trap because the clock initialization for the peripherals from SDK had no effect. Then i need to do it manually in the main function.&lt;/P&gt;&lt;P&gt;//***** Added Manually ***&lt;/P&gt;&lt;P&gt;// LPTMR0&lt;BR /&gt;if(PCC-&amp;gt;PCCn[PCC_LPTMR0_INDEX] &amp;amp; 0x40000000){PCC-&amp;gt;PCCn[PCC_LPTMR0_INDEX] = 0x80000000;}&lt;BR /&gt;PCC-&amp;gt;PCCn[PCC_LPTMR0_INDEX] = 0xC2000000; // enable clock, use SIRCDIV2 clock, no clock division&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/* Initialize LPTMR */&lt;BR /&gt;LPTMR_DRV_Init(INST_LPTMR1, &amp;amp;lpTmr1_config0, false);&lt;BR /&gt;INT_SYS_InstallHandler(LPTMR0_IRQn, lptmrISR, (isr_t *)NULL);&lt;BR /&gt;INT_SYS_EnableIRQ(LPTMR0_IRQn);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The timer interrupt and pin toggling was working later.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i have problem with the LIN and LPUART. The LPUART interrupt is not hitting even after the clock initialization for LPUART1.&lt;/P&gt;&lt;P&gt;/* Configure Clock for LPUART1 */&lt;BR /&gt;PCC-&amp;gt;PCCn[PCC_LPUART1_INDEX] &amp;amp;= ~PCC_PCCn_CGC_MASK; /* CGC=0: Clock disabled to modify PCS */&lt;BR /&gt;PCC-&amp;gt;PCCn[PCC_LPUART1_INDEX] &amp;amp;= ~PCC_PCCn_PCS_MASK; /* Clear PCS field temporarily */&lt;BR /&gt;PCC-&amp;gt;PCCn[PCC_LPUART1_INDEX] = 0xC3000000;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried both LIN slave and LIN slave baremetal from SDK.&lt;/P&gt;&lt;P&gt;Is the SDK for 48 pin package is complete?&amp;nbsp;&lt;/P&gt;&lt;P&gt;or Still any update can be expected?&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jan 2021 07:20:48 GMT</pubDate>
    <dc:creator>senthilnathan_v</dc:creator>
    <dc:date>2021-01-20T07:20:48Z</dc:date>
    <item>
      <title>Problem with S32k144 48 PINS - SDK</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Problem-with-S32k144-48-PINS-SDK/m-p/1217698#M7173</link>
      <description>&lt;P&gt;I have migrated from 64 pin to 48 pins. First problem is it was always going to trap because the clock initialization for the peripherals from SDK had no effect. Then i need to do it manually in the main function.&lt;/P&gt;&lt;P&gt;//***** Added Manually ***&lt;/P&gt;&lt;P&gt;// LPTMR0&lt;BR /&gt;if(PCC-&amp;gt;PCCn[PCC_LPTMR0_INDEX] &amp;amp; 0x40000000){PCC-&amp;gt;PCCn[PCC_LPTMR0_INDEX] = 0x80000000;}&lt;BR /&gt;PCC-&amp;gt;PCCn[PCC_LPTMR0_INDEX] = 0xC2000000; // enable clock, use SIRCDIV2 clock, no clock division&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/* Initialize LPTMR */&lt;BR /&gt;LPTMR_DRV_Init(INST_LPTMR1, &amp;amp;lpTmr1_config0, false);&lt;BR /&gt;INT_SYS_InstallHandler(LPTMR0_IRQn, lptmrISR, (isr_t *)NULL);&lt;BR /&gt;INT_SYS_EnableIRQ(LPTMR0_IRQn);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The timer interrupt and pin toggling was working later.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i have problem with the LIN and LPUART. The LPUART interrupt is not hitting even after the clock initialization for LPUART1.&lt;/P&gt;&lt;P&gt;/* Configure Clock for LPUART1 */&lt;BR /&gt;PCC-&amp;gt;PCCn[PCC_LPUART1_INDEX] &amp;amp;= ~PCC_PCCn_CGC_MASK; /* CGC=0: Clock disabled to modify PCS */&lt;BR /&gt;PCC-&amp;gt;PCCn[PCC_LPUART1_INDEX] &amp;amp;= ~PCC_PCCn_PCS_MASK; /* Clear PCS field temporarily */&lt;BR /&gt;PCC-&amp;gt;PCCn[PCC_LPUART1_INDEX] = 0xC3000000;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried both LIN slave and LIN slave baremetal from SDK.&lt;/P&gt;&lt;P&gt;Is the SDK for 48 pin package is complete?&amp;nbsp;&lt;/P&gt;&lt;P&gt;or Still any update can be expected?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 07:20:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Problem-with-S32k144-48-PINS-SDK/m-p/1217698#M7173</guid>
      <dc:creator>senthilnathan_v</dc:creator>
      <dc:date>2021-01-20T07:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with S32k144 48 PINS - SDK</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Problem-with-S32k144-48-PINS-SDK/m-p/1218608#M7177</link>
      <description>&lt;P&gt;Hi senthilnathan_v,&lt;/P&gt;
&lt;P&gt;Would you please let me know the version of your S32K SDK?&lt;BR /&gt;Processor Expert already supports 48 pin package in &lt;A href="https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/S32-Design-Studio-for-ARM-2018-R1-Update-10-available/ta-p/1106961" target="_self"&gt;SDK RTM 3.0.0&lt;/A&gt;. (It should have been fixed in a later version too.)&lt;/P&gt;
&lt;P&gt;Here you can see I change the CPU to 48 pins for &lt;STRONG&gt;lptmr_periodic_interrupt_s32k144&lt;/STRONG&gt; example.&lt;BR /&gt;It was able to work without clock issue.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lptmr_periodic_interrupt_s32k144 48 pins.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/135403i8CF624A3D5C69C4A/image-size/large?v=v2&amp;amp;px=999" role="button" title="lptmr_periodic_interrupt_s32k144 48 pins.png" alt="lptmr_periodic_interrupt_s32k144 48 pins.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="debug LPTMR.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/135404i3D906C9720DB3445/image-size/large?v=v2&amp;amp;px=999" role="button" title="debug LPTMR.png" alt="debug LPTMR.png" /&gt;&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>Thu, 21 Jan 2021 07:55:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Problem-with-S32k144-48-PINS-SDK/m-p/1218608#M7177</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2021-01-21T07:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with S32k144 48 PINS - SDK</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Problem-with-S32k144-48-PINS-SDK/m-p/1221798#M7199</link>
      <description>&lt;P&gt;Thank you for the reply. I think i made some mistake in clock configuration. Now the LIN is working fine as expected.&lt;/P&gt;&lt;P&gt;I got support from field application engineer, NXP. He guided me to resolve the problem&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 08:39:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Problem-with-S32k144-48-PINS-SDK/m-p/1221798#M7199</guid>
      <dc:creator>senthilnathan_v</dc:creator>
      <dc:date>2021-01-27T08:39:44Z</dc:date>
    </item>
  </channel>
</rss>

