<?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 mk60n512 uart max baud rate in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mk60n512-uart-max-baud-rate/m-p/223027#M4136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i want to use the mcu in object for UART communications and I need to configure the baud rate to 10Mbps.&lt;/P&gt;&lt;P&gt;This mcu has 6 uart modules, 2 of them (uart0 and uart1) clocked from core clock and the others clocked from bus clock.&lt;/P&gt;&lt;P&gt;My questions are: is there the possibility to make uart working @ 10Mbps?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; how could configure the clocks (or the divisors of them) in order to obtain the desired badu rate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can i use all 6 modules or only uart0 and uart1?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jun 2013 08:08:22 GMT</pubDate>
    <dc:creator>franticcarlitos</dc:creator>
    <dc:date>2013-06-17T08:08:22Z</dc:date>
    <item>
      <title>mk60n512 uart max baud rate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mk60n512-uart-max-baud-rate/m-p/223027#M4136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i want to use the mcu in object for UART communications and I need to configure the baud rate to 10Mbps.&lt;/P&gt;&lt;P&gt;This mcu has 6 uart modules, 2 of them (uart0 and uart1) clocked from core clock and the others clocked from bus clock.&lt;/P&gt;&lt;P&gt;My questions are: is there the possibility to make uart working @ 10Mbps?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; how could configure the clocks (or the divisors of them) in order to obtain the desired badu rate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can i use all 6 modules or only uart0 and uart1?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 08:08:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mk60n512-uart-max-baud-rate/m-p/223027#M4136</guid>
      <dc:creator>franticcarlitos</dc:creator>
      <dc:date>2013-06-17T08:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: mk60n512 uart max baud rate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mk60n512-uart-max-baud-rate/m-p/223028#M4137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlitos&lt;/P&gt;&lt;P&gt;The maximum baud rate is 1/16 of related source clock &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;frequency. so if you are running at 100 MHz the maximum will be 100 MHz/16&amp;nbsp; that is less that &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;10Mbps.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;this is show on the reference manual pag 158&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;A href="http://cache.freescale.com/files/32bit/doc/ref_manual/K60P144M100SF2V2RM.pdf?fpsp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation" title="http://cache.freescale.com/files/32bit/doc/ref_manual/K60P144M100SF2V2RM.pdf?fpsp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation"&gt;http://www.freescale.com/files/32bit/doc/ref_manual/K60P144M100SF2V2RM.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I hope this will help you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&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>Mon, 17 Jun 2013 22:26:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mk60n512-uart-max-baud-rate/m-p/223028#M4137</guid>
      <dc:creator>vicentegomez</dc:creator>
      <dc:date>2013-06-17T22:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: mk60n512 uart max baud rate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mk60n512-uart-max-baud-rate/m-p/223029#M4138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note also that that UARTs 0 and 1 are clocked from the system clock (max. 100MHz in your case) and UARTs 2..5 are clocked from the bus clock, which has a maximum speed of 50 MHz in your case.&lt;/P&gt;&lt;P&gt;UARTs 2..5 can therefore not operate at such a high speed as UARTs 0 and 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 23:38:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mk60n512-uart-max-baud-rate/m-p/223029#M4138</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2013-06-17T23:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: mk60n512 uart max baud rate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mk60n512-uart-max-baud-rate/m-p/223030#M4139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok i've read that constraints on the Reference manual....&lt;/P&gt;&lt;P&gt;Is there any way to make UART working at 10 Mbps (i.e. an appropriate oscillator, not 50Mhz)?&lt;/P&gt;&lt;P&gt;Any ideas? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 07:17:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mk60n512-uart-max-baud-rate/m-p/223030#M4139</guid>
      <dc:creator>franticcarlitos</dc:creator>
      <dc:date>2013-06-18T07:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: mk60n512 uart max baud rate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mk60n512-uart-max-baud-rate/m-p/223031#M4140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the UART 0/1 clock is derived from 1/16th the system clock you would need 160MHz system clock (PLL output) to be able to operate these UARTs at 10Mb/s. This is of course not possible with the device that you use (at least not within specification).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that when working with high speed UARTs DMA operation is also necessary. Some DMA priority tuning may also be required because I found that running multiple UARTs at highest speed with DMA could cause the Ethernet controller buffer to overrun, resulting in the Ethernet controller freezing and requiring a reset.Giving the Ethernet controller's DMA higher priority solved this though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 11:42:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mk60n512-uart-max-baud-rate/m-p/223031#M4140</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2013-06-18T11:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: mk60n512 uart max baud rate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mk60n512-uart-max-baud-rate/m-p/223032#M4141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So another 2 questions:&lt;/P&gt;&lt;P&gt;UART2-6 are also not usable @ 10Mbps?&lt;/P&gt;&lt;P&gt;could you explain me better the point about the DMA?&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 12:34:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mk60n512-uart-max-baud-rate/m-p/223032#M4141</guid>
      <dc:creator>franticcarlitos</dc:creator>
      <dc:date>2013-06-18T12:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: mk60n512 uart max baud rate</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/mk60n512-uart-max-baud-rate/m-p/223033#M4142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UARTs 2 to 5 can not run faster than 3.125MHz on the device that you are using (50MHz / 16).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you had a UART running at 10Mb/s it would be interrupting at a rate of once every 1.0us (assuming 8 bits and no parity bit) and any delays to respond by an interrupt routine of just a few us will cause a FIFO overrun and so lost reception data. Therefore DMA becomes important to remove the interrupt loading and the response time requirements. The Kinetis has a good DMA controller and it can support DMA operation on all 6 UARTs (Tx and Rx at the same time). The use of DMA is advisable once the BAUD rate gets above, say, 500k and is probably absolutely necessary for reliable highest speed operation. Running 6 UARTs at high speed at the same time would mean these figures can be divided by about 6 since they would otherwise all be contending for the interrupt handling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 13:05:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/mk60n512-uart-max-baud-rate/m-p/223033#M4142</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2013-06-18T13:05:48Z</dc:date>
    </item>
  </channel>
</rss>

