<?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>i.MX ProcessorsのトピックRe: MQX FlexCAN</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/MQX-FlexCAN/m-p/411084#M61589</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I never really solved the problem. Boundary Devices didn't get back to me to try and help solve the issue, so I switched boards to the Freescale SabreSD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Nov 2015 08:08:32 GMT</pubDate>
    <dc:creator>finncarlsvi</dc:creator>
    <dc:date>2015-11-09T08:08:32Z</dc:date>
    <item>
      <title>MQX FlexCAN</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MQX-FlexCAN/m-p/411080#M61585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to run the MQX FlexCAN example but the program stops after displaying the Node:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********FLEXCAN TEST PROGRAM.*********&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Message format: Standard (11 bit id)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Message buffer 9 used for Rx.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Message buffer 13 used for Tx.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Interrupt Mode: Enabled&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Operation Mode: TX and RX --&amp;gt; Normal&lt;/P&gt;&lt;P&gt;***************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NODE is 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tracked down the issue. The program waits indefinitely at the line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mqx/examples/can/flexcan/fsl_flexcan_test.c&lt;/P&gt;&lt;P&gt;(Line 133) result = flexcan_init(instance, &amp;amp;flexcan1_data, TRUE);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which is calling&lt;/P&gt;&lt;P&gt;mqx/source/io/can/flexcan/fsl_flexcan_driver.c&lt;/P&gt;&lt;P&gt;(Line 363) result = flexcan_hal_init(instance, data);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which in turn is calling&lt;/P&gt;&lt;P&gt;mqx/source/io/can/flexcan/fsl_flexcan_hal.c&lt;/P&gt;&lt;P&gt;(Line 222) while (!(flexcan_reg_ptr-&amp;gt;MCR &amp;amp; CAN_MCR_LPM_ACK_MASK)) {}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have atached the last file (mqx/source/io/can/flexcan/fsl_flexcan_hal.c)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for any help to shed some light on the subject. It's probably a simple fix, but after reading about CAN and FlexCAN, I'm still not understanding what is happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/ Finn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 08:30:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MQX-FlexCAN/m-p/411080#M61585</guid>
      <dc:creator>finncarlsvi</dc:creator>
      <dc:date>2015-10-20T08:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: MQX FlexCAN</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MQX-FlexCAN/m-p/411081#M61586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which device are you using? a Kinetis, Vybrid device?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 20:50:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MQX-FlexCAN/m-p/411081#M61586</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-10-28T20:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: MQX FlexCAN</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MQX-FlexCAN/m-p/411082#M61587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alejandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was using the Nit6_SoloX from Boundary Devices, which uses the 6SoloX SoC. I asked them, too, but got no response, so I am now running the SabreSD without any CAN issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Finn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 17:59:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MQX-FlexCAN/m-p/411082#M61587</guid>
      <dc:creator>finncarlsvi</dc:creator>
      <dc:date>2015-11-05T17:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: MQX FlexCAN</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MQX-FlexCAN/m-p/411083#M61588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That means your problem is solved? If so,it would be great if you share your solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 22:27:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MQX-FlexCAN/m-p/411083#M61588</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-11-05T22:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: MQX FlexCAN</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MQX-FlexCAN/m-p/411084#M61589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I never really solved the problem. Boundary Devices didn't get back to me to try and help solve the issue, so I switched boards to the Freescale SabreSD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 08:08:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MQX-FlexCAN/m-p/411084#M61589</guid>
      <dc:creator>finncarlsvi</dc:creator>
      <dc:date>2015-11-09T08:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: MQX FlexCAN</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MQX-FlexCAN/m-p/411085#M61590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fixed it, apparently the can_clk_sel was set to disable the FlexCAN clock in the CCM_CSCMR2 register (page 776 of the IMX6SX reference manual).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I fixed the issue by activating the clock before initializing can:&lt;/P&gt;&lt;P&gt;*reg &amp;amp;= !(0x3FC)&lt;/P&gt;&lt;P&gt;*reg |= 0x100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: The address to the register is 0x420C4020&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 07:54:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MQX-FlexCAN/m-p/411085#M61590</guid>
      <dc:creator>finncarlsvi</dc:creator>
      <dc:date>2016-01-13T07:54:55Z</dc:date>
    </item>
  </channel>
</rss>

