<?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 S32k324 VLSR mode in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32k324-VLSR-mode/m-p/1942299#M40234</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are working on s32k324 very Low speed run mode for CAN&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To enter into VLSR mode from the RUN mode, I am changing the CLOCK to 3Mhz.&lt;/P&gt;&lt;P&gt;Before changing the clock i am de_initializing the CAN.&lt;/P&gt;&lt;P&gt;after changing the clock to 3MHZ ,I am reinitializing the CAN with 3Mhz&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Prasad_330_0-1724842349274.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/295807iB335411281C2DD3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Prasad_330_0-1724842349274.png" alt="Prasad_330_0-1724842349274.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The structure (above )"FlexCAN_Config0_VLSRM"&amp;nbsp; is created by me.&lt;/P&gt;&lt;P&gt;It is copied from the other project where&amp;nbsp; Flex CAN Protocol Clock is equal to 3MHZ and bitrate is equal to 500Kbps.&lt;/P&gt;&lt;P&gt;In the RUN mode CAN Tx and RX is working fine.&lt;/P&gt;&lt;P&gt;In the VLSR mode&amp;nbsp;&lt;/P&gt;&lt;P&gt;For CAN transmission we getting the return value as "FLEXCAN_STATUS_SUCCESS" for the ever first&amp;nbsp; time and from next cycle we are getting "FLEXCAN_STATUS_TIMEOUT" and also we are not getting any bus error.&lt;/P&gt;&lt;P&gt;But&amp;nbsp; if&amp;nbsp;CAN transmission is done @100 ms interval&amp;nbsp;from external environment to the s32k324 (using CAN Analyzer) most of the time we get&amp;nbsp; the return value as "FLEXCAN_STATUS_SUCCESS"&amp;nbsp; and randomly we are getting the CAN interrupt, which we have to get for every 100ms.&lt;/P&gt;&lt;P&gt;I have also attached the stand alone code for CAN VLSR mode.&lt;/P&gt;&lt;P&gt;Plz let me know any other parameter should be taken care&lt;/P&gt;</description>
    <pubDate>Wed, 28 Aug 2024 13:15:37 GMT</pubDate>
    <dc:creator>Prasad_330</dc:creator>
    <dc:date>2024-08-28T13:15:37Z</dc:date>
    <item>
      <title>S32k324 VLSR mode</title>
      <link>https://community.nxp.com/t5/S32K/S32k324-VLSR-mode/m-p/1942299#M40234</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are working on s32k324 very Low speed run mode for CAN&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To enter into VLSR mode from the RUN mode, I am changing the CLOCK to 3Mhz.&lt;/P&gt;&lt;P&gt;Before changing the clock i am de_initializing the CAN.&lt;/P&gt;&lt;P&gt;after changing the clock to 3MHZ ,I am reinitializing the CAN with 3Mhz&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Prasad_330_0-1724842349274.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/295807iB335411281C2DD3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Prasad_330_0-1724842349274.png" alt="Prasad_330_0-1724842349274.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The structure (above )"FlexCAN_Config0_VLSRM"&amp;nbsp; is created by me.&lt;/P&gt;&lt;P&gt;It is copied from the other project where&amp;nbsp; Flex CAN Protocol Clock is equal to 3MHZ and bitrate is equal to 500Kbps.&lt;/P&gt;&lt;P&gt;In the RUN mode CAN Tx and RX is working fine.&lt;/P&gt;&lt;P&gt;In the VLSR mode&amp;nbsp;&lt;/P&gt;&lt;P&gt;For CAN transmission we getting the return value as "FLEXCAN_STATUS_SUCCESS" for the ever first&amp;nbsp; time and from next cycle we are getting "FLEXCAN_STATUS_TIMEOUT" and also we are not getting any bus error.&lt;/P&gt;&lt;P&gt;But&amp;nbsp; if&amp;nbsp;CAN transmission is done @100 ms interval&amp;nbsp;from external environment to the s32k324 (using CAN Analyzer) most of the time we get&amp;nbsp; the return value as "FLEXCAN_STATUS_SUCCESS"&amp;nbsp; and randomly we are getting the CAN interrupt, which we have to get for every 100ms.&lt;/P&gt;&lt;P&gt;I have also attached the stand alone code for CAN VLSR mode.&lt;/P&gt;&lt;P&gt;Plz let me know any other parameter should be taken care&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 13:15:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k324-VLSR-mode/m-p/1942299#M40234</guid>
      <dc:creator>Prasad_330</dc:creator>
      <dc:date>2024-08-28T13:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: S32k324 VLSR mode</title>
      <link>https://community.nxp.com/t5/S32K/S32k324-VLSR-mode/m-p/1944351#M40388</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;seems you do not follow few requirements...&lt;BR /&gt;- with 3MHz PE clock there is not valid can bit timing configuration for 500kbps. Minimum can bit time is 8tqs, you set it just for 6tqs&lt;BR /&gt;- you should keep minimum ratio between bit rate and module bus clock (AIPS_PLAT_CLK) which is 16, I think.&lt;/P&gt;
&lt;P&gt;So try to lower CAN bit time, or increase system/PE clock and recalculate bit timing parameters.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 08:54:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k324-VLSR-mode/m-p/1944351#M40388</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-08-30T08:54:48Z</dc:date>
    </item>
  </channel>
</rss>

