<?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のトピックProblem with K20 FlexCAN and FEI Clock Mode</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-K20-FlexCAN-and-FEI-Clock-Mode/m-p/235428#M5397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to use the FlexCAN module at 500 KBps on a Kinetis MK20DX256ZVLK10.&amp;nbsp; At this time, we do not have an external oscillator connected to the EXTAL/XTAL pins, so I am running the system clock in FEI mode at ~ 20 MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My MQX test application toggles a GPIO pin and repeatedly sends a CAN message once per second.&amp;nbsp; On the K20, I see the GPIO pin toggle (so the app is alive,) but CAN bus spits out only garbage.&amp;nbsp; The same application works fine (both GPIO and CAN) on the TWR-K60N512 dev board.&amp;nbsp; The TWR-K60N512 has an external resonator on the EXTAL/XTAL K60 pins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw the following comment in the "K20 Sub-Family Reference Manual" (document number K20P81M100SF2RM):&lt;/P&gt;&lt;P&gt;p.1136:&amp;nbsp; CANx_CTRL1[CLKSRC] - &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;This bit selects the clock source to the CAN Protocol Engine (PE) to be either the peripheral clock (driven&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;by the PLL) or the crystal oscillator clock.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this mean the _only_ way to use the FlexCAN module is if you have an external oscillator on the K20 EXTAL/XTAL pins?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Mar 2013 20:31:59 GMT</pubDate>
    <dc:creator>tsxer</dc:creator>
    <dc:date>2013-03-21T20:31:59Z</dc:date>
    <item>
      <title>Problem with K20 FlexCAN and FEI Clock Mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-K20-FlexCAN-and-FEI-Clock-Mode/m-p/235428#M5397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to use the FlexCAN module at 500 KBps on a Kinetis MK20DX256ZVLK10.&amp;nbsp; At this time, we do not have an external oscillator connected to the EXTAL/XTAL pins, so I am running the system clock in FEI mode at ~ 20 MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My MQX test application toggles a GPIO pin and repeatedly sends a CAN message once per second.&amp;nbsp; On the K20, I see the GPIO pin toggle (so the app is alive,) but CAN bus spits out only garbage.&amp;nbsp; The same application works fine (both GPIO and CAN) on the TWR-K60N512 dev board.&amp;nbsp; The TWR-K60N512 has an external resonator on the EXTAL/XTAL K60 pins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw the following comment in the "K20 Sub-Family Reference Manual" (document number K20P81M100SF2RM):&lt;/P&gt;&lt;P&gt;p.1136:&amp;nbsp; CANx_CTRL1[CLKSRC] - &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;This bit selects the clock source to the CAN Protocol Engine (PE) to be either the peripheral clock (driven&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;by the PLL) or the crystal oscillator clock.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this mean the _only_ way to use the FlexCAN module is if you have an external oscillator on the K20 EXTAL/XTAL pins?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 20:31:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-K20-FlexCAN-and-FEI-Clock-Mode/m-p/235428#M5397</guid>
      <dc:creator>tsxer</dc:creator>
      <dc:date>2013-03-21T20:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with K20 FlexCAN and FEI Clock Mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-K20-FlexCAN-and-FEI-Clock-Mode/m-p/235429#M5398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Referring to the RM:&lt;/P&gt;&lt;P&gt;The FlexCAN module has two clock domains asynchronous to each other:&lt;/P&gt;&lt;P&gt;• The Bus Domain feeds the Control Host Interface (CHI) submodule and is derived&lt;/P&gt;&lt;P&gt;from the peripheral clock.&lt;/P&gt;&lt;P&gt;• The Oscillator Domain feeds the CAN Protocol Engine (PE) submodule and is&lt;/P&gt;&lt;P&gt;derived directly from a crystal oscillator clock, so that very low jitter performance&lt;/P&gt;&lt;P&gt;can be achieved on the CAN bus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the ref clock for PE has restriction on jitter, while FLL has a much larger jitter than PLL at the max clock frequency.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="a1.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119198iEA8F6E797291A0B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="a1.JPG" alt="a1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;so we recommend use PLL or the crystal oscillator clock for PE's source clock, sorry for the inconvenience that has caused.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Apr 2013 03:05:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-with-K20-FlexCAN-and-FEI-Clock-Mode/m-p/235429#M5398</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2013-04-20T03:05:57Z</dc:date>
    </item>
  </channel>
</rss>

