<?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: S32K118 EVB use sample code flexcan not work in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K118-EVB-use-sample-code-flexcan-not-work/m-p/1712087#M26494</link>
    <description>&lt;P&gt;Hi, Robin&lt;/P&gt;&lt;P&gt;Thanks for your valuable information.&lt;/P&gt;&lt;P&gt;I forget to provide BAT(J16) voltage to S32K118 EVB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The can signals will be sent from EVB after either the BTN0 or BTN1 is pressed.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2023 07:44:43 GMT</pubDate>
    <dc:creator>Twokey</dc:creator>
    <dc:date>2023-08-28T07:44:43Z</dc:date>
    <item>
      <title>S32K118 EVB use sample code flexcan not work</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-EVB-use-sample-code-flexcan-not-work/m-p/1711188#M26446</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Board: S32K118 EVM&lt;/P&gt;&lt;P&gt;Code: sampl code&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; S32DS.3.5\S32DS\software\S32SDK_S32K1XX_RTM_4.0.1\examples\S32K118\driver_examples\communication\can_pal&lt;/P&gt;&lt;P&gt;Issue: flexcan not work (Tx not transmit data, Rx not received data)&lt;/P&gt;&lt;P&gt;We are trying to interface an external Can emulator with S32K118 EVB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This emulator has two can ports and we combine to these 2 ports to a high speed can network (ISO 11898-2)。&lt;/P&gt;&lt;P&gt;The HW block diagram is as following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Twokey_0-1692941668440.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238008i29802D179F73583C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Twokey_0-1692941668440.png" alt="Twokey_0-1692941668440.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We use a Saleae LA to monitor the signal for can network.&lt;/P&gt;&lt;P&gt;We found the signal can be detected when data is sent or received by emulator.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Twokey_1-1692942248341.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238009i2ED98157FF3BDAD8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Twokey_1-1692942248341.png" alt="Twokey_1-1692942248341.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We try to use sample code "can_pal" to send the can data,&lt;/P&gt;&lt;P&gt;Its signal cannot be detected by LA.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The can_pal sample code is no modfied.&lt;/P&gt;&lt;P&gt;Is this architecture correct for can bus test?&lt;/P&gt;&lt;P&gt;Could you help us to fix this is issue.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 05:54:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-EVB-use-sample-code-flexcan-not-work/m-p/1711188#M26446</guid>
      <dc:creator>Twokey</dc:creator>
      <dc:date>2023-08-25T05:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118 EVB use sample code flexcan not work</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-EVB-use-sample-code-flexcan-not-work/m-p/1711208#M26448</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;the attched sample code is in here.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Twokey&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 06:24:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-EVB-use-sample-code-flexcan-not-work/m-p/1711208#M26448</guid>
      <dc:creator>Twokey</dc:creator>
      <dc:date>2023-08-25T06:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118 EVB use sample code flexcan not work</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-EVB-use-sample-code-flexcan-not-work/m-p/1711251#M26449</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Just a reply after a quick look:&lt;BR /&gt;Do you have 12V power supply through J16?&lt;/P&gt;
&lt;P&gt;For more detailed information, please refer to &lt;A target="_blank" rel="noopener"&gt;file:///C:/NXP/S32DS.3.5/S32DS/software/S32SDK_S32K1XX_RTM_4.0.1/doc/html_S32K118/can_pal_s32k118_group.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;By the way, I recommend S32DS v3.4+ S32K1 SDK RTM 4.0.3.&amp;nbsp;&lt;SPAN&gt;According to the currently available information, we don’t have any plan to integrate S32SDK S32K1XX 4.0.3 into S32DS 3.5 or above version.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&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>Fri, 25 Aug 2023 06:51:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-EVB-use-sample-code-flexcan-not-work/m-p/1711251#M26449</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-08-25T06:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118 EVB use sample code flexcan not work</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-EVB-use-sample-code-flexcan-not-work/m-p/1712087#M26494</link>
      <description>&lt;P&gt;Hi, Robin&lt;/P&gt;&lt;P&gt;Thanks for your valuable information.&lt;/P&gt;&lt;P&gt;I forget to provide BAT(J16) voltage to S32K118 EVB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The can signals will be sent from EVB after either the BTN0 or BTN1 is pressed.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 07:44:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-EVB-use-sample-code-flexcan-not-work/m-p/1712087#M26494</guid>
      <dc:creator>Twokey</dc:creator>
      <dc:date>2023-08-28T07:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118 EVB use sample code flexcan not work</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-EVB-use-sample-code-flexcan-not-work/m-p/1712105#M26495</link>
      <description>&lt;P&gt;Hi, Robin&lt;/P&gt;&lt;P&gt;Thanks for your valuable information.&lt;/P&gt;&lt;P&gt;I forget to provide BAT(J16) voltage to S32K118 EVB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The can signals will be sent from EVB after either the BTN0 or BTN1 is pressed.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Twokey&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 07:45:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-EVB-use-sample-code-flexcan-not-work/m-p/1712105#M26495</guid>
      <dc:creator>Twokey</dc:creator>
      <dc:date>2023-08-28T07:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118 EVB use sample code flexcan not work</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-EVB-use-sample-code-flexcan-not-work/m-p/1714689#M26646</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, Robin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;We try to test the&amp;nbsp;Can bus Tx part of can_pal sample code,&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The system configuration of can bus is the same as previous and&amp;nbsp;bit rate setting is the same as sample code (500kbps).&lt;/P&gt;&lt;P&gt;The smallest preiod of Tx signal is about 2us,&amp;nbsp; if the data is sent by using can emulator.&lt;/P&gt;&lt;P&gt;We found the smallest period seems 1us, when can bus signal sent by EVB.&lt;BR /&gt;During this time, LA has detect an signal error.&lt;/P&gt;&lt;P&gt;Fig. 1 is the overall signals of can bus.&lt;/P&gt;&lt;P&gt;Fig1.a and Fig. 1.b are the zoom in of leftside and rightside parts of Fig.1,&amp;nbsp;respectively.&lt;/P&gt;&lt;P&gt;We found the signal of Fig. 1.b has 1 us period, marked by red rectangule.&lt;/P&gt;&lt;P&gt;We just modify the define of&amp;nbsp;TX_MSG_ID, Rx_MSG_ID, and disable the CAN_Receive() function form the can_pal sample code,&lt;/P&gt;&lt;P&gt;we also put this test code in the attachment.&lt;/P&gt;&lt;P&gt;Could you help us to take care this iisue.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Twokey_1-1693459096750.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238973iB674C4D815283DC7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Twokey_1-1693459096750.png" alt="Twokey_1-1693459096750.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Fig. 1, Can bus signal measured by LA,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Twokey_2-1693459174245.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238974iD51D4C7480988E79/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Twokey_2-1693459174245.png" alt="Twokey_2-1693459174245.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Fig. 1.a, Can bus signal issuzed by Can emulator,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Twokey_4-1693459637236.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238976i1D6FD2D5B205BBD7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Twokey_4-1693459637236.png" alt="Twokey_4-1693459637236.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Fig 1.b&amp;nbsp;Can bus signal issuzed by S32K118 EVB&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 06:09:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-EVB-use-sample-code-flexcan-not-work/m-p/1714689#M26646</guid>
      <dc:creator>Twokey</dc:creator>
      <dc:date>2023-08-31T06:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118 EVB use sample code flexcan not work</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-EVB-use-sample-code-flexcan-not-work/m-p/1715124#M26671</link>
      <description>&lt;P&gt;I have not installed S32K1 SDK RTM4.0.1 in S32DS v3.5, so I cannot open your project. But the can_pal_s32k118 in SDK RTM 4.0.3 enable &lt;STRONG&gt;CAN FD&lt;/STRONG&gt;(flexible data rate) by default. And &lt;STRONG&gt;Bitrate&lt;/STRONG&gt; of &lt;STRONG&gt;Data Phase&lt;/STRONG&gt; is 1000kbit/s.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="can_pal_s32k118_SDK403 Enable flexible data rate.png" style="width: 922px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/239122i0FC1492A248FF012/image-size/large?v=v2&amp;amp;px=999" role="button" title="can_pal_s32k118_SDK403 Enable flexible data rate.png" alt="can_pal_s32k118_SDK403 Enable flexible data rate.png" /&gt;&lt;/span&gt;Does your can emulator support CAN FD? If it is not supported, it is recommended to modify the project to disable CAN FD.&lt;/P&gt;
&lt;P&gt;By the way, it is recommended to use the latest SDK, because the new version fixes the bug that has been discovered.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.2 List of fixed issues from S32K1xx RTM 4.0.2.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/239123i988EC3F98986A9A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.2 List of fixed issues from S32K1xx RTM 4.0.2.png" alt="2.2 List of fixed issues from S32K1xx RTM 4.0.2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 14:12:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-EVB-use-sample-code-flexcan-not-work/m-p/1715124#M26671</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-08-31T14:12:41Z</dc:date>
    </item>
  </channel>
</rss>

