<?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 Examples s32k344 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Can-Examples-s32k344/m-p/1870787#M35679</link>
    <description>&lt;P&gt;Hi Julián,&lt;/P&gt;&lt;P&gt;Thank you for your prompt response! I appreciate your assistance.&lt;/P&gt;&lt;P&gt;Regarding measuring the output, I am currently using a logic analyzer. Initially, I attempted to work with the VCU CAN, but encountered issues out put always LOW. Consequently, I switched to the CMU and BJB CANs, which provided some output visible in the logic analyzer.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AchrafOukheir_0-1716382667619.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/280202i71C1690B2B5905E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AchrafOukheir_0-1716382667619.png" alt="AchrafOukheir_0-1716382667619.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, I’ve noticed that the measured output consists of error messages. Do you have any insights into why this might be happening? Your guidance would be greatly appreciated.&lt;BR /&gt;its the same main code of the Can_example , you can see that on the zip attached&lt;/P&gt;&lt;P&gt;Best regards, Achraf&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2024 12:59:03 GMT</pubDate>
    <dc:creator>AchrafOukheir</dc:creator>
    <dc:date>2024-05-22T12:59:03Z</dc:date>
    <item>
      <title>Can Examples s32k344</title>
      <link>https://community.nxp.com/t5/S32K/Can-Examples-s32k344/m-p/1867389#M35485</link>
      <description>&lt;P&gt;Hello All,&lt;BR /&gt;&lt;BR /&gt;I’m working with the HVBMS RDK344BMU and trying to set up CAN communication. I’ve found a loopback example Can_Example_S32K344 , but I need to modify it for normal mode. Specifically, I want to observe the output on the CAN bus (VCU CAN).&lt;/P&gt;&lt;P&gt;Here are the steps I’ve taken so far:&lt;/P&gt;&lt;P&gt;Initialized the port . doing all routing :CAN0TX +CAN0RX + SPIS5 PCS2&lt;BR /&gt;Configured pins for VCU Can.&lt;BR /&gt;Set up the CAN: Disable loopback.&lt;BR /&gt;Tried transmitting data.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AchrafOukheir_0-1715883887415.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/279176iAF456988DBFCBFE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AchrafOukheir_0-1715883887415.png" alt="AchrafOukheir_0-1715883887415.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I’m not getting the expected results. Could someone guide me on how to modify the example for normal mode and troubleshoot the issue?&lt;BR /&gt;the CAN is always busy&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AchrafOukheir_1-1715883943436.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/279177iC863E5BF266FD980/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AchrafOukheir_1-1715883943436.png" alt="AchrafOukheir_1-1715883943436.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;&lt;P&gt;Thank you,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 18:26:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-Examples-s32k344/m-p/1867389#M35485</guid>
      <dc:creator>AchrafOukheir</dc:creator>
      <dc:date>2024-05-16T18:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can Examples s32k344</title>
      <link>https://community.nxp.com/t5/S32K/Can-Examples-s32k344/m-p/1869145#M35588</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219253"&gt;@AchrafOukheir&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Could you share how you are measuring the output? Are you using an oscilloscope/logic analyzer or a CAN Analyzer?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Keep in mind that for user/normal mode a second node (another MCU or CAN Analyzer) must be connected to the bus line. You can use&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-FlexCAN-Ip-TX-RX-EnhanceRXFIFO-test-S32DS3-4/ta-p/1536225" target="_blank"&gt;Example S32K344 FlexCAN_Ip TX/RX/EnhanceRXFIFO test S32DS3.4 RTD200&lt;/A&gt;&amp;nbsp;as reference for configuration.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 21:39:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-Examples-s32k344/m-p/1869145#M35588</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-05-20T21:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can Examples s32k344</title>
      <link>https://community.nxp.com/t5/S32K/Can-Examples-s32k344/m-p/1870787#M35679</link>
      <description>&lt;P&gt;Hi Julián,&lt;/P&gt;&lt;P&gt;Thank you for your prompt response! I appreciate your assistance.&lt;/P&gt;&lt;P&gt;Regarding measuring the output, I am currently using a logic analyzer. Initially, I attempted to work with the VCU CAN, but encountered issues out put always LOW. Consequently, I switched to the CMU and BJB CANs, which provided some output visible in the logic analyzer.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AchrafOukheir_0-1716382667619.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/280202i71C1690B2B5905E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AchrafOukheir_0-1716382667619.png" alt="AchrafOukheir_0-1716382667619.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, I’ve noticed that the measured output consists of error messages. Do you have any insights into why this might be happening? Your guidance would be greatly appreciated.&lt;BR /&gt;its the same main code of the Can_example , you can see that on the zip attached&lt;/P&gt;&lt;P&gt;Best regards, Achraf&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 12:59:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-Examples-s32k344/m-p/1870787#M35679</guid>
      <dc:creator>AchrafOukheir</dc:creator>
      <dc:date>2024-05-22T12:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can Examples s32k344</title>
      <link>https://community.nxp.com/t5/S32K/Can-Examples-s32k344/m-p/1871199#M35685</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219253"&gt;@AchrafOukheir&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Please help me confirming if your CAN analyzer instance inside the logic analyzer is set to the correct baud rate:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_0-1716404217638.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/280277i3E7D5AFC3D75363A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_0-1716404217638.png" alt="Julin_AragnM_0-1716404217638.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 18:57:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-Examples-s32k344/m-p/1871199#M35685</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-05-22T18:57:49Z</dc:date>
    </item>
    <item>
      <title>回复： Can Examples s32k344</title>
      <link>https://community.nxp.com/t5/S32K/Can-Examples-s32k344/m-p/1934988#M39797</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;AchrafOukheir:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I try to do the same things with you by S32K358 device, I also use the same example code "Can_Example_S32K358", I think is the same with 344.&lt;/P&gt;&lt;P&gt;I also have same problem, I try to use PCAN VIEW to check the can tx message, but I got nothing, I also have "&lt;SPAN&gt;the CAN is always busy" this problem, can you give me some idea or anything, please.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR, BillWen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 08:37:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-Examples-s32k344/m-p/1934988#M39797</guid>
      <dc:creator>BillWen</dc:creator>
      <dc:date>2024-08-19T08:37:32Z</dc:date>
    </item>
    <item>
      <title>回复： Can Examples s32k344</title>
      <link>https://community.nxp.com/t5/S32K/Can-Examples-s32k344/m-p/1935478#M39816</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/230805"&gt;@BillWen&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I’ve been experimenting with the S32K358, and unfortunately, it’s not working for me either. Additionally, the Can_Example_S32K358 doesn’t include any pin configuration, which poses an obstacle when trying to activate the CAN interface. In my 800V hvbms EVAL board., we need to pull up certain pins to enable CAN functionality. I recommend checking these remarks; they might help you troubleshoot. Otherwise, it seems that their example lacks the minimal configuration needed to make it work with our EVAL board.&lt;/P&gt;&lt;P&gt;Best regards, Achraf&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 16:03:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-Examples-s32k344/m-p/1935478#M39816</guid>
      <dc:creator>AchrafOukheir</dc:creator>
      <dc:date>2024-08-19T16:03:14Z</dc:date>
    </item>
    <item>
      <title>回复： Can Examples s32k344</title>
      <link>https://community.nxp.com/t5/S32K/Can-Examples-s32k344/m-p/1935673#M39827</link>
      <description>Hi Achraf:&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for your reply.&lt;BR /&gt;So you mean you also cannot implement can function based on s32k358?&lt;BR /&gt;You are right, I think the Can_Example_S32K358 is for internal can loopback test, and I had try to use logic analyzer to get signal, but got nothing.&lt;BR /&gt;The other hand, I already create the port configuration for can. My purpose is use VCU_CAN pin and connect to PC computer and measure can signal by software application.&lt;BR /&gt;&lt;BR /&gt;**bleep**, it is so difficult...&lt;BR /&gt;&lt;BR /&gt;my main code:&lt;BR /&gt;int main(void)&lt;BR /&gt;{&lt;BR /&gt;uint8 u8TimeOut = 100U;&lt;BR /&gt;CanIf_bTxFlag = FALSE;&lt;BR /&gt;CanIf_bRxFlag = FALSE;&lt;BR /&gt;/* Initialize the Mcu driver */&lt;BR /&gt;#if (MCU_PRECOMPILE_SUPPORT == STD_ON)&lt;BR /&gt;Mcu_Init(NULL_PTR);&lt;BR /&gt;#elif (MCU_PRECOMPILE_SUPPORT == STD_OFF)&lt;BR /&gt;Mcu_Init(&amp;amp;Mcu_Config_VS_0);&lt;BR /&gt;#endif /* (MCU_PRECOMPILE_SUPPORT == STD_ON) */&lt;BR /&gt;/* Initialize the clock tree and apply PLL as system clock */&lt;BR /&gt;Mcu_InitClock(McuConf_McuModeSettingConf_McuModeSettingConf_0);&lt;BR /&gt;&lt;BR /&gt;/* Initialize all pins using the Port driver */&lt;BR /&gt;Port_Init(NULL_PTR);&lt;BR /&gt;&lt;BR /&gt;/* Initialize CanIf driver */&lt;BR /&gt;CanIf_Init(NULL_PTR);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#if (MCU_NO_PLL == STD_OFF)&lt;BR /&gt;while ( MCU_PLL_LOCKED != Mcu_GetPllStatus() )&lt;BR /&gt;{&lt;BR /&gt;/* Busy wait until the System PLL is locked */&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Mcu_DistributePllClock();&lt;BR /&gt;#endif&lt;BR /&gt;&lt;BR /&gt;Mcu_SetMode(McuModeSettingConf_0);&lt;BR /&gt;&lt;BR /&gt;/* Initialize Platform driver */&lt;BR /&gt;Platform_Init(NULL_PTR);&lt;BR /&gt;static Can_PduType Can_PduInfo;&lt;BR /&gt;&lt;BR /&gt;/* Can_CreatePduInfo(id, swPduHandle,length, sdu) */&lt;BR /&gt;Can_PduInfo = Can_CreatePduInfo(0U, 0U, 8U, Can_au8Sdu8bytes);&lt;BR /&gt;/* Initilize Can driver */&lt;BR /&gt;#if (CAN_43_FLEXCAN_PRECOMPILE_SUPPORT == STD_ON)&lt;BR /&gt;Can_43_FLEXCAN_Init(NULL_PTR);&lt;BR /&gt;#else&lt;BR /&gt;Can_43_FLEXCAN_Init(&amp;amp;Can_43_FLEXCAN_Config_VS_0);&lt;BR /&gt;#endif&lt;BR /&gt;Can_43_FLEXCAN_SetControllerMode(CanController_0, CAN_CS_STARTED);&lt;BR /&gt;while(count&amp;lt;20)&lt;BR /&gt;{&lt;BR /&gt;if((Can_43_FLEXCAN_Write(CanHardwareObject_1, &amp;amp;Can_PduInfo) == E_OK))&lt;BR /&gt;{&lt;BR /&gt;/* Wait until the message is successfully sent */&lt;BR /&gt;//while(!CanIf_bTxFlag)&lt;BR /&gt;while((!CanIf_bTxFlag) &amp;amp;&amp;amp; (u8TimeOut != 0U))&lt;BR /&gt;{&lt;BR /&gt;Can_43_FLEXCAN_MainFunction_Write();&lt;BR /&gt;Can_DummyDelay(100U); /* Optional delay */&lt;BR /&gt;u8TimeOut--;&lt;BR /&gt;}&lt;BR /&gt;/* Reset the flag for the next transmission */&lt;BR /&gt;CanIf_bTxFlag = FALSE;&lt;BR /&gt;&lt;BR /&gt;count++;&lt;BR /&gt;}&lt;BR /&gt;Can_DummyDelay(1000U);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Can_43_FLEXCAN_SetControllerMode(CanController_0, CAN_CS_STOPPED);&lt;BR /&gt;Can_43_FLEXCAN_DeInit();&lt;BR /&gt;&lt;BR /&gt;Exit_Example((CanIf_bTxFlag &amp;amp;&amp;amp; CanIf_bRxFlag) == TRUE);&lt;BR /&gt;&lt;BR /&gt;return (0U);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;If you have other idea, please tell me generously.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;BR, BillWen&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Aug 2024 00:34:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Can-Examples-s32k344/m-p/1935673#M39827</guid>
      <dc:creator>BillWen</dc:creator>
      <dc:date>2024-08-20T00:34:59Z</dc:date>
    </item>
  </channel>
</rss>

