<?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: RT1061 CANFD cannot use IPG clock</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1061-CANFD-cannot-use-IPG-clock/m-p/1401339#M18036</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/107993"&gt;@1318614689&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;This is the rev3 07/2021&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1642566606955.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/168094i6FFEE1BB90412E78/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1642566606955.png" alt="kerryzhou_0-1642566606955.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I just download it from the nxp.com, bit 13 still reserved.&lt;/P&gt;
&lt;P&gt;Do you download your RM from this link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=IMXRT1060RM" target="_blank" rel="noopener nofollow noreferrer"&gt;https://www.nxp.com/webapp/Download?colCode=IMXRT1060RM&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jan 2022 04:31:21 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2022-01-19T04:31:21Z</dc:date>
    <item>
      <title>RT1061 CANFD cannot use IPG clock</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1061-CANFD-cannot-use-IPG-clock/m-p/1399703#M18006</link>
      <description>&lt;P&gt;I want to specify the protocol clock of CAN3 as the IPG clock of 150M. I use the mcuxpresso config tool to generate the code and confirm that CAN_CTRL1[CLKSRC] is 1, but CAN3 still uses the clock on CAN_CLK_ROOT. why is that? How can I switch to IPG clock?&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jan 2022 06:17:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1061-CANFD-cannot-use-IPG-clock/m-p/1399703#M18006</guid>
      <dc:creator>1318614689</dc:creator>
      <dc:date>2022-01-15T06:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: RT1061 CANFD cannot use IPG clock</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1061-CANFD-cannot-use-IPG-clock/m-p/1400872#M18023</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/107993"&gt;@1318614689&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Which detail code you are using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Please check the RT1060 RM, you can find the CAN3&amp;nbsp;&lt;SPAN&gt;CTRL1 is no&amp;nbsp;CLKSRC.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1642500088387.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/167965i5E70D96E4025E598/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1642500088387.png" alt="kerryzhou_0-1642500088387.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please double check, whether your used bit is correct?&lt;/P&gt;
&lt;P&gt;About the clock source, you can check this picture:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1642558975641.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/168048iBAC69BE80DE7954B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1642558975641.png" alt="kerryzhou_0-1642558975641.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Use the CCM_CSCMR2[CAN_CLK_SEL] to select source.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_1-1642559022248.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/168049i42C6B175B8E91F91/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_1-1642559022248.png" alt="kerryzhou_1-1642559022248.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_2-1642559043503.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/168050i2A8FCCDC78061967/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_2-1642559043503.png" alt="kerryzhou_2-1642559043503.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 02:24:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1061-CANFD-cannot-use-IPG-clock/m-p/1400872#M18023</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-01-19T02:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: RT1061 CANFD cannot use IPG clock</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1061-CANFD-cannot-use-IPG-clock/m-p/1401252#M18032</link>
      <description>&lt;P&gt;I use these codes to initialize CAN3：&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;const flexcan_config_t CAN3_config = {&lt;BR /&gt;.clksrc=kFLEXCAN_ClkSrc0,&lt;BR /&gt;.wakeupsrc=kFLEXCAN_WakeupSrcFiltered,&lt;BR /&gt;.bitRate = 1000000UL,&lt;BR /&gt;.bitRateFD = 7500000UL,&lt;BR /&gt;.maxMbNum = 12U,&lt;BR /&gt;.enableLoopBack = false,&lt;BR /&gt;.enableTimerSync = true,&lt;BR /&gt;.enableSelfWakeup = false,&lt;BR /&gt;.enableIndividMask = false,&lt;BR /&gt;.disableSelfReception = false,&lt;BR /&gt;.enableListenOnlyMode = false,&lt;BR /&gt;.enableDoze = false,&lt;BR /&gt;.timingConfig = {&lt;BR /&gt;.preDivider = 5,&lt;BR /&gt;.propSeg = 1,&lt;BR /&gt;.phaseSeg1 = 1,&lt;BR /&gt;.phaseSeg2 = 4,&lt;BR /&gt;.rJumpwidth = 2,&lt;BR /&gt;.fpreDivider = 0,&lt;BR /&gt;.fpropSeg = 1,&lt;BR /&gt;.fphaseSeg1 = 2,&lt;BR /&gt;.fphaseSeg2 = 2,&lt;BR /&gt;.frJumpwidth = 2&lt;BR /&gt;}&lt;BR /&gt;};&lt;BR /&gt;/* Message buffer 0 configuration structure */&lt;BR /&gt;const flexcan_rx_mb_config_t CAN3_rx_mb_config_0 = {&lt;BR /&gt;.id = FLEXCAN_ID_EXT(134250504UL),&lt;BR /&gt;.format = kFLEXCAN_FrameFormatExtend,&lt;BR /&gt;.type = kFLEXCAN_FrameTypeData&lt;BR /&gt;};&lt;BR /&gt;flexcan_handle_t CAN3_handle;&lt;/P&gt;&lt;P&gt;static void CAN3_init(void) {&lt;/P&gt;&lt;P&gt;FLEXCAN_FDInit(CAN3_PERIPHERAL, &amp;amp;CAN3_config, CAN3_CLOCK_SOURCE, kFLEXCAN_64BperMB, true);&lt;BR /&gt;/* Message buffer 0 initialization */&lt;BR /&gt;FLEXCAN_SetRxMbConfig(CAN3_PERIPHERAL, 0, &amp;amp;CAN3_rx_mb_config_0, true);&lt;BR /&gt;/* Message buffer 1 initialization */&lt;BR /&gt;FLEXCAN_SetTxMbConfig(CAN3_PERIPHERAL, 1, true);&lt;BR /&gt;FLEXCAN_TransferCreateHandle(CAN3_PERIPHERAL, &amp;amp;CAN3_handle, NULL, NULL);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="捕获2.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/168040i01CCD9BB145F7AB2/image-size/large?v=v2&amp;amp;px=999" role="button" title="捕获2.PNG" alt="捕获2.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="捕获3.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/168042iE025181B3A11574F/image-size/large?v=v2&amp;amp;px=999" role="button" title="捕获3.PNG" alt="捕获3.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="捕获4.PNG" style="width: 283px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/168041iD2410E837723017F/image-size/large?v=v2&amp;amp;px=999" role="button" title="捕获4.PNG" alt="捕获4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If clksrc is kFLEXCAN_ClkSrc1, then CTRL1[CLKSRC] will be 1.&lt;/P&gt;&lt;P&gt;If I set clksrc to kFLEXCAN_ClkSrc1, change CAN3_CLOCK_SOURCE from 60M to 150M, but do not modify the timingConfig, the baud rate observed on the oscilloscope will become 2/5 of the original, which is exactly 60/150. FLEXCAN_FDInit will modify the value of the prescaler according to timingConfig, so I think CAN3 does not successfully switch to the IPG clock source, and FLEXCAN_FDInit sets the prescaler according to the predetermined 150M, which causes the baud rate to drop.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 02:45:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1061-CANFD-cannot-use-IPG-clock/m-p/1401252#M18032</guid>
      <dc:creator>1318614689</dc:creator>
      <dc:date>2022-01-19T02:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: RT1061 CANFD cannot use IPG clock</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1061-CANFD-cannot-use-IPG-clock/m-p/1401264#M18033</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/107993"&gt;@1318614689&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Please tell me which detail RT1060 RM version you are using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;A href="https://www.nxp.com/webapp/Download?colCode=IMXRT1060RM" target="_blank" rel="noopener"&gt;https://www.nxp.com/webapp/Download?colCode=IMXRT1060RM&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;My RM version is the newest one rev 3, 01/2021.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; So, the clock source should be selected by CSCMR2[CAN_CLK_SEL].&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Please let me know your RM version which CTRL1 bit13 is CLKSRC?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Seems some bug exists.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 03:11:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1061-CANFD-cannot-use-IPG-clock/m-p/1401264#M18033</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-01-19T03:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: RT1061 CANFD cannot use IPG clock</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1061-CANFD-cannot-use-IPG-clock/m-p/1401337#M18035</link>
      <description>&lt;P&gt;The documentation I am using is Rev. 3, 07/2021。The documentation mentions that the register section of CANFD has been updated.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 04:23:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1061-CANFD-cannot-use-IPG-clock/m-p/1401337#M18035</guid>
      <dc:creator>1318614689</dc:creator>
      <dc:date>2022-01-19T04:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: RT1061 CANFD cannot use IPG clock</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1061-CANFD-cannot-use-IPG-clock/m-p/1401339#M18036</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/107993"&gt;@1318614689&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;This is the rev3 07/2021&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1642566606955.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/168094i6FFEE1BB90412E78/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1642566606955.png" alt="kerryzhou_0-1642566606955.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I just download it from the nxp.com, bit 13 still reserved.&lt;/P&gt;
&lt;P&gt;Do you download your RM from this link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=IMXRT1060RM" target="_blank" rel="noopener nofollow noreferrer"&gt;https://www.nxp.com/webapp/Download?colCode=IMXRT1060RM&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 04:31:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1061-CANFD-cannot-use-IPG-clock/m-p/1401339#M18036</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-01-19T04:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: RT1061 CANFD cannot use IPG clock</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1061-CANFD-cannot-use-IPG-clock/m-p/1401366#M18037</link>
      <description>&lt;P&gt;Sorry, I got the documentation version wrong, the version I'm using is 2, 12/2019。I looked at the new version of the docs and it seems that CANFD's ability to use the IPG clock has been removed.&lt;/P&gt;&lt;P&gt;2, 12/2019:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="捕获2.PNG" style="width: 793px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/168101iD99EA054195AA895/image-size/large?v=v2&amp;amp;px=999" role="button" title="捕获2.PNG" alt="捕获2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2021:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="捕获3.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/168102i8831B5A9ECA86583/image-size/large?v=v2&amp;amp;px=999" role="button" title="捕获3.PNG" alt="捕获3.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Documentation I use" style="width: 853px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/168103i0FFEA497B26E1DB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="捕获4.PNG" alt="Documentation I use" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Documentation I use&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 04:59:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1061-CANFD-cannot-use-IPG-clock/m-p/1401366#M18037</guid>
      <dc:creator>1318614689</dc:creator>
      <dc:date>2022-01-19T04:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: RT1061 CANFD cannot use IPG clock</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1061-CANFD-cannot-use-IPG-clock/m-p/1401371#M18038</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/107993"&gt;@1318614689&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Ok, clear now, that's why I suggest you use&amp;nbsp;&lt;SPAN&gt;CSCMR2[CAN_CLK_SEL] select the clock source.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; Wish it helps you!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kerry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 05:15:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1061-CANFD-cannot-use-IPG-clock/m-p/1401371#M18038</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-01-19T05:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: RT1061 CANFD cannot use IPG clock</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1061-CANFD-cannot-use-IPG-clock/m-p/1401375#M18039</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/107993"&gt;@1318614689&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;&amp;nbsp; This one is the clock source selection:&lt;/P&gt;
&lt;P&gt;#define FLEXCAN_CLOCK_SOURCE_SELECT (0U)&lt;BR /&gt;/* Clock divider for master flexcan clock source */&lt;BR /&gt;#define FLEXCAN_CLOCK_SOURCE_DIVIDER (2U)&lt;/P&gt;
&lt;P&gt;/*Clock setting for FLEXCAN*/&lt;BR /&gt;CLOCK_SetMux(kCLOCK_CanMux, FLEXCAN_CLOCK_SOURCE_SELECT);&lt;BR /&gt;CLOCK_SetDiv(kCLOCK_CanDiv, FLEXCAN_CLOCK_SOURCE_DIVIDER);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 05:30:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1061-CANFD-cannot-use-IPG-clock/m-p/1401375#M18039</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-01-19T05:30:39Z</dc:date>
    </item>
  </channel>
</rss>

