<?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: Setting up a counter for CAN in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Setting-up-a-counter-for-CAN/m-p/1938662#M40020</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200919"&gt;@Sriram&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can setup inside an ISR for any timer to send the CAN data. For example, this example:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-FlexCAN-RXFIFO-DMA-S32DS-ARM-2018-R1/ta-p/1120014" target="_blank"&gt;Example S32K144 FlexCAN RXFIFO DMA S32DS.ARM.2018.R1 - NXP Community&lt;/A&gt;. It has configured an interrupt handler for a button, where the CAN frame is sent.&lt;/P&gt;
&lt;P&gt;You can configure a timer instead. There are many timer examples either from the SDK, RTD package or from community directly, for example:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/S32K-SDK-Example-Function-call-on-configurable-period-using-LPIT/ta-p/1123702" target="_blank"&gt;S32K SDK Example - Function call on configurable period using LPIT timer. - NXP Community&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Julián&lt;/P&gt;</description>
    <pubDate>Thu, 22 Aug 2024 18:21:14 GMT</pubDate>
    <dc:creator>Julián_AragónM</dc:creator>
    <dc:date>2024-08-22T18:21:14Z</dc:date>
    <item>
      <title>Setting up a counter for CAN</title>
      <link>https://community.nxp.com/t5/S32K/Setting-up-a-counter-for-CAN/m-p/1938162#M39979</link>
      <description>&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;Im using S32k144 for motor control application. Right now im using the counter which is triggered by the PDB interrupt.&amp;nbsp; I want to make the CAN communication independent from the main PWM loop so that even if the CAN is stopped it doesnt affect my PWM .&lt;/P&gt;&lt;P&gt;Is there a way i can setup a counter to trigger the can without using PDB&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="MBDT" id="MBDT"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;LI-PRODUCT title="S32K144EVB" id="S32K144EVB"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 07:17:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Setting-up-a-counter-for-CAN/m-p/1938162#M39979</guid>
      <dc:creator>Sriram</dc:creator>
      <dc:date>2024-08-22T07:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up a counter for CAN</title>
      <link>https://community.nxp.com/t5/S32K/Setting-up-a-counter-for-CAN/m-p/1938662#M40020</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200919"&gt;@Sriram&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can setup inside an ISR for any timer to send the CAN data. For example, this example:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-FlexCAN-RXFIFO-DMA-S32DS-ARM-2018-R1/ta-p/1120014" target="_blank"&gt;Example S32K144 FlexCAN RXFIFO DMA S32DS.ARM.2018.R1 - NXP Community&lt;/A&gt;. It has configured an interrupt handler for a button, where the CAN frame is sent.&lt;/P&gt;
&lt;P&gt;You can configure a timer instead. There are many timer examples either from the SDK, RTD package or from community directly, for example:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/S32K-SDK-Example-Function-call-on-configurable-period-using-LPIT/ta-p/1123702" target="_blank"&gt;S32K SDK Example - Function call on configurable period using LPIT timer. - NXP Community&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Julián&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 18:21:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Setting-up-a-counter-for-CAN/m-p/1938662#M40020</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-08-22T18:21:14Z</dc:date>
    </item>
  </channel>
</rss>

