<?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 RT Crossover MCUs中的主题 Re: RT1062 CAN clock shared by controllers?</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1062-CAN-clock-shared-by-controllers/m-p/1154451#M10135</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;1）Can I use different clocks for the different clock controllers, or are they always shared?&lt;BR /&gt;-- No, I'm afraid not, they've shared the same root clock.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeremyzhou_0-1600322635046.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/125370iCDD641ACBE936CAD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeremyzhou_0-1600322635046.png" alt="jeremyzhou_0-1600322635046.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
    <pubDate>Thu, 17 Sep 2020 06:04:09 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2020-09-17T06:04:09Z</dc:date>
    <item>
      <title>RT1062 CAN clock shared by controllers?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1062-CAN-clock-shared-by-controllers/m-p/1154259#M10131</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I working with the RT1062 chip. I am trying to use the CAN controllers for communication. I want to use both the CAN2 at 1Mbit/s and CAN_FD controller (CAN3) at 8Mbit/s. To do this I must use a CAN_CLK of 80Mhz so I choose the following values which selects the pll3 (480Mhz) and divides by 6 and then by 1 to get 480Mhz/6/1=80Mhz:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;#define FLEXCAN_CLOCK_SOURCE_SELECT (2U)
#define FLEXCAN_CLOCK_SOURCE_DIVIDER (0U)

CLOCK_SetMux(kCLOCK_CanMux, FLEXCAN_CLOCK_SOURCE_SELECT);
CLOCK_SetDiv(kCLOCK_CanDiv, FLEXCAN_CLOCK_SOURCE_DIVIDER);​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the CAN_FD controller this works fine, however, when using these clock settings with the CAN2 controller it doesn't work and I get the following errors when connecting via a CAN-USB connector.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jim_verheijde_0-1600268416074.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/125325i862F8E5CD7CA8118/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jim_verheijde_0-1600268416074.png" alt="jim_verheijde_0-1600268416074.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However when using lower clock speeds by dividing by 4 for example to get 480Mhz/6/4=20Mhz:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;#define FLEXCAN_CLOCK_SOURCE_SELECT (2U)
#define FLEXCAN_CLOCK_SOURCE_DIVIDER (3U)

CLOCK_SetMux(kCLOCK_CanMux, FLEXCAN_CLOCK_SOURCE_SELECT);
CLOCK_SetDiv(kCLOCK_CanDiv, FLEXCAN_CLOCK_SOURCE_DIVIDER);​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;CAN2 works again, however CAN_FD can only run at 2Mbit/s.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my questions are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Can I use different clocks for the different clock controllers, or are they always shared?&lt;/LI&gt;&lt;LI&gt;Or alternatively, how can I make the CAN2 controller work with a CAN_CLK of 80Mhz at 1Mbit/s?&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 16 Sep 2020 15:06:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1062-CAN-clock-shared-by-controllers/m-p/1154259#M10131</guid>
      <dc:creator>jim_verheijde</dc:creator>
      <dc:date>2020-09-16T15:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: RT1062 CAN clock shared by controllers?</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1062-CAN-clock-shared-by-controllers/m-p/1154451#M10135</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;1）Can I use different clocks for the different clock controllers, or are they always shared?&lt;BR /&gt;-- No, I'm afraid not, they've shared the same root clock.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeremyzhou_0-1600322635046.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/125370iCDD641ACBE936CAD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeremyzhou_0-1600322635046.png" alt="jeremyzhou_0-1600322635046.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 06:04:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1062-CAN-clock-shared-by-controllers/m-p/1154451#M10135</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2020-09-17T06:04:09Z</dc:date>
    </item>
  </channel>
</rss>

