<?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 imx6 CAN wake up Linux on a specific Frame ID in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6-CAN-wake-up-Linux-on-a-specific-Frame-ID/m-p/1268869#M173281</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I put Linux into sleep and then wake it up by sending a CAN Frame to it.&lt;/P&gt;&lt;P&gt;I want to know if it's possible to wake Linux up only on some specific IDs? I want to use Rx filters, so that upon a match to these filters, I wake up Linux, NOT on receiving any Frames.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question1:&lt;/STRONG&gt; Is it supported by flexcan hardware in imx6? if yes, what about in driver?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question2:&lt;/STRONG&gt; I found a WAK_SRC bit in MCR register. is it helpful?&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;This bit defines whether the integrated low-pass filter is applied to protect the FLEXCAN_RX input from &lt;/FONT&gt;&lt;FONT size="2"&gt;spurious wake up. See Stop Mode for more information. This bit can only be written in Freeze mode as it &lt;/FONT&gt;&lt;FONT size="2"&gt;is blocked by hardware in other modes.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;nbsp;&amp;nbsp; 1 FLEXCAN uses the filtered FLEXCAN_RX input to detect recessive to dominant edges on the CAN &lt;/FONT&gt;&lt;FONT size="2"&gt;bus&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;nbsp;&amp;nbsp; 0 FLEXCAN uses the unfiltered FLEXCAN_RX input to detect recessive to dominant edges on the CAN &lt;/FONT&gt;&lt;FONT size="2"&gt;bus.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;Thanks in advance&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Apr 2021 12:14:34 GMT</pubDate>
    <dc:creator>akbar123</dc:creator>
    <dc:date>2021-04-27T12:14:34Z</dc:date>
    <item>
      <title>imx6 CAN wake up Linux on a specific Frame ID</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-CAN-wake-up-Linux-on-a-specific-Frame-ID/m-p/1268869#M173281</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I put Linux into sleep and then wake it up by sending a CAN Frame to it.&lt;/P&gt;&lt;P&gt;I want to know if it's possible to wake Linux up only on some specific IDs? I want to use Rx filters, so that upon a match to these filters, I wake up Linux, NOT on receiving any Frames.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question1:&lt;/STRONG&gt; Is it supported by flexcan hardware in imx6? if yes, what about in driver?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question2:&lt;/STRONG&gt; I found a WAK_SRC bit in MCR register. is it helpful?&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;This bit defines whether the integrated low-pass filter is applied to protect the FLEXCAN_RX input from &lt;/FONT&gt;&lt;FONT size="2"&gt;spurious wake up. See Stop Mode for more information. This bit can only be written in Freeze mode as it &lt;/FONT&gt;&lt;FONT size="2"&gt;is blocked by hardware in other modes.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;nbsp;&amp;nbsp; 1 FLEXCAN uses the filtered FLEXCAN_RX input to detect recessive to dominant edges on the CAN &lt;/FONT&gt;&lt;FONT size="2"&gt;bus&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;nbsp;&amp;nbsp; 0 FLEXCAN uses the unfiltered FLEXCAN_RX input to detect recessive to dominant edges on the CAN &lt;/FONT&gt;&lt;FONT size="2"&gt;bus.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;Thanks in advance&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 12:14:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-CAN-wake-up-Linux-on-a-specific-Frame-ID/m-p/1268869#M173281</guid>
      <dc:creator>akbar123</dc:creator>
      <dc:date>2021-04-27T12:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 CAN wake up Linux on a specific Frame ID</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-CAN-wake-up-Linux-on-a-specific-Frame-ID/m-p/1269187#M173311</link>
      <description>&lt;P&gt;Hi Asghar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for Q1 "CAN wake up Linux on a specific Frame ID" - seems it is not supported by hardware&lt;/P&gt;
&lt;P&gt;as described in sect.26.6.10.3 Stop Mode&amp;nbsp; &lt;A id="relatedDocsClick_2" href="https://www.nxp.com/webapp/Download?colCode=IMX6DQRM" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;i.MX 6Dual/6Quad Applications Processor Reference Manual&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;"FlexCAN will then wait for 11 consecutive recessive bits to synchronize to the&lt;BR /&gt;CAN bus. As a consequence, it will not receive the frame that woke it up ."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 00:07:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-CAN-wake-up-Linux-on-a-specific-Frame-ID/m-p/1269187#M173311</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-04-28T00:07:03Z</dc:date>
    </item>
  </channel>
</rss>

