<?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>MCUXpresso GeneralのトピックHow Should I Go About Creating a 5MHz Clock With LPC1769</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/How-Should-I-Go-About-Creating-a-5MHz-Clock-With-LPC1769/m-p/924361#M2104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The title is self explanatory. I have tried it with pwm but couldn't manage to get 5MHz got around 4.8MHz.&lt;/P&gt;&lt;P&gt;Here is the pwm code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;#define SAM_CLK_PIN 26&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#define SAM_CLK_PORT 3&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#define SAM_CLK_PWM_CH 3&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#define SAM_CLK_PWM_MATCH 3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Chip_PWM_Init(LPC_PWM1);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_IOCON_PinMuxSet(LPC_IOCON, SAM_CLK_PORT,SAM_CLK_PIN, IOCON_MODE_INACT | IOCON_FUNC3);/* PWM1[2] */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_PWM_PrescaleSet(LPC_PWM1, 0);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_PWM_SetControlMode(LPC_PWM1, SAM_CLK_PWM_CH, PWM_SINGLE_EDGE_CONTROL_MODE, PWM_OUT_ENABLED);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_PWM_SetMatch(LPC_PWM1, 0, 6);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_PWM_SetMatch(LPC_PWM1, SAM_CLK_PWM_CH, 3);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_PWM_Enable(LPC_PWM1);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_PWM_LatchEnable(LPC_PWM1,0,PWM_OUT_ENABLED);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_PWM_LatchEnable(LPC_PWM1,SAM_CLK_PWM_CH,PWM_OUT_ENABLED);&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jun 2019 09:56:37 GMT</pubDate>
    <dc:creator>aceviker</dc:creator>
    <dc:date>2019-06-14T09:56:37Z</dc:date>
    <item>
      <title>How Should I Go About Creating a 5MHz Clock With LPC1769</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/How-Should-I-Go-About-Creating-a-5MHz-Clock-With-LPC1769/m-p/924361#M2104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The title is self explanatory. I have tried it with pwm but couldn't manage to get 5MHz got around 4.8MHz.&lt;/P&gt;&lt;P&gt;Here is the pwm code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;#define SAM_CLK_PIN 26&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#define SAM_CLK_PORT 3&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#define SAM_CLK_PWM_CH 3&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#define SAM_CLK_PWM_MATCH 3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Chip_PWM_Init(LPC_PWM1);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_IOCON_PinMuxSet(LPC_IOCON, SAM_CLK_PORT,SAM_CLK_PIN, IOCON_MODE_INACT | IOCON_FUNC3);/* PWM1[2] */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_PWM_PrescaleSet(LPC_PWM1, 0);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_PWM_SetControlMode(LPC_PWM1, SAM_CLK_PWM_CH, PWM_SINGLE_EDGE_CONTROL_MODE, PWM_OUT_ENABLED);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_PWM_SetMatch(LPC_PWM1, 0, 6);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_PWM_SetMatch(LPC_PWM1, SAM_CLK_PWM_CH, 3);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_PWM_Enable(LPC_PWM1);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_PWM_LatchEnable(LPC_PWM1,0,PWM_OUT_ENABLED);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Chip_PWM_LatchEnable(LPC_PWM1,SAM_CLK_PWM_CH,PWM_OUT_ENABLED);&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2019 09:56:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/How-Should-I-Go-About-Creating-a-5MHz-Clock-With-LPC1769/m-p/924361#M2104</guid>
      <dc:creator>aceviker</dc:creator>
      <dc:date>2019-06-14T09:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: How Should I Go About Creating a 5MHz Clock With LPC1769</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/How-Should-I-Go-About-Creating-a-5MHz-Clock-With-LPC1769/m-p/924362#M2105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="340187" data-username="aceviker@atlantisbilisim.com.tr" href="https://community.nxp.com/people/aceviker@atlantisbilisim.com.tr"&gt;Alican Çeviker&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;How about the PCLK?&lt;/P&gt;&lt;P&gt;Could you please send your whole project , I will check it on my side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 04:21:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/How-Should-I-Go-About-Creating-a-5MHz-Clock-With-LPC1769/m-p/924362#M2105</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-06-19T04:21:57Z</dc:date>
    </item>
  </channel>
</rss>

