<?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: Simple FlexCAN receive example using RTDs in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Simple-FlexCAN-receive-example-using-RTDs/m-p/1592649#M9701</link>
    <description>&lt;P&gt;I tried to convert this example to use CAN1 instead of CAN0 but get a hard fault at line&amp;nbsp; FlexCAN_Ip_ConfigEnhancedRxFifo_Privileged(INST_FLEXCAN_1, &amp;amp;CAN1_EnhanceFIFO_IdFilterTable[0]);&lt;/P&gt;&lt;P&gt;I changed the following declarations&amp;nbsp;INST_FLEXCAN_0, FlexCAN0_1_IRQn, flexCAN0_Callback, FlexCAN_Config0 to all use FlexCAN1 instead of FlexCAN0. I also updated the payload to use 8 bits instead of 64 bits.&lt;/P&gt;&lt;P&gt;What else do I need to change to make this work with CAN1?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-02-02 165750.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/209430i39249D2847033933/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-02-02 165750.png" alt="Screenshot 2023-02-02 165750.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Feb 2023 21:59:54 GMT</pubDate>
    <dc:creator>hns80</dc:creator>
    <dc:date>2023-02-02T21:59:54Z</dc:date>
    <item>
      <title>Simple FlexCAN receive example using RTDs</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Simple-FlexCAN-receive-example-using-RTDs/m-p/1591731#M9697</link>
      <description>&lt;P&gt;After verifying the FlexCAN_Ip_Example_S32K344 example can reach the end of the code, I modified it from loopback to Normal mode and assigned the pins to the CAN transceiver.&lt;/P&gt;&lt;P&gt;I then verified the message was transmitted correctly onto the CAN bus using a bus analyzer.&lt;/P&gt;&lt;P&gt;I removed the call to&amp;nbsp;FlexCAN_Ip_Send() and tested again, this time using the CAN bus analyzer to transmit an 8 byte message to CAN ID 0x14. I expected to see&amp;nbsp;FlexCAN_Ip_GetTransferStatus() succeed, but it never sees the message. I can see the message data reaching the CAN RX pin on the micro.&lt;/P&gt;&lt;P&gt;Is there anything else in the example that needs to change to successfully receive a CAN message?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 23:02:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Simple-FlexCAN-receive-example-using-RTDs/m-p/1591731#M9697</guid>
      <dc:creator>hns80</dc:creator>
      <dc:date>2023-02-01T23:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Simple FlexCAN receive example using RTDs</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Simple-FlexCAN-receive-example-using-RTDs/m-p/1592137#M9699</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;you can refer to below example&lt;BR /&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;https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-FlexCAN-Ip-TX-RX-EnhanceRXFIFO-test-S32DS3-4/ta-p/1536225&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 08:28:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Simple-FlexCAN-receive-example-using-RTDs/m-p/1592137#M9699</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2023-02-02T08:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Simple FlexCAN receive example using RTDs</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Simple-FlexCAN-receive-example-using-RTDs/m-p/1592649#M9701</link>
      <description>&lt;P&gt;I tried to convert this example to use CAN1 instead of CAN0 but get a hard fault at line&amp;nbsp; FlexCAN_Ip_ConfigEnhancedRxFifo_Privileged(INST_FLEXCAN_1, &amp;amp;CAN1_EnhanceFIFO_IdFilterTable[0]);&lt;/P&gt;&lt;P&gt;I changed the following declarations&amp;nbsp;INST_FLEXCAN_0, FlexCAN0_1_IRQn, flexCAN0_Callback, FlexCAN_Config0 to all use FlexCAN1 instead of FlexCAN0. I also updated the payload to use 8 bits instead of 64 bits.&lt;/P&gt;&lt;P&gt;What else do I need to change to make this work with CAN1?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-02-02 165750.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/209430i39249D2847033933/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-02-02 165750.png" alt="Screenshot 2023-02-02 165750.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 21:59:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Simple-FlexCAN-receive-example-using-RTDs/m-p/1592649#M9701</guid>
      <dc:creator>hns80</dc:creator>
      <dc:date>2023-02-02T21:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Simple FlexCAN receive example using RTDs</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Simple-FlexCAN-receive-example-using-RTDs/m-p/1593908#M9707</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;enhanced RXFIFO is only available on FlexCAN0, so most probably the hard fault comes from this, accessing reserved space.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PetrS_0-1675680028258.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/209724i4A97DCC66C5D537B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_0-1675680028258.png" alt="PetrS_0-1675680028258.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 10:41:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Simple-FlexCAN-receive-example-using-RTDs/m-p/1593908#M9707</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2023-02-06T10:41:12Z</dc:date>
    </item>
  </channel>
</rss>

