<?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: Flexcan function implement based on S32k358 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/1938774#M40022</link>
    <description>&lt;P&gt;Hi Julian:&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;My hardware environment is the following EVB board, and pin define is S32K358_172MQFP&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="BillWen_0-1724373294662.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294863i2373FFB53F43F108/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BillWen_0-1724373294662.png" alt="BillWen_0-1724373294662.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;1. I can use "Phy_665a_example_S32K358_CANFD_DS" this example code to sent Can tx message by BJB_CAN, and I can get signal from PCAN-VIEW can analyzer.&lt;/P&gt;&lt;P&gt;2. I want to create a can function just like&amp;nbsp;"Phy_665a_example_S32K358_CANFD_DS" on a new project, so I need to create port, platform, canif, Dio, Flexcan... setting. After I create these MCAL setting, I can't get can signal by can analyzer&lt;/P&gt;&lt;P&gt;3. About the Can transceiver work on normal mode, I only need to write "Dio_WriteChannel(DioConf_DioChannel_BJB_CAN_STBY, STD_LOW)" if I want to use BJB_CAN, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What information I need to provide to you and let you help me to figure out what's the problem? I stuck here for many days, please help me, thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;BR, BIll&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Aug 2024 00:52:25 GMT</pubDate>
    <dc:creator>BillWen</dc:creator>
    <dc:date>2024-08-23T00:52:25Z</dc:date>
    <item>
      <title>Flexcan function implement based on S32k358</title>
      <link>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/1935690#M39828</link>
      <description>&lt;P&gt;Hi everyone:&lt;/P&gt;&lt;P&gt;First of all, my purpose is implement the can function on s32k358, and I am trying to modify by &lt;SPAN&gt;Can_Example_S32K358 for now. This example is can internal loopback test, I want to use it to modify to Can sent message then use PCAN-VIEW to check can message if the can sent message successful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I already create the port configuration for VCU_CAN, pin "PTB0" &amp;amp; "PTB1", and the following is my main function, I can't get message by PCAN-VIEW, do anyone have idea or experience on this, I really need some help for this, thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;int main(void)&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;{&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; uint8 u8TimeOut = 100U;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; CanIf_bTxFlag = FALSE;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; CanIf_bRxFlag = FALSE;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; /* Initialize the Mcu driver */&lt;/DIV&gt;&lt;DIV&gt;#if (MCU_PRECOMPILE_SUPPORT == STD_ON)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Mcu_Init(NULL_PTR);&lt;/DIV&gt;&lt;DIV&gt;#elif (MCU_PRECOMPILE_SUPPORT == STD_OFF)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Mcu_Init(&amp;amp;Mcu_Config_VS_0);&lt;/DIV&gt;&lt;DIV&gt;#endif /* (MCU_PRECOMPILE_SUPPORT == STD_ON) */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; /* Initialize the clock tree and apply PLL as system clock */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Mcu_InitClock(McuConf_McuModeSettingConf_McuModeSettingConf_0);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; /* Initialize all pins using the Port driver */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Port_Init(NULL_PTR);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; /* Initialize CanIf driver */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; CanIf_Init(NULL_PTR);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;#if (MCU_NO_PLL == STD_OFF)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; while ( MCU_PLL_LOCKED != Mcu_GetPllStatus() )&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* Busy wait until the System PLL is locked */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Mcu_DistributePllClock();&lt;/DIV&gt;&lt;DIV&gt;#endif&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Mcu_SetMode(McuModeSettingConf_0);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; /* Initialize Platform driver */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Platform_Init(NULL_PTR);&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; static Can_PduType Can_PduInfo;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; /* Can_CreatePduInfo(id, swPduHandle,length, sdu) */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Can_PduInfo = Can_CreatePduInfo(0U, 0U, 8U, Can_au8Sdu8bytes);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; /* Initilize Can driver */&lt;/DIV&gt;&lt;DIV&gt;#if (CAN_43_FLEXCAN_PRECOMPILE_SUPPORT == STD_ON)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Can_43_FLEXCAN_Init(NULL_PTR);&lt;/DIV&gt;&lt;DIV&gt;#else&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Can_43_FLEXCAN_Init(&amp;amp;Can_43_FLEXCAN_Config_VS_0);&lt;/DIV&gt;&lt;DIV&gt;#endif&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Can_43_FLEXCAN_SetControllerMode(CanController_0, CAN_CS_STARTED);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; while(count&amp;lt;20)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if((Can_43_FLEXCAN_Write(CanHardwareObject_1, &amp;amp;Can_PduInfo) == E_OK))&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* Wait until the message is successfully sent */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //while(!CanIf_bTxFlag)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while((!CanIf_bTxFlag) &amp;amp;&amp;amp; (u8TimeOut != 0U))&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Can_43_FLEXCAN_MainFunction_Write();&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Can_DummyDelay(100U); /* Optional delay */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; u8TimeOut--;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* Reset the flag for the next transmission */&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CanIf_bTxFlag = FALSE;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; count++;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Can_DummyDelay(1000U);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; }&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Can_43_FLEXCAN_SetControllerMode(CanController_0, CAN_CS_STOPPED);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Can_43_FLEXCAN_DeInit();&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Exit_Example((CanIf_bTxFlag &amp;amp;&amp;amp; CanIf_bRxFlag) == TRUE);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; return (0U);&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;BR, BillWen&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Aug 2024 01:00:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/1935690#M39828</guid>
      <dc:creator>BillWen</dc:creator>
      <dc:date>2024-08-20T01:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Flexcan function implement based on S32k358</title>
      <link>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/1937743#M39935</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;,&lt;/P&gt;
&lt;P&gt;If the FlexCAN module is being configured as loopback, you will not see anything on the pins. The module needs to be configured for normal/user operation. Also, please confirm&amp;nbsp;if the CAN transceiver need to be configured firstly in your board, there are various demo codes in the community to use as reference:&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&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 - NXP Community&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://community.nxp.com/t5/S32K/S32K3x4-Q172-CAN-bus-example/m-p/1501279" target="_blank"&gt;Solved: S32K3x4-Q172 CAN bus example - NXP Community&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Also check if the PCAN-VIEW is configured with the correct values for baud rate, sampling point, etc.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 20:21:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/1937743#M39935</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-08-21T20:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Flexcan function implement based on S32k358</title>
      <link>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/1937904#M39944</link>
      <description>&lt;P&gt;Hi Julian :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Now, I can get CAN message from PCAN-VIEW by "Phy_665a_example_S32K358_CANFD_DS/Phy_665a_example_S32K358_CANFD_DS" this example code. So my purpose is set up a new can function in new project.&lt;/P&gt;&lt;P&gt;I already set up the Dio, platform, Port, Mcu, Can_43_flexcan, these MCAL setting, but still cannot get signal. Do you know what else I need to set? I use BJB_CAN to test, so I think I don't need to set up the SPI, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have any idea, please tell me, thanks a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;BR, BillWen&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 02:43:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/1937904#M39944</guid>
      <dc:creator>BillWen</dc:creator>
      <dc:date>2024-08-22T02:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Flexcan function implement based on S32k358</title>
      <link>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/1938660#M40019</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;,&lt;/P&gt;
&lt;P&gt;Are you using the evaluation boards for this example? Please keep in mind the connections for this project:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_0-1724350373351.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294835iCBD1B321C9427B23/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_0-1724350373351.png" alt="Julin_AragnM_0-1724350373351.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The CAN bus is configured at 500kbps and a CAN ID of 4. If you are using&amp;nbsp;&lt;SPAN&gt;BJB_CAN, then SPI is not needed. Could you clarify what are you referring to when saying "cannot get signal"?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Are you unable to send or receive messages with the MCU? Or the PCAN tool?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 18:16:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/1938660#M40019</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-08-22T18:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Flexcan function implement based on S32k358</title>
      <link>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/1938774#M40022</link>
      <description>&lt;P&gt;Hi Julian:&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;My hardware environment is the following EVB board, and pin define is S32K358_172MQFP&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="BillWen_0-1724373294662.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/294863i2373FFB53F43F108/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BillWen_0-1724373294662.png" alt="BillWen_0-1724373294662.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;1. I can use "Phy_665a_example_S32K358_CANFD_DS" this example code to sent Can tx message by BJB_CAN, and I can get signal from PCAN-VIEW can analyzer.&lt;/P&gt;&lt;P&gt;2. I want to create a can function just like&amp;nbsp;"Phy_665a_example_S32K358_CANFD_DS" on a new project, so I need to create port, platform, canif, Dio, Flexcan... setting. After I create these MCAL setting, I can't get can signal by can analyzer&lt;/P&gt;&lt;P&gt;3. About the Can transceiver work on normal mode, I only need to write "Dio_WriteChannel(DioConf_DioChannel_BJB_CAN_STBY, STD_LOW)" if I want to use BJB_CAN, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What information I need to provide to you and let you help me to figure out what's the problem? I stuck here for many days, please help me, thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;BR, BIll&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 00:52:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/1938774#M40022</guid>
      <dc:creator>BillWen</dc:creator>
      <dc:date>2024-08-23T00:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Flexcan function implement based on S32k358</title>
      <link>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/1939454#M40064</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;,&lt;/P&gt;
&lt;P&gt;Yes, in order to enable the CAN transceiver, the BJB CAN Standby pin needs to be driven to low. Also, keep in mind that a small delay is added after initializing the transceiver:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;    Dio_WriteChannel(DioConf_DioChannel_BJB_CAN_STBY, STD_LOW);
    OsIf_Wait(500U);

    /* Initialize CanIf driver */
    CanIf_Init(NULL_PTR);

    /* Initialize Can driver */
    Can_43_FLEXCAN_Init(NULL_PTR);&lt;/LI-CODE&gt;
&lt;P&gt;If you are not specifically using the&amp;nbsp;MC33665ACANFDEVB, you can also use the Can_Example_S32K358 from the RTD package, which does configure the CAN instance as loopback, but you can change it back to user mode and test it with the analyzer.&lt;/P&gt;
&lt;P&gt;If this is still not working, please double-check the FlexCAN configuration differences between your project and the&amp;nbsp;&lt;SPAN&gt;Phy_665a_example_S32K358_CANFD_DS. You can also share your project through here (or private message) to compare the differences in configuration.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;BR /&gt;Julián&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 20:31:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/1939454#M40064</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2024-08-23T20:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Flexcan function implement based on S32k358</title>
      <link>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/2060129#M46673</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hello&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831" target="_blank"&gt;@Julián_AragónM.&lt;/A&gt;&lt;BR /&gt;&lt;/STRONG&gt;Im also working on RD-K358BMU, im trying to implement can standard transmit using cmu can, the transmission being successful once but i can't see in can analyzer and next it goes into busy state. Please could you help?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;Dio_WriteChannel(DioConf_DioChannel_CMU_CAN_STBY, STD_LOW);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;for (int i=0;i&amp;lt;100000;i++);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;CanIf_Init(NULL_PTR);&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Can_43_FLEXCAN_Init(&amp;amp;Can_43_FLEXCAN_Config_VS_0);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Can_43_FLEXCAN_SetControllerMode(CMU_CAN,CAN_CS_STARTED);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Can_43_FLEXCAN_EnableControllerInterrupts(CMU_CAN);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;void can_test()&lt;/DIV&gt;&lt;DIV&gt;{&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;volatile Std_ReturnType RetVal = FLEXCAN_STATUS_ERROR;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Can_datasend.SduDataPtr=can_tx_data_arr;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Can_datasend.SduLength=sizeof(can_tx_data_arr);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;while(1)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RetVal=CanIf_Transmit(CMU_CAN,&amp;amp;Can_datasend);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;if (RetVal == FLEXCAN_STATUS_SUCCESS)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;printf("Success:%d\r\n",RetVal);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;else if (RetVal == FLEXCAN_STATUS_ERROR)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;printf("CAN tx failed:%d\r\n",RetVal);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;else if (RetVal == FLEXCAN_STATUS_BUSY)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;printf("CAN tx Busy:%d\r\n",RetVal);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vTaskDelay(1000);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Mar 2025 06:46:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/2060129#M46673</guid>
      <dc:creator>Shivanand</dc:creator>
      <dc:date>2025-03-12T06:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Flexcan function implement based on S32k358</title>
      <link>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/2060185#M46676</link>
      <description>Hi Shivanand:&lt;BR /&gt;I'm not NXP TechSupport. Just my experience and suggestion.&lt;BR /&gt;Is your CMU can transceiver TJA1443?&lt;BR /&gt;Because I check the TJA1443 data sheet, I think standby pin should be high if the chip is in Normal mode.&lt;BR /&gt;I also use this can, but I think my function is work.&lt;BR /&gt;You can try this&lt;BR /&gt;Dio_WriteChannel(DioConf_DioChannel_CMU_CAN_STBY, STD_HIGH);&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;BR, BillWen</description>
      <pubDate>Wed, 12 Mar 2025 07:29:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/2060185#M46676</guid>
      <dc:creator>BillWen</dc:creator>
      <dc:date>2025-03-12T07:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Flexcan function implement based on S32k358</title>
      <link>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/2060204#M46677</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;/P&gt;&lt;P&gt;I have tried making the pin High, still it is not working. could you send your reference project&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 07:53:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/2060204#M46677</guid>
      <dc:creator>Shivanand</dc:creator>
      <dc:date>2025-03-12T07:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Flexcan function implement based on S32k358</title>
      <link>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/2060234#M46678</link>
      <description>Hi Shivanand:&lt;BR /&gt;I think you can try the following code, it should be work, if not, maybe there are some problems on your MCAL setting.&lt;BR /&gt;&lt;BR /&gt;void can_test(void)&lt;BR /&gt;{&lt;BR /&gt;uint8 canData[8] = {0x12, 0x23, 0x34, 0x45, 0x56, 0x67, 0x78, 0x89};&lt;BR /&gt;Can_PduType Can_PduInfo;&lt;BR /&gt;&lt;BR /&gt;Can_PduInfo.id = 0x444;&lt;BR /&gt;Can_PduInfo.swPduHandle = 0U;&lt;BR /&gt;Can_PduInfo.length = 8U;&lt;BR /&gt;Can_PduInfo.sdu = canData;&lt;BR /&gt;&lt;BR /&gt;while(1)&lt;BR /&gt;{&lt;BR /&gt;Can_43_FLEXCAN_Write(CanHardwareObject_CMU_TX, &amp;amp;Can_PduInfo);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;Thanks&lt;BR /&gt;BR, BillWen</description>
      <pubDate>Wed, 12 Mar 2025 08:29:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/2060234#M46678</guid>
      <dc:creator>BillWen</dc:creator>
      <dc:date>2025-03-12T08:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Flexcan function implement based on S32k358</title>
      <link>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/2060260#M46681</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/230805"&gt;@BillWen&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Yes, please could you help me with MCAL settings .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 08:52:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/2060260#M46681</guid>
      <dc:creator>Shivanand</dc:creator>
      <dc:date>2025-03-12T08:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Flexcan function implement based on S32k358</title>
      <link>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/2060592#M46700</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/246536"&gt;@Shivanand&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Both TJA1153 and TJA1443 are pin compatible, the only difference is the ERROR pin in the TJA1443. The previous example I mentioned in this thread (&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" rel="noopener"&gt;Example S32K344 FlexCAN_Ip TX/RX/EnhanceRXFIFO test S32DS3.4 RTD200 - NXP Community&lt;/A&gt;.) configures the TJA1153 with the&amp;nbsp;&lt;SPAN&gt;setupCanXCVR&amp;nbsp;function.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;TJA1443 does not require any special initialization, it has 2 control pins, EN and STB_N, which are used to switch between device modes.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can still use the previously mentioned project or look into the community for other projects.&amp;nbsp; This following community post shows the full configuration of the project with a TJA1443:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/FlexCAN-driver-on-S32K3X4EVB-T172-EVB-can-t-access-via-PCAN/td-p/1721546" target="_blank" rel="noopener"&gt;Solved: FlexCAN driver (on S32K3X4EVB-T172 EVB) can't access via PCAN - NXP Community&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 15:57:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/2060592#M46700</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2025-03-12T15:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Flexcan function implement based on S32k358</title>
      <link>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/2061001#M46717</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have checked the TJA1463 configuration; its fine, but I'm unable to transmit data through CAN. Is there any issue with the code part?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 07:04:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Flexcan-function-implement-based-on-S32k358/m-p/2061001#M46717</guid>
      <dc:creator>Shivanand</dc:creator>
      <dc:date>2025-03-13T07:04:09Z</dc:date>
    </item>
  </channel>
</rss>

