<?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のトピックDoubt about S32K144_FOTA_Gateway program</title>
    <link>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1418232#M14113</link>
    <description>&lt;P&gt;When I am searching for bootloader program for S32K144 I came across this following code.&lt;/P&gt;&lt;P&gt;While I am trying to debug the S32K144_FOTA_Gateway I got struct in the following line.&lt;/P&gt;&lt;P&gt;while(0 == (CAN0-&amp;gt;IFLAG1 &amp;gt;&amp;gt; CAN_TXbuffer_ptr-&amp;gt;MB) &amp;amp; 1 ); //Line No:234 in S32K144_FOTA_Gateway&amp;gt;src&amp;gt;FlexCan.C&lt;/P&gt;&lt;P&gt;Also whether following code can be used for can 2.0 instead of using CAN FD?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AparnaSridharan_0-1645618467123.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/171543iE1E3BE96684D72DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AparnaSridharan_0-1645618467123.png" alt="AparnaSridharan_0-1645618467123.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Feb 2022 12:14:41 GMT</pubDate>
    <dc:creator>AparnaSridharan</dc:creator>
    <dc:date>2022-02-23T12:14:41Z</dc:date>
    <item>
      <title>Doubt about S32K144_FOTA_Gateway program</title>
      <link>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1418232#M14113</link>
      <description>&lt;P&gt;When I am searching for bootloader program for S32K144 I came across this following code.&lt;/P&gt;&lt;P&gt;While I am trying to debug the S32K144_FOTA_Gateway I got struct in the following line.&lt;/P&gt;&lt;P&gt;while(0 == (CAN0-&amp;gt;IFLAG1 &amp;gt;&amp;gt; CAN_TXbuffer_ptr-&amp;gt;MB) &amp;amp; 1 ); //Line No:234 in S32K144_FOTA_Gateway&amp;gt;src&amp;gt;FlexCan.C&lt;/P&gt;&lt;P&gt;Also whether following code can be used for can 2.0 instead of using CAN FD?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AparnaSridharan_0-1645618467123.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/171543iE1E3BE96684D72DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AparnaSridharan_0-1645618467123.png" alt="AparnaSridharan_0-1645618467123.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 12:14:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1418232#M14113</guid>
      <dc:creator>AparnaSridharan</dc:creator>
      <dc:date>2022-02-23T12:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about S32K144_FOTA_Gateway program</title>
      <link>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1419128#M14143</link>
      <description>&lt;P&gt;Hi Aparna,&lt;/P&gt;
&lt;P&gt;is the second board connected via CAN? This is typical behavior - second board is either not connected or there's some wiring issue...&lt;/P&gt;
&lt;P&gt;Yes, the code can be updated to use standard CAN.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 13:50:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1419128#M14143</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2022-02-24T13:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about S32K144_FOTA_Gateway program</title>
      <link>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1419582#M14161</link>
      <description>&lt;P&gt;Yes the second board is connected to CAN. Using this CAN module we have able to receive messages for other projects. But I am not able to transmit message through CAN from second board using this FOTA_gateway program. Still it is getting struct at this following while statement.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;while(0 == (CAN0-&amp;gt;IFLAG1 &amp;gt;&amp;gt; CAN_TXbuffer_ptr-&amp;gt;MB) &amp;amp; 1 ); //Line No:234 in S32K144_FOTA_Gateway&amp;gt;src&amp;gt;FlexCan.C&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 06:54:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1419582#M14161</guid>
      <dc:creator>AparnaSridharan</dc:creator>
      <dc:date>2022-02-25T06:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about S32K144_FOTA_Gateway program</title>
      <link>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1419699#M14165</link>
      <description>&lt;P&gt;Do you use S32K144-EVB? There's in-built CAN transceiver in SBC UJA1169, so the board needs to be supplied by external 12V, not by USB only. Is the SBC still in forced mode? Or did you execute this example which switch it to normal mode?&lt;/P&gt;
&lt;P&gt;c:\NXP\S32DS.3.4\S32DS\software\S32SDK_S32K1XX_RTM_4.0.2\examples\S32K144\driver_examples\communication\sbc_uja116x\&lt;/P&gt;
&lt;P&gt;If it is in normal mode, the CAN transceiver in SBC needs to be enabled via SPI. Or it's necessary to switch back to forced mode.&lt;/P&gt;
&lt;P&gt;I would try to check by an oscilloscope if you can see the CAN signals on TX-RX and CANH-CANL.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 09:35:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1419699#M14165</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2022-02-25T09:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about S32K144_FOTA_Gateway program</title>
      <link>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1421727#M14225</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We have connected the Vehicle Spy on the CAN Bus to understand the CAN Communication. But we are not getting the data on the CAN bus. It's getting stuck in the FlexCAN0_transmit while loop.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aquant_0-1646211494579.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/172227i18358B83A2658A6C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aquant_0-1646211494579.png" alt="aquant_0-1646211494579.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you let us know why it is getting stuck in the while Loop. What might be wrong ?&lt;/P&gt;&lt;P&gt;We are testing this on our custom hardware with the same pinout used in the s32k evek PTE4 &amp;amp; 5 for CAN TX / RX&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 08:58:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1421727#M14225</guid>
      <dc:creator>aquant</dc:creator>
      <dc:date>2022-03-02T08:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about S32K144_FOTA_Gateway program</title>
      <link>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1422480#M14242</link>
      <description>&lt;P&gt;When checking by an oscilloscope - can you see the signal on TX pin and also on CANH and CANL?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 07:32:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1422480#M14242</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2022-03-03T07:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about S32K144_FOTA_Gateway program</title>
      <link>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1422527#M14244</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We can't observe CANH and CANL signals through oscilloscope. Actually could you please suggest ways to test CAN bus and what are the configurations needed for CAN bus to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 08:39:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1422527#M14244</guid>
      <dc:creator>AparnaSridharan</dc:creator>
      <dc:date>2022-03-03T08:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about S32K144_FOTA_Gateway program</title>
      <link>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1422708#M14252</link>
      <description>&lt;P&gt;Checking of TX and CANH-CANL signals is a key point at the beginning. It's necessary to check if the transceiver is up and running. We can test whatever we want but if there's no signal, it's just wasting of time.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 13:10:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1422708#M14252</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2022-03-03T13:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about S32K144_FOTA_Gateway program</title>
      <link>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1423056#M14256</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The CAN Part is working with our custom hardware when we generate the code using freemaster. But it is not working with the example bootloader gateway code . The difference what we are seeing on this code are the clock initialization API. Could you please help us what is the difference between these API calls.&lt;/P&gt;&lt;P&gt;In Freemaster&amp;nbsp;&lt;/P&gt;&lt;P&gt;CLOCK_SYS_Init(g_clockManConfigsArr, CLOCK_MANAGER_CONFIG_CNT,&lt;BR /&gt;g_clockManCallbacksArr, CLOCK_MANAGER_CALLBACK_CNT);&lt;BR /&gt;CLOCK_SYS_UpdateConfiguration(0U, CLOCK_MANAGER_POLICY_FORCIBLE);&lt;/P&gt;&lt;P&gt;In Example Bootloader Gateway Code, we are seeing the clock initialization with this API&lt;/P&gt;&lt;P&gt;SOSC_init_8MHz(); /* Initialize system oscillator for 8 MHz xtal */&lt;BR /&gt;SPLL_init_160MHz(); /* Initialize SPLL to 160 MHz with 8 MHz SOSC */&lt;BR /&gt;NormalRUNmode_80MHz(); /* Init clocks: 80 MHz sysclk &amp;amp; core, 40 MHz bus, 20 MHz flash */&lt;BR /&gt;LMEM-&amp;gt;PCCCR = 0x85000001; /* Invalidate cache &amp;amp; enable write buffer, cache */&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 05:13:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1423056#M14256</guid>
      <dc:creator>AparnaSridharan</dc:creator>
      <dc:date>2022-03-04T05:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about S32K144_FOTA_Gateway program</title>
      <link>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1424479#M14296</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;that's SDK code and baremetal code. You need to check in the SDK if you have the same clock settings as in the baremetal code. The SDK configuration is not visible in that piece of code, you need to check this in Processor Expert.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 09:39:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1424479#M14296</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2022-03-08T09:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about S32K144_FOTA_Gateway program</title>
      <link>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1424525#M14299</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have attached Clock configuration and PE file of SDK code below. Also I have compared the clock configurations between SDK code and BareMetal code.&amp;nbsp; I have observe changes in normal run mode frequency. I have changed that configurations for normal run mode but still it get struck at the same while loop&lt;/P&gt;&lt;P&gt;while(0 == ( (CAN0-&amp;gt;IFLAG1 &amp;gt;&amp;gt; CAN_TXbuffer_ptr-&amp;gt;MB) &amp;amp; 1 ));&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached files for baremetal code&amp;nbsp; and SDk also. Could please tell what are the changes we need to make.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 10:54:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Doubt-about-S32K144-FOTA-Gateway-program/m-p/1424525#M14299</guid>
      <dc:creator>AparnaSridharan</dc:creator>
      <dc:date>2022-03-08T10:54:28Z</dc:date>
    </item>
  </channel>
</rss>

