<?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: MQX4.2: FlexCan, Bug in fsl_flexcan_hal.c when set MCR.MAXMB? in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX4-2-FlexCan-Bug-in-fsl-flexcan-hal-c-when-set-MCR-MAXMB/m-p/467245#M15553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arnaud,&lt;/P&gt;&lt;P&gt;I agree with your analysis and will submit this as an issue for MQX4.2.&lt;/P&gt;&lt;P&gt;Clearing and then setting the MAXMB field seems appropriate.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jan 2016 22:53:17 GMT</pubDate>
    <dc:creator>DavidS</dc:creator>
    <dc:date>2016-01-05T22:53:17Z</dc:date>
    <item>
      <title>MQX4.2: FlexCan, Bug in fsl_flexcan_hal.c when set MCR.MAXMB?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX4-2-FlexCan-Bug-in-fsl-flexcan-hal-c-when-set-MCR-MAXMB/m-p/467244#M15552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently in fsl_flexcan_hal.c, flexcan_hal_init MAXMB field is set by:&lt;/P&gt;&lt;PRE class="jive-pre"&gt;// Set maximum number of message buffers 
flexcan_reg_ptr-&amp;gt;MCR |= CAN_MCR_MAXMB((data-&amp;gt;max_num_mb -1)); &lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But initial value is not 0!! but 0x0F..&lt;BR /&gt;Then MCR must be clear before&lt;/P&gt;&lt;P&gt;Do following, are you ok with this problem or are tehy a thing that I not seen!?:smileysilly:&lt;/P&gt;&lt;PRE class="jive-pre"&gt;// Set maximum number of message buffers 
flexcan_reg_ptr-&amp;gt;MCR &amp;amp;= ~CAN_MCR_MAXMB_MASK; 
flexcan_reg_ptr-&amp;gt;MCR |= CAN_MCR_MAXMB((data-&amp;gt;max_num_mb -1)); &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 09:16:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX4-2-FlexCan-Bug-in-fsl-flexcan-hal-c-when-set-MCR-MAXMB/m-p/467244#M15552</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2016-01-05T09:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: MQX4.2: FlexCan, Bug in fsl_flexcan_hal.c when set MCR.MAXMB?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX4-2-FlexCan-Bug-in-fsl-flexcan-hal-c-when-set-MCR-MAXMB/m-p/467245#M15553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arnaud,&lt;/P&gt;&lt;P&gt;I agree with your analysis and will submit this as an issue for MQX4.2.&lt;/P&gt;&lt;P&gt;Clearing and then setting the MAXMB field seems appropriate.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 22:53:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX4-2-FlexCan-Bug-in-fsl-flexcan-hal-c-when-set-MCR-MAXMB/m-p/467245#M15553</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2016-01-05T22:53:17Z</dc:date>
    </item>
  </channel>
</rss>

