<?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 Re: The maximum Data transfer at KL1x in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/The-maximum-Data-transfer-at-KL1x/m-p/234523#M5355</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuriy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well there is not a something like the example code you mentioned in the product page but you can do it based on the codeWarrior Examples for Kinetis K family (attached). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard DMA frequency, you want to know if this module still working with a core or system frequency of 24MHz?? I was not able to understand the question, could you please explain more?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And finally regard 48MHz core frequency using a 24MHz external oscilator source, you can do it, you should configure the MCG module like is depicted below:&lt;/P&gt;&lt;P&gt;1.- The external signal must pass trought the PLL, then as you can read in the field &lt;STRONG&gt;PRDIV0 &lt;/STRONG&gt;in MCG Control 5 Register (MCG_C5) &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;"Selects the amount to divide down the external reference clock for the PLL. The resulting frequency must&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;be in the range of 2 MHz to 4 MHz. After the PLL is enabled (by setting either PLLCLKEN 0 or PLLS), the&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;PRDIV 0 value must not be changed when LOCK0 is zero."&lt;/P&gt;&lt;P&gt;Then you should set this field to value &lt;STRONG&gt;0b01011&lt;/STRONG&gt; which means a divide factor of 12, this will produce a PLL output of a 2MHz signal, which achieve the rule mentioned above.&lt;/P&gt;&lt;P&gt;2.-Now the 2MHz will be multiplied by configuring the &lt;STRONG&gt;VDIV0&lt;/STRONG&gt; field on the &lt;STRONG&gt;MCG Control 6 Register (MCG_C6)&lt;/STRONG&gt; to value &lt;STRONG&gt;0b00000&lt;/STRONG&gt; which means a multiply factor of 24, it produce a 48MHz signal.&lt;/P&gt;&lt;P&gt;3.-This signal will pass trough a last divider, for select devide by 1 the field &lt;STRONG&gt;OUTDIV1&lt;/STRONG&gt; on the &lt;STRONG&gt;System Clock Divider Register 1 (SIM_CLKDIV1)&lt;/STRONG&gt; should be set to &lt;STRONG&gt;0b0000&lt;/STRONG&gt; value.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Perla&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &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, 18 Feb 2014 18:11:40 GMT</pubDate>
    <dc:creator>perlam_i_au</dc:creator>
    <dc:date>2014-02-18T18:11:40Z</dc:date>
    <item>
      <title>The maximum Data transfer at KL1x</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/The-maximum-Data-transfer-at-KL1x/m-p/234522#M5354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hello! I'm starting to learn &lt;SPAN lang="EN-US" style="color: red; font-family: 'Arial','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US;"&gt;Kinetis &lt;/SPAN&gt;&lt;SPAN style="color: red; font-family: 'Arial','sans-serif'; font-size: 11pt;"&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KL1x"&gt;KL1x General Purpose MCUs&lt;/A&gt;&lt;/SPAN&gt;, coming from MSP world. For rapid development of Cortex M0+ Core I would like to get answers to the following questions:&lt;/STRONG&gt;&amp;nbsp; &lt;/P&gt;&lt;OL start="1"&gt;&lt;OL start="1"&gt;&lt;LI&gt;What is the maximum data transfer can be achieved when the data going in the external port and when reading from a port? As I understand this speed is equal to the Peripheral Module frequency - 24 MHz. Can I find anywhere &lt;STRONG&gt;Sample code &lt;/STRONG&gt;which performs reading the data from the external parallel bus? I am interested in, for example, perform&amp;nbsp; reading a short sequence of data from external parallel 8-bit ADC at 24 MHz and writes it’s to the Kinetis RAM memory. Or as alternative - the realization at Kinetis KL1x synchronous FIFO controller with 24 MHz frequency and volume 2 KB?&amp;nbsp; &lt;/LI&gt;&lt;LI&gt;Whether DMA may provide a data transfer rate at 24 MHz frequency?&lt;/LI&gt;&lt;LI&gt;Is it possible to provide 48MHz Kinetis Core frequency when I use a 24 MHz frequency Oscillator crystal or resonator?&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 12:41:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/The-maximum-Data-transfer-at-KL1x/m-p/234522#M5354</guid>
      <dc:creator>yuriytarnopolsk</dc:creator>
      <dc:date>2013-10-25T12:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: The maximum Data transfer at KL1x</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/The-maximum-Data-transfer-at-KL1x/m-p/234523#M5355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuriy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well there is not a something like the example code you mentioned in the product page but you can do it based on the codeWarrior Examples for Kinetis K family (attached). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard DMA frequency, you want to know if this module still working with a core or system frequency of 24MHz?? I was not able to understand the question, could you please explain more?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And finally regard 48MHz core frequency using a 24MHz external oscilator source, you can do it, you should configure the MCG module like is depicted below:&lt;/P&gt;&lt;P&gt;1.- The external signal must pass trought the PLL, then as you can read in the field &lt;STRONG&gt;PRDIV0 &lt;/STRONG&gt;in MCG Control 5 Register (MCG_C5) &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;"Selects the amount to divide down the external reference clock for the PLL. The resulting frequency must&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;be in the range of 2 MHz to 4 MHz. After the PLL is enabled (by setting either PLLCLKEN 0 or PLLS), the&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;PRDIV 0 value must not be changed when LOCK0 is zero."&lt;/P&gt;&lt;P&gt;Then you should set this field to value &lt;STRONG&gt;0b01011&lt;/STRONG&gt; which means a divide factor of 12, this will produce a PLL output of a 2MHz signal, which achieve the rule mentioned above.&lt;/P&gt;&lt;P&gt;2.-Now the 2MHz will be multiplied by configuring the &lt;STRONG&gt;VDIV0&lt;/STRONG&gt; field on the &lt;STRONG&gt;MCG Control 6 Register (MCG_C6)&lt;/STRONG&gt; to value &lt;STRONG&gt;0b00000&lt;/STRONG&gt; which means a multiply factor of 24, it produce a 48MHz signal.&lt;/P&gt;&lt;P&gt;3.-This signal will pass trough a last divider, for select devide by 1 the field &lt;STRONG&gt;OUTDIV1&lt;/STRONG&gt; on the &lt;STRONG&gt;System Clock Divider Register 1 (SIM_CLKDIV1)&lt;/STRONG&gt; should be set to &lt;STRONG&gt;0b0000&lt;/STRONG&gt; value.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Perla&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &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, 18 Feb 2014 18:11:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/The-maximum-Data-transfer-at-KL1x/m-p/234523#M5355</guid>
      <dc:creator>perlam_i_au</dc:creator>
      <dc:date>2014-02-18T18:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: The maximum Data transfer at KL1x</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/The-maximum-Data-transfer-at-KL1x/m-p/234524#M5356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Perla!&lt;/P&gt;&lt;P&gt;Thanks for the answer and explanation. This issue has been resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 07:07:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/The-maximum-Data-transfer-at-KL1x/m-p/234524#M5356</guid>
      <dc:creator>yuriytarnopolsk</dc:creator>
      <dc:date>2014-05-30T07:07:16Z</dc:date>
    </item>
  </channel>
</rss>

