<?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: Error when sending CAN message on MPC5746R in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Error-when-sending-CAN-message-on-MPC5746R/m-p/1487461#M21510</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;*flexcan_mb |= flexcan_mb_config is updating MB CS word, from addresses it should be MB26 on CAN2.&lt;BR /&gt;It should work, check if module is clocked (in MC_ME module) and enabled (MDIS bit).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jul 2022 12:07:25 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2022-07-11T12:07:25Z</dc:date>
    <item>
      <title>Error when sending CAN message on MPC5746R</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Error-when-sending-CAN-message-on-MPC5746R/m-p/1486944#M21500</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When I call 'CAN_Send(&amp;amp;canMon_instance, TX_MB_PHY, &amp;amp;TxMsg)' by FlexCAN2 to send message,&amp;nbsp; a error happened.&amp;nbsp; The code was executed on Core0 of MPC5746R.&lt;/P&gt;&lt;P&gt;I traced the code, I found that this error appeared when executed '*flexcan_mb |= flexcan_mb_config;'.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fedotech_0-1657297580923.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186102i3458C5A225DAEC50/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fedotech_0-1657297580923.png" alt="fedotech_0-1657297580923.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The error was as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fedotech_1-1657297622237.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186103i7459BF62AF700B16/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fedotech_1-1657297622237.png" alt="fedotech_1-1657297622237.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could anyone help me to fix this strange issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 16:38:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Error-when-sending-CAN-message-on-MPC5746R/m-p/1486944#M21500</guid>
      <dc:creator>fedotech</dc:creator>
      <dc:date>2022-07-08T16:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error when sending CAN message on MPC5746R</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Error-when-sending-CAN-message-on-MPC5746R/m-p/1487461#M21510</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;*flexcan_mb |= flexcan_mb_config is updating MB CS word, from addresses it should be MB26 on CAN2.&lt;BR /&gt;It should work, check if module is clocked (in MC_ME module) and enabled (MDIS bit).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 12:07:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Error-when-sending-CAN-message-on-MPC5746R/m-p/1487461#M21510</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2022-07-11T12:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error when sending CAN message on MPC5746R</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Error-when-sending-CAN-message-on-MPC5746R/m-p/1488895#M21521</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;After call&amp;nbsp;CAN_Init(), MDIS bit enabled the FlexCAN module, and clock sets in PCTL81 are as following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fedotech_2-1657726410864.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186492i968B198B93F92A84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fedotech_2-1657726410864.png" alt="fedotech_2-1657726410864.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fedotech_3-1657726445873.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186493i3CE1C3B58ED1FCF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fedotech_3-1657726445873.png" alt="fedotech_3-1657726445873.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But, after error happened, the PCTL81 changed to all zero as following.&amp;nbsp;☹&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fedotech_4-1657726522424.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186494i8E7BBB40A2D70CFF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fedotech_4-1657726522424.png" alt="fedotech_4-1657726522424.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The clock is set as following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fedotech_5-1657726967859.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186497i8E289068194B4B19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fedotech_5-1657726967859.png" alt="fedotech_5-1657726967859.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fedotech_6-1657727002036.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/186498iF3359F9EAF5100A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fedotech_6-1657727002036.png" alt="fedotech_6-1657727002036.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is it the clock setting problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 15:46:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Error-when-sending-CAN-message-on-MPC5746R/m-p/1488895#M21521</guid>
      <dc:creator>fedotech</dc:creator>
      <dc:date>2022-07-13T15:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error when sending CAN message on MPC5746R</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Error-when-sending-CAN-message-on-MPC5746R/m-p/1491660#M21558</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;seems clock setting is right. Could this be due to ECC enabled on FlexCAN? If enabled (by default) is all required memory area initialized as mentioned in RM chapter&amp;nbsp;47.5.13 Detection and Correction of Memory Errors?&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 09:21:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Error-when-sending-CAN-message-on-MPC5746R/m-p/1491660#M21558</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2022-07-19T09:21:09Z</dc:date>
    </item>
  </channel>
</rss>

