<?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>S32GのトピックAbout adding CAN2CAN routing route</title>
    <link>https://community.nxp.com/t5/S32G/About-adding-CAN2CAN-routing-route/m-p/1821396#M6153</link>
    <description>&lt;P&gt;Please tell me about adding a CAN2CAN routing route.&lt;/P&gt;&lt;P&gt;LLCE also uses "Can_Llce_DS_Can2Can_S32G399A_M7" included in the module to confirm operation.&lt;/P&gt;&lt;P&gt;The operation confirmed environment is as follows.&lt;BR /&gt;S32DS:Ver3.5 Build ID: 240130 (Update 10)&lt;BR /&gt;Debug Probe:S32 Debug Probe&lt;BR /&gt;LLCE:S32G_LLCE_1_0_5_QLP1&lt;BR /&gt;PFE:PFE-DRV_S32G_M7_MCAL_RTM_1.0.0_QLP1&lt;BR /&gt;Compiler:GCC v9.2&lt;BR /&gt;tresosStudio:Ver28.2&lt;BR /&gt;Board used: S32G-VNP-RDB3&lt;/P&gt;&lt;P&gt;I wanted to route a new CANID and route, so I added HWobject and CanAdvancedFeature to CAN0.&lt;BR /&gt;For HWobject, I reused the CAN_Mb_Type used in CAN2CAN routing from receive and confirmed it by changing HWFiter and Can Advanced Feature.&lt;BR /&gt;The configuration was done with S32DS.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Conventional routing from BCAN0 to BCAN15 was successful.&lt;BR /&gt;However, the routing from BCAN0 to BCAN1 could not be confirmed.&lt;/P&gt;&lt;P&gt;Originally, BCAN1 only had HW objects for transmission, but&lt;BR /&gt;Are there any settings other than HWobject and CanAdvancedFeature that are required for BCAN1 routing?&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2024 09:24:36 GMT</pubDate>
    <dc:creator>kazuki</dc:creator>
    <dc:date>2024-03-05T09:24:36Z</dc:date>
    <item>
      <title>About adding CAN2CAN routing route</title>
      <link>https://community.nxp.com/t5/S32G/About-adding-CAN2CAN-routing-route/m-p/1821396#M6153</link>
      <description>&lt;P&gt;Please tell me about adding a CAN2CAN routing route.&lt;/P&gt;&lt;P&gt;LLCE also uses "Can_Llce_DS_Can2Can_S32G399A_M7" included in the module to confirm operation.&lt;/P&gt;&lt;P&gt;The operation confirmed environment is as follows.&lt;BR /&gt;S32DS:Ver3.5 Build ID: 240130 (Update 10)&lt;BR /&gt;Debug Probe:S32 Debug Probe&lt;BR /&gt;LLCE:S32G_LLCE_1_0_5_QLP1&lt;BR /&gt;PFE:PFE-DRV_S32G_M7_MCAL_RTM_1.0.0_QLP1&lt;BR /&gt;Compiler:GCC v9.2&lt;BR /&gt;tresosStudio:Ver28.2&lt;BR /&gt;Board used: S32G-VNP-RDB3&lt;/P&gt;&lt;P&gt;I wanted to route a new CANID and route, so I added HWobject and CanAdvancedFeature to CAN0.&lt;BR /&gt;For HWobject, I reused the CAN_Mb_Type used in CAN2CAN routing from receive and confirmed it by changing HWFiter and Can Advanced Feature.&lt;BR /&gt;The configuration was done with S32DS.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Conventional routing from BCAN0 to BCAN15 was successful.&lt;BR /&gt;However, the routing from BCAN0 to BCAN1 could not be confirmed.&lt;/P&gt;&lt;P&gt;Originally, BCAN1 only had HW objects for transmission, but&lt;BR /&gt;Are there any settings other than HWobject and CanAdvancedFeature that are required for BCAN1 routing?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 09:24:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/About-adding-CAN2CAN-routing-route/m-p/1821396#M6153</guid>
      <dc:creator>kazuki</dc:creator>
      <dc:date>2024-03-05T09:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: About adding CAN2CAN routing route</title>
      <link>https://community.nxp.com/t5/S32G/About-adding-CAN2CAN-routing-route/m-p/1821721#M6156</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Can you help us share the modifications done to the base example? For us to verify the overall configuration.&lt;/P&gt;
&lt;P&gt;Also, we understand that you are using the same interfaces as the example, is this correct? In which BCAN_1 starts communication and sends information to BCAN_0. Since you are configuring an internal routing from BCAN_0 again to BCAN_1 this might cause undefined behavior due to the infinite loop of messages being sent/received.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you able to change the initial interface to another BCAN (not used by the example, i.e. BCAN_2)?&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 16:12:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/About-adding-CAN2CAN-routing-route/m-p/1821721#M6156</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2024-03-05T16:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: About adding CAN2CAN routing route</title>
      <link>https://community.nxp.com/t5/S32G/About-adding-CAN2CAN-routing-route/m-p/1821969#M6162</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;thank you for your reply.&lt;/P&gt;&lt;P&gt;The changes made to the basic sample are as follows.&lt;/P&gt;&lt;P&gt;New addition to CanHadWareObject in Can_43_LLCE module,&lt;BR /&gt;Additional content&lt;/P&gt;&lt;P&gt;Name　CanHardwareObject_11&lt;BR /&gt;CanHandleType BASIC&lt;BR /&gt;CanIdType STANDARD&lt;BR /&gt;CanObjectId 9&lt;BR /&gt;CanObjectType RECEIVE&lt;BR /&gt;CanTxAddFrameMac false&lt;BR /&gt;CanHardwareObjectUsesPolling false&lt;BR /&gt;CanControllerRef /Can_43_LLCE_1/Can/CanConfigSet/CanController_1&lt;BR /&gt;CanHwObjectCount 20&lt;BR /&gt;CanObjectPayloadLength CAN_OBJECT_PL_64&lt;BR /&gt;Name CanHwFilter&lt;BR /&gt;CanHwFilterCode 273&lt;BR /&gt;CanHwFilterMask 2047&lt;BR /&gt;CanAdvancedFeature&lt;BR /&gt;CanAdvancedFeatureRef" value="/Llce_Af_1/Llce_Af/LlceAfGeneral/CanAdvancedFeature_4&lt;/P&gt;&lt;P&gt;New addition to LlceAfGneral in Llce_Af module,&lt;/P&gt;&lt;P&gt;Name　CanAdvancedFeature_4&lt;BR /&gt;LoggingFeatureEnable false&lt;BR /&gt;HostReceiveEnable false&lt;BR /&gt;AuthenticationFrameEnable false&lt;BR /&gt;CustomProcessingEnable false&lt;BR /&gt;CustomProcessingIndex 0&lt;BR /&gt;array name Can2CanRoutingEnable&lt;BR /&gt;Name Can2CanRoutingEnable&lt;BR /&gt;name Can2CanRoutingTableRef value="/Llce_Af_1/Llce_Af/LlceAfGeneral/Can2CanRoutingTable_4"/&lt;/P&gt;&lt;P&gt;Name Can2CanRoutingTable_4&lt;BR /&gt;CanFd2Can false&lt;BR /&gt;Can2CanFd false&lt;BR /&gt;Name CanDestinationList_0&lt;BR /&gt;name Can2CanControllerRef value /Can_43_LLCE_1/Can/CanConfigSet/CanController_1&lt;BR /&gt;After adding this setting, the routing from BCAN0 to BCAN1 could not be confirmed.&lt;/P&gt;&lt;P&gt;I tried setting it to BCAN2 and checking it.&lt;BR /&gt;Copy the settings of CanController_15 (BCAN15) of CanController and set BCAN2,&lt;BR /&gt;I set CanAdvancedFeature_4.&lt;/P&gt;&lt;P&gt;The initials in main include Can_43_LLCE_SetBaudrate, Can_43_LLCE_SetControllerMode, and Can_43_LLCE_GetControllerErrorState.&lt;BR /&gt;Even when I tried to start BCAN2 using this, I could not confirm the routing.&lt;/P&gt;&lt;P&gt;I would also appreciate if you could let me know how an infinite loop of sent and received messages can cause undefined behavior.&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 02:03:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/About-adding-CAN2CAN-routing-route/m-p/1821969#M6162</guid>
      <dc:creator>kazuki</dc:creator>
      <dc:date>2024-03-06T02:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: About adding CAN2CAN routing route</title>
      <link>https://community.nxp.com/t5/S32G/About-adding-CAN2CAN-routing-route/m-p/1822412#M6169</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;thank you for your reply.&lt;/P&gt;&lt;P&gt;The changes made to the basic sample are as follows.&lt;/P&gt;&lt;P&gt;New addition to CanHadWareObject in Can_43_LLCE module,&lt;BR /&gt;Additional content&lt;/P&gt;&lt;P&gt;Name　CanHardwareObject_11&lt;BR /&gt;CanHandleType BASIC&lt;BR /&gt;CanIdType STANDARD&lt;BR /&gt;CanObjectId 9&lt;BR /&gt;CanObjectType RECEIVE&lt;BR /&gt;CanTxAddFrameMac false&lt;BR /&gt;CanHardwareObjectUsesPolling false&lt;BR /&gt;CanControllerRef /Can_43_LLCE_1/Can/CanConfigSet/CanController_1&lt;BR /&gt;CanHwObjectCount 20&lt;BR /&gt;CanObjectPayloadLength CAN_OBJECT_PL_64&lt;BR /&gt;Name CanHwFilter&lt;BR /&gt;CanHwFilterCode 273&lt;BR /&gt;CanHwFilterMask 2047&lt;BR /&gt;CanAdvancedFeature&lt;BR /&gt;CanAdvancedFeatureRef" value="/Llce_Af_1/Llce_Af/LlceAfGeneral/CanAdvancedFeature_4&lt;/P&gt;&lt;P&gt;New addition to LlceAfGneral in Llce_Af module,&lt;/P&gt;&lt;P&gt;Name　CanAdvancedFeature_4&lt;BR /&gt;LoggingFeatureEnable false&lt;BR /&gt;HostReceiveEnable false&lt;BR /&gt;AuthenticationFrameEnable false&lt;BR /&gt;CustomProcessingEnable false&lt;BR /&gt;CustomProcessingIndex 0&lt;BR /&gt;array name Can2CanRoutingEnable&lt;BR /&gt;Name Can2CanRoutingEnable&lt;BR /&gt;name Can2CanRoutingTableRef value="/Llce_Af_1/Llce_Af/LlceAfGeneral/Can2CanRoutingTable_4"/&lt;/P&gt;&lt;P&gt;Name Can2CanRoutingTable_4&lt;BR /&gt;CanFd2Can false&lt;BR /&gt;Can2CanFd false&lt;BR /&gt;Name CanDestinationList_0&lt;BR /&gt;name Can2CanControllerRef value /Can_43_LLCE_1/Can/CanConfigSet/CanController_1&lt;BR /&gt;After adding this setting, the routing from BCAN0 to BCAN1 could not be confirmed.&lt;/P&gt;&lt;P&gt;I tried setting it to BCAN2 and checking it.&lt;BR /&gt;Copy the settings of CanController_15 (BCAN15) of CanController and set BCAN2,&lt;BR /&gt;I set CanAdvancedFeature_4.&lt;/P&gt;&lt;P&gt;The initials in main include Can_43_LLCE_SetBaudrate, Can_43_LLCE_SetControllerMode, and Can_43_LLCE_GetControllerErrorState.&lt;BR /&gt;Even when I tried to start BCAN2 using this, I could not confirm the routing.&lt;/P&gt;&lt;P&gt;I would also appreciate if you could let me know how an infinite loop of sent and received messages can cause undefined behavior.&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 10:48:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/About-adding-CAN2CAN-routing-route/m-p/1822412#M6169</guid>
      <dc:creator>kazuki</dc:creator>
      <dc:date>2024-03-06T10:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: About adding CAN2CAN routing route</title>
      <link>https://community.nxp.com/t5/S32G/About-adding-CAN2CAN-routing-route/m-p/1822669#M6176</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback. We seem to be misunderstanding the configurations you are implementing, since CAN Object ID 9 is already being used under the example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_0-1709749460386.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/266838i25D415E4D5A98569/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_0-1709749460386.png" alt="DanielAguirre_0-1709749460386.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Did you modify this option or did you modify several configurations? We can recommend opening a ticket under the NXP online services if you are unable to share your project under the public community, since it might be better for the team to look directly into all the configurations of your project.&lt;/P&gt;
&lt;P&gt;We do apologize.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 18:26:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/About-adding-CAN2CAN-routing-route/m-p/1822669#M6176</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2024-03-06T18:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: About adding CAN2CAN routing route</title>
      <link>https://community.nxp.com/t5/S32G/About-adding-CAN2CAN-routing-route/m-p/1822824#M6177</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;I would like to share my project.&lt;/P&gt;&lt;P&gt;This project adds BCAN2 to send CAN ID 0x111 externally.&lt;BR /&gt;It is assumed that BCAN0 is routed to BCAN2.&lt;/P&gt;&lt;P&gt;All CAN object IDs are also set to unique ones.&lt;/P&gt;&lt;P&gt;Board used: S32G-VNP-RDB3.&lt;/P&gt;&lt;P&gt;I hope I know the cause.&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 01:41:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/About-adding-CAN2CAN-routing-route/m-p/1822824#M6177</guid>
      <dc:creator>kazuki</dc:creator>
      <dc:date>2024-03-07T01:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: About adding CAN2CAN routing route</title>
      <link>https://community.nxp.com/t5/S32G/About-adding-CAN2CAN-routing-route/m-p/1823453#M6190</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We seem to be misunderstanding the overall idea behind the project you are building. We do apologize.&lt;/P&gt;
&lt;P&gt;We see the following infinite loop being created:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_0-1709822622477.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/267058i957D068BE7B950D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_0-1709822622477.png" alt="DanielAguirre_0-1709822622477.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But nothing is being done. We understand that all controllers are being initialized and nothing else.&lt;/P&gt;
&lt;P&gt;Also, under the HardwareObjects, we see that no reference to BCAN_2 was created, can you help us verify this?&lt;/P&gt;
&lt;P&gt;Can you help us verify that the example works as expected from your side (no modifications) then start modifying from there? We recommend first start moving the BCAN's to a different channel to understand that your configurations on regards of routing is correct, not adding new routing rules.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 14:50:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/About-adding-CAN2CAN-routing-route/m-p/1823453#M6190</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2024-03-07T14:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: About adding CAN2CAN routing route</title>
      <link>https://community.nxp.com/t5/S32G/About-adding-CAN2CAN-routing-route/m-p/1823938#M6193</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;Restart CAN2CAN sample project&lt;BR /&gt;I reconfigured the settings so that the CAN frames received on BCAN0 are routed to BCAN2.&lt;/P&gt;&lt;P&gt;Still, it didn't work, so I tried investigating the cause.&lt;BR /&gt;When I checked the circuit diagram of the S32G-VNP-RDB3 board, 3.3V was supplied to TXD, EN, and STB for the BCAN0 transceiver.&lt;BR /&gt;In BCAN1, 3.3V was not supplied to TXD, EN, and STB for the transceiver.&lt;/P&gt;&lt;P&gt;Therefore, we assume that routing is not possible in combination with BCAN where 3.3V is not supplied.&lt;/P&gt;&lt;P&gt;I'm not sure if this is the right place to address the question, but&lt;BR /&gt;What should I do to supply power to BCAN1, BCAN3, BCAN5, BCAN7, BCAN9, BCAN11, BCAN13, BCAN15?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 08:04:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/About-adding-CAN2CAN-routing-route/m-p/1823938#M6193</guid>
      <dc:creator>kazuki</dc:creator>
      <dc:date>2024-03-08T08:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: About adding CAN2CAN routing route</title>
      <link>https://community.nxp.com/t5/S32G/About-adding-CAN2CAN-routing-route/m-p/1824175#M6197</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Since the base example uses BCAN_1 as the first node, all voltages should be applied correctly given that we are seeing the example running no problem from our side, can you confirm that the voltages are applied correctly under the base example (no modifications)?&lt;/P&gt;
&lt;P&gt;As a note, CAN Bus requires a minimum of 2 nodes to work correctly, if you are routing a message to a floating node (i.e. is the only node on the specific CAN bus), then an error is transmitted on the bus and goes to standby. For what you are telling, we understand that BCAN_2 is left floating, which is incorrect.&lt;/P&gt;
&lt;P&gt;Can you help us elaborate more on how you probed the signals you are saying?&lt;/P&gt;
&lt;P&gt;For the following part of the schematic of RDB3 (which you previously said you are using), we see the following:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_0-1709902863249.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/267280i96F368835D2470FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_0-1709902863249.png" alt="DanielAguirre_0-1709902863249.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Where BCAN_0 and BCAN_1 share the control signals (EN and STB), for which if BCAN_0 is being enabled, BCAN_1 is also enabled. Are you using an NXP reference board? Or is this a custom board?&lt;/P&gt;
&lt;P&gt;As for the available BCAN's, all BCAN's are being supplied with the necessary voltages, as seen under the RDB3 schematic, unless it was modified or it is a custom board.&lt;/P&gt;
&lt;P&gt;Another situation is that if the signals are not configured correctly, the voltages are not applied correctly. Could be another possibility. But given the example configures all pins, this should not be the problem.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 13:11:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/About-adding-CAN2CAN-routing-route/m-p/1824175#M6197</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2024-03-08T13:11:28Z</dc:date>
    </item>
  </channel>
</rss>

