<?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>Kinetis Microcontrollers中的主题 Re: CAN can't soft reset</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/CAN-can-t-soft-reset/m-p/894705#M52809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;yu-jung Chuang,&lt;/P&gt;&lt;P&gt;I can see you enabled 8MHz external crystal, but configured MCG works in FEI mode.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Cpu.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79389iA5DC68EB6E99CEA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cpu.png" alt="Cpu.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Not sure which clock source will you want to select for FlexCAN module. If OSC0ERCLK is selected, please make sure the 8MHz external crystal is working. You can use an oscilloscope to observe the waveform of XTAL0 or EXTAL0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Clock path CAN_LDD.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79789iB83D71B7A03B9CA1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Clock path CAN_LDD.png" alt="Clock path CAN_LDD.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="FlexCAN clocking.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79896i57EF437902D1BF36/image-size/large?v=v2&amp;amp;px=999" role="button" title="FlexCAN clocking.png" alt="FlexCAN clocking.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Would you please attach your project and schematic, so that we can check it easier.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Apr 2019 02:52:58 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2019-04-16T02:52:58Z</dc:date>
    <item>
      <title>CAN can't soft reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/CAN-can-t-soft-reset/m-p/894704#M52808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #444950; background-color: #f1f0f0; font-size: 14px;"&gt;Hello, This is my first time programming. I've been having some trouble with sending out a CAN message from the MK10FN1M0VLQ12. I used the example code try to send the message to test that can we connect with the device which is I-7565-H1. But it doesn't work. I always stop at this line (as the attachment). I doubt maybe there are my CPU clock has something wrong. But I have no idea how to deal with this problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Apr 2019 07:52:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/CAN-can-t-soft-reset/m-p/894704#M52808</guid>
      <dc:creator>dlysam2716</dc:creator>
      <dc:date>2019-04-13T07:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: CAN can't soft reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/CAN-can-t-soft-reset/m-p/894705#M52809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;yu-jung Chuang,&lt;/P&gt;&lt;P&gt;I can see you enabled 8MHz external crystal, but configured MCG works in FEI mode.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Cpu.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79389iA5DC68EB6E99CEA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cpu.png" alt="Cpu.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Not sure which clock source will you want to select for FlexCAN module. If OSC0ERCLK is selected, please make sure the 8MHz external crystal is working. You can use an oscilloscope to observe the waveform of XTAL0 or EXTAL0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Clock path CAN_LDD.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79789iB83D71B7A03B9CA1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Clock path CAN_LDD.png" alt="Clock path CAN_LDD.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="FlexCAN clocking.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79896i57EF437902D1BF36/image-size/large?v=v2&amp;amp;px=999" role="button" title="FlexCAN clocking.png" alt="FlexCAN clocking.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Would you please attach your project and schematic, so that we can check it easier.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2019 02:52:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/CAN-can-t-soft-reset/m-p/894705#M52809</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2019-04-16T02:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: CAN can't soft reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/CAN-can-t-soft-reset/m-p/894706#M52810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hi! Robin! Thank you for your respond, but I still can't transmit data. I think my code already finish Initial, it loop in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;"while (!DataFrameTxFlg) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}" code. I attach my schematic and code, hope you can give me some advice or other example code&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Apr 2019 05:55:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/CAN-can-t-soft-reset/m-p/894706#M52810</guid>
      <dc:creator>dlysam2716</dc:creator>
      <dc:date>2019-04-21T05:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: CAN can't soft reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/CAN-can-t-soft-reset/m-p/894707#M52811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to the CAN1.c, the CAN0_TX(PTB18 pin97) and CAN0_RX(PTB19 pin98) are initialized.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CAN0 PTB18 PTB19 CAN1c.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80112iD1C4F33CCB86889B/image-size/large?v=v2&amp;amp;px=999" role="button" title="CAN0 PTB18 PTB19 CAN1c.png" alt="CAN0 PTB18 PTB19 CAN1c.png" /&gt;&lt;/span&gt;&lt;BR /&gt;But according to the OSC.png and CAN0.png, the CAN0_TX(PTA12 pin64) and CAN0_RX(PTA13 pin65) are connected to CAN transceiver.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CAN0 64 65.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80113iC7B4483A6E9E13C6/image-size/large?v=v2&amp;amp;px=999" role="button" title="CAN0 64 65.png" alt="CAN0 64 65.png" /&gt;&lt;/span&gt;&lt;BR /&gt;I am afraid you have select the wrong pins in Processor Expert.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="select Rx Tx pins.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80114i1F1E46A46FEBF93B/image-size/large?v=v2&amp;amp;px=999" role="button" title="select Rx Tx pins.png" alt="select Rx Tx pins.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way:&lt;BR /&gt;I am not sure if you really want to use FEI mode.&lt;BR /&gt;Select PEE mode will use external 50MHz reference clock and increase the frequency of Core\Bus.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="PEE 50MHz.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80115i7CFEF24D74466DDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="PEE 50MHz.png" alt="PEE 50MHz.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 08:57:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/CAN-can-t-soft-reset/m-p/894707#M52811</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2019-04-22T08:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: CAN can't soft reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/CAN-can-t-soft-reset/m-p/894708#M52812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! Robin. I already change my PIN on PTA13 and PTA14. But about CPU clock still have problem, I try to adjust many times, then my debug always stop on " while((MCG_S &amp;amp; MCG_S_IREFST_MASK) != 0x00U) { /* Check that the source of the FLL reference clock is the external reference clock. */&lt;BR /&gt; }"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no idea how to deal with it, can you help me to solve this problem? Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2019 09:58:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/CAN-can-t-soft-reset/m-p/894708#M52812</guid>
      <dc:creator>dlysam2716</dc:creator>
      <dc:date>2019-04-22T09:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: CAN can't soft reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/CAN-can-t-soft-reset/m-p/894709#M52813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can not find the MyCANPtr = CAN1_Init(NULL); in your main.&lt;/P&gt;&lt;P&gt;Please try the attached example.&lt;/P&gt;&lt;P&gt;I have test it on TWR-K60F120M board.&lt;/P&gt;&lt;P&gt;Have you try to check the 50MHz external reference clock by using oscilloscope?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2019 08:52:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/CAN-can-t-soft-reset/m-p/894709#M52813</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2019-04-23T08:52:17Z</dc:date>
    </item>
  </channel>
</rss>

