<?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>LPCXpresso IDEのトピックRe: LPC800 rom driver questions.</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC800-rom-driver-questions/m-p/565849#M18185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MarcVonWindscooting on Sat Jan 25 07:07:49 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not working with LPCopen but I do work with LPC800 devices.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You have 2 clock dividers for UART. One found in SYSCON (UARTCLKDIV = 1..255) for all UARTS and one for each UART (1..65536)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also the fractional divider is shared amoung all UARTs. Look into the LPC800 User Manual, chapter 15.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You probably need the fractional generator to generate 115200bd. You use the biggest possible divider for UARTCLKDIV (e.g. 6 if running at 12MHz for example). Then one UART runs with 115200, the other can run at a frequency 115200 / n, where n is integral and in the range of 1..65536. Decide yourself, if n = 192 does the trick&amp;nbsp; ;-)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And of course, yes, the ROM-API can handle that, because &lt;/SPAN&gt;&lt;STRONG&gt;YOU&lt;/STRONG&gt;&lt;SPAN&gt; have to dispatch the correct ISR and it's nobody else than &lt;/SPAN&gt;&lt;STRONG&gt;YOU&lt;/STRONG&gt;&lt;SPAN&gt; who calls the ROM-API and there's no such thing as a 'close()' for ROM-UART structure.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:47:27 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:47:27Z</dc:date>
    <item>
      <title>LPC800 rom driver questions.</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC800-rom-driver-questions/m-p/565848#M18184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ppx on Thu Jan 23 05:28:45 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am thinking of using the LPCopen uart interrupt driven example as a base for a new program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you easily set different baudrates on two UARTs? I need 600 baud at start up on one UART to reprogram the baudrate on a chip and 115K on the other UART.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can both UARTs be used at the same time with LPCopen drivers?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there any better examples I can look at?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:47:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC800-rom-driver-questions/m-p/565848#M18184</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPC800 rom driver questions.</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC800-rom-driver-questions/m-p/565849#M18185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MarcVonWindscooting on Sat Jan 25 07:07:49 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not working with LPCopen but I do work with LPC800 devices.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You have 2 clock dividers for UART. One found in SYSCON (UARTCLKDIV = 1..255) for all UARTS and one for each UART (1..65536)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also the fractional divider is shared amoung all UARTs. Look into the LPC800 User Manual, chapter 15.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You probably need the fractional generator to generate 115200bd. You use the biggest possible divider for UARTCLKDIV (e.g. 6 if running at 12MHz for example). Then one UART runs with 115200, the other can run at a frequency 115200 / n, where n is integral and in the range of 1..65536. Decide yourself, if n = 192 does the trick&amp;nbsp; ;-)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And of course, yes, the ROM-API can handle that, because &lt;/SPAN&gt;&lt;STRONG&gt;YOU&lt;/STRONG&gt;&lt;SPAN&gt; have to dispatch the correct ISR and it's nobody else than &lt;/SPAN&gt;&lt;STRONG&gt;YOU&lt;/STRONG&gt;&lt;SPAN&gt; who calls the ROM-API and there's no such thing as a 'close()' for ROM-UART structure.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:47:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC800-rom-driver-questions/m-p/565849#M18185</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:47:27Z</dc:date>
    </item>
  </channel>
</rss>

