<?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: CAN PAL - Dev ASSERT Check in S32K</title>
    <link>https://community.nxp.com/t5/S32K/CAN-PAL-Dev-ASSERT-Check/m-p/1969168#M41798</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229964"&gt;@zubizeratta&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I will be supporting your issue over at your other thread in order to prevent any misunderstandings or miscommunications:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/CAN-PAL-Dev-Assert-Issue/m-p/1968987/highlight/false#M41785" target="_blank"&gt;CAN PAL Dev Assert Issue - NXP Community&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
    <pubDate>Tue, 08 Oct 2024 18:03:40 GMT</pubDate>
    <dc:creator>Julián_AragónM</dc:creator>
    <dc:date>2024-10-08T18:03:40Z</dc:date>
    <item>
      <title>CAN PAL - Dev ASSERT Check</title>
      <link>https://community.nxp.com/t5/S32K/CAN-PAL-Dev-ASSERT-Check/m-p/1968988#M41786</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;MCU: S32K118&lt;/P&gt;&lt;P&gt;SDK :&amp;nbsp;S32SDK_S32K1XX_RTM_4.0.1&lt;/P&gt;&lt;P&gt;In the CAN Driver, can_pal.c , Can_AllocateState function there's a DEV_ASSERT check which fails:&amp;nbsp;&lt;/P&gt;&lt;P&gt;(NO_OF_FLEXCAN_INSTS_FOR_CAN =1)&lt;/P&gt;&lt;P&gt;for (i = 0; i &amp;lt; NO_OF_FLEXCAN_INSTS_FOR_CAN; i++)&lt;BR /&gt;{&lt;BR /&gt;if (isAllocated[i] == false)&lt;BR /&gt;{&lt;BR /&gt;instanceMapping[i] = instance;&lt;BR /&gt;isAllocated[i] = true;&lt;BR /&gt;break;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;if (i &amp;gt;= NO_OF_FLEXCAN_INSTS_FOR_CAN)&lt;BR /&gt;{&lt;BR /&gt;/* Should Never Reach Here */&lt;BR /&gt;DEV_ASSERT(false);&lt;BR /&gt;i = (NO_OF_FLEXCAN_INSTS_FOR_CAN-1U);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even though value of 1 is valid for&amp;nbsp;NO_OF_FLEXCAN_INSTS_FOR_CAN I don't get it exactly why it's checked if it's equal or greated than one. Shouldn't it be just "&amp;gt;1) ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 14:09:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN-PAL-Dev-ASSERT-Check/m-p/1968988#M41786</guid>
      <dc:creator>zubizeratta</dc:creator>
      <dc:date>2024-10-08T14:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: CAN PAL - Dev ASSERT Check</title>
      <link>https://community.nxp.com/t5/S32K/CAN-PAL-Dev-ASSERT-Check/m-p/1969168#M41798</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229964"&gt;@zubizeratta&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I will be supporting your issue over at your other thread in order to prevent any misunderstandings or miscommunications:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/CAN-PAL-Dev-Assert-Issue/m-p/1968987/highlight/false#M41785" target="_blank"&gt;CAN PAL Dev Assert Issue - NXP Community&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 18:03:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN-PAL-Dev-ASSERT-Check/m-p/1969168#M41798</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-10-08T18:03:40Z</dc:date>
    </item>
  </channel>
</rss>

