<?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>LPC Microcontrollersのトピック[LPC55xx] SYSCON-&amp;gt;FLEXFRGXCTRL &amp;amp; CLOCK_GetFlexCommClkFreq</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-SYSCON-gt-FLEXFRGXCTRL-amp-CLOCK-GetFlexCommClkFreq/m-p/1373671#M47053</link>
    <description>&lt;P&gt;Hmmm, it seems that my post body has disappeared upon posting and an unexpected error.&lt;/P&gt;&lt;P&gt;I shall try again and be more brief in case it timed out.&lt;/P&gt;&lt;P&gt;SYSCON-&amp;gt;FLEXFRGXCTRL[0] = SYSCON_FLEXFRG0CTRL_MULT(18) | SYSCON_FLEXFRG0CTRL_DIV(255);&lt;/P&gt;&lt;P&gt;SYSCON clock is 12Mhz (FRO12Mhz), I expect the above to give me 18/256 divisor, so 1.0703125, or 12.84375Mhz, is the correct?&lt;/P&gt;&lt;P&gt;If I call CLOCK_GetFlexCommClkFreq(0) I get 631578, why is this? This does not seem correct.&lt;/P&gt;&lt;P&gt;If I don't configure FLEXFRGXCTRL (use default values), I get 12000000, which is the expected value.&lt;/P&gt;&lt;P&gt;If I setup FC0 as USART, and set USART0-&amp;gt;BRG to 12 then I can communicate happily at 57600 which suggests that my maths is correct? (although I might be off by 1 somewhere?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Nov 2021 16:47:06 GMT</pubDate>
    <dc:creator>Gorvak</dc:creator>
    <dc:date>2021-11-18T16:47:06Z</dc:date>
    <item>
      <title>[LPC55xx] SYSCON-&gt;FLEXFRGXCTRL &amp; CLOCK_GetFlexCommClkFreq</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-SYSCON-gt-FLEXFRGXCTRL-amp-CLOCK-GetFlexCommClkFreq/m-p/1373671#M47053</link>
      <description>&lt;P&gt;Hmmm, it seems that my post body has disappeared upon posting and an unexpected error.&lt;/P&gt;&lt;P&gt;I shall try again and be more brief in case it timed out.&lt;/P&gt;&lt;P&gt;SYSCON-&amp;gt;FLEXFRGXCTRL[0] = SYSCON_FLEXFRG0CTRL_MULT(18) | SYSCON_FLEXFRG0CTRL_DIV(255);&lt;/P&gt;&lt;P&gt;SYSCON clock is 12Mhz (FRO12Mhz), I expect the above to give me 18/256 divisor, so 1.0703125, or 12.84375Mhz, is the correct?&lt;/P&gt;&lt;P&gt;If I call CLOCK_GetFlexCommClkFreq(0) I get 631578, why is this? This does not seem correct.&lt;/P&gt;&lt;P&gt;If I don't configure FLEXFRGXCTRL (use default values), I get 12000000, which is the expected value.&lt;/P&gt;&lt;P&gt;If I setup FC0 as USART, and set USART0-&amp;gt;BRG to 12 then I can communicate happily at 57600 which suggests that my maths is correct? (although I might be off by 1 somewhere?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 16:47:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55xx-SYSCON-gt-FLEXFRGXCTRL-amp-CLOCK-GetFlexCommClkFreq/m-p/1373671#M47053</guid>
      <dc:creator>Gorvak</dc:creator>
      <dc:date>2021-11-18T16:47:06Z</dc:date>
    </item>
  </channel>
</rss>

