<?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 Configuration in polling mode in S32K</title>
    <link>https://community.nxp.com/t5/S32K/CAN-Configuration-in-polling-mode/m-p/1694883#M25563</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;if really using S32K344 Tbox board, then based on board schematic (&lt;A href="https://www.nxp.com/webapp/Download?colCode=SCH-50735" target="_blank"&gt;https://www.nxp.com/webapp/Download?colCode=SCH-50735&lt;/A&gt;) no CAN transceiver is connected to PTA6/PTA7.&lt;BR /&gt;I can recommend to use some simple one, which do not require any init, e.g. TJA1462 which is connected to FlexCAN2 using&amp;nbsp;PTC7/PTC6.&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jul 2023 08:38:41 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2023-07-28T08:38:41Z</dc:date>
    <item>
      <title>CAN Configuration in polling mode</title>
      <link>https://community.nxp.com/t5/S32K/CAN-Configuration-in-polling-mode/m-p/1692216#M25414</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I am using example project (Can_example_S32K312) from NXP in S32DS. Here in this example CAN is configured in polling mode and "Loopback" functionality. To get this CAN data on port I disabled option of Loopback in configuration but not able to get data on port pin. Code is stucked in while loop where&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Can_MainFunction_Write function is called inside (Because CanIf_bTxFlag is not getting set). I am u&lt;/SPAN&gt;sing port pin PTA27 as CAN0Tx and PTA28 as CAN0Rx. Can anybody help here?&lt;BR /&gt;&lt;BR /&gt;Please refer attachments.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ajayyadav1996_0-1690282283204.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233516i97CAC9BF4B006B1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ajayyadav1996_0-1690282283204.png" alt="ajayyadav1996_0-1690282283204.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ajayyadav1996_1-1690282324990.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233517i07CE3E6349CF740A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ajayyadav1996_1-1690282324990.png" alt="ajayyadav1996_1-1690282324990.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ajayyadav1996_0-1690282370754.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233518i658DBAF71D6864CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ajayyadav1996_0-1690282370754.png" alt="ajayyadav1996_0-1690282370754.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ajayyadav1996_1-1690282396279.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233519iD822C35F53AEAC2E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ajayyadav1996_1-1690282396279.png" alt="ajayyadav1996_1-1690282396279.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ajayyadav1996_2-1690282413502.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233520i51C827CBC42A9055/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ajayyadav1996_2-1690282413502.png" alt="ajayyadav1996_2-1690282413502.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ajayyadav1996_3-1690282434239.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233521iD7663B6EDE46E541/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ajayyadav1996_3-1690282434239.png" alt="ajayyadav1996_3-1690282434239.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ajayyadav1996_4-1690282468713.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233522iF31FD49772A53B63/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ajayyadav1996_4-1690282468713.png" alt="ajayyadav1996_4-1690282468713.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Ajay&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 10:54:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN-Configuration-in-polling-mode/m-p/1692216#M25414</guid>
      <dc:creator>ajayyadav1996</dc:creator>
      <dc:date>2023-07-25T10:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: CAN Configuration in polling mode</title>
      <link>https://community.nxp.com/t5/S32K/CAN-Configuration-in-polling-mode/m-p/1692295#M25417</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;if not using loopback mode you need active CAN transceiver connected to CAN pins and have other node on CAN bus which can ACK sent message.&lt;BR /&gt;PTA27/PTA28 pins have CAN0 functionality but nothing is connected there. You can try connect both (PTA27/PTA28) for test and measure with scope/analyzer. You should see message transmitted still because of missing ACK. If you connect some external CAN transceiver then it can work when communicate with other node.&lt;BR /&gt;On the EVB PTA6/PTA7 pins are connected to CAN transceiver (TJA1043). To use it change pin setting and connect other node.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 13:06:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN-Configuration-in-polling-mode/m-p/1692295#M25417</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2023-07-25T13:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: CAN Configuration in polling mode</title>
      <link>https://community.nxp.com/t5/S32K/CAN-Configuration-in-polling-mode/m-p/1694111#M25514</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the board S32K344 TBOX. I am using the example project 'CAN_Example_S32K344'. I disabled the loopback mode of can and i have configured the ports PTA6 and PTA7 to CAN0_RX and CAN0_TX but i am not able to see can messages with the pcan connected to the board. Need i to configure anything else more?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Adrsangar_0-1690453699039.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233907i7C8F3E088D760873/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adrsangar_0-1690453699039.png" alt="Adrsangar_0-1690453699039.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Adrsangar_1-1690453713162.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233908iA70C603AE893EA9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adrsangar_1-1690453713162.png" alt="Adrsangar_1-1690453713162.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Adrsangar_2-1690453720704.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233909i0F3C530D24528D4A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Adrsangar_2-1690453720704.png" alt="Adrsangar_2-1690453720704.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 10:33:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN-Configuration-in-polling-mode/m-p/1694111#M25514</guid>
      <dc:creator>Adrsangar</dc:creator>
      <dc:date>2023-07-27T10:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: CAN Configuration in polling mode</title>
      <link>https://community.nxp.com/t5/S32K/CAN-Configuration-in-polling-mode/m-p/1694883#M25563</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;if really using S32K344 Tbox board, then based on board schematic (&lt;A href="https://www.nxp.com/webapp/Download?colCode=SCH-50735" target="_blank"&gt;https://www.nxp.com/webapp/Download?colCode=SCH-50735&lt;/A&gt;) no CAN transceiver is connected to PTA6/PTA7.&lt;BR /&gt;I can recommend to use some simple one, which do not require any init, e.g. TJA1462 which is connected to FlexCAN2 using&amp;nbsp;PTC7/PTC6.&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 08:38:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN-Configuration-in-polling-mode/m-p/1694883#M25563</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2023-07-28T08:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: CAN Configuration in polling mode</title>
      <link>https://community.nxp.com/t5/S32K/CAN-Configuration-in-polling-mode/m-p/1697568#M25706</link>
      <description>&lt;P&gt;Hello Together,&lt;BR /&gt;&lt;BR /&gt;It worked!! I was using (XS32K3XXEVB -Q257) eval board, Where CAN0 Transceiver is internally connected to PTC26 and PTC27. I changed port configuration and changed CAN Tx/Rx to PTC26 and PTC27. Also, I initialized Can transceiver. To initialize on board Can transceiver (TJA1153), We should send high signal (5Volt) to EN and STB pin. On my eval board EN is connected to PTC21 and STB is connected to PTC20. I created 2 dio channels for the same and made these pins high to initialize on board can transceiver (TJA1153). And it worked. Thank you Petr &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 11:23:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CAN-Configuration-in-polling-mode/m-p/1697568#M25706</guid>
      <dc:creator>ajayyadav1996</dc:creator>
      <dc:date>2023-08-02T11:23:39Z</dc:date>
    </item>
  </channel>
</rss>

