<?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のトピックRe: Use CLK2 for diagnosis</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Use-CLK2-for-diagnosis/m-p/1878112#M56175</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229957"&gt;@Harry_Zhang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the guidance, I tried it and able to see the frequency now. Can please let me know about how can I set the clock frequency to 1MHz and how to configure the CLK2 to see 1 MHz or send me any example code to do so.&lt;/P&gt;</description>
    <pubDate>Thu, 30 May 2024 09:48:01 GMT</pubDate>
    <dc:creator>pranavkolte</dc:creator>
    <dc:date>2024-05-30T09:48:01Z</dc:date>
    <item>
      <title>Use CLK2 for diagnosis</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Use-CLK2-for-diagnosis/m-p/1877852#M56171</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am using LPC1823 controller for my project. I want to validate the system frequency is set correctly or not, for that reason&amp;nbsp; I need to set the CLK2 as CLKOUT so that the frequency is visible on osciloscope. Can you guide me with go can I set CLK2 as CLKOUT so that I can see the system frequency on it.&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 04:35:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Use-CLK2-for-diagnosis/m-p/1877852#M56171</guid>
      <dc:creator>pranavkolte</dc:creator>
      <dc:date>2024-05-30T04:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Use CLK2 for diagnosis</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Use-CLK2-for-diagnosis/m-p/1878067#M56174</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227354"&gt;@pranavkolte&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to configure the Clock Output (CLKOUT) feature correctly. Below are the steps you can follow to achieve this:&lt;BR /&gt;1. **Configure the Clock Output Pin:**&lt;BR /&gt;Ensure that the CLKOUT function is configured on the appropriate pin (typically this is a specific pin that can be multiplexed to CLKOUT). .&lt;BR /&gt;2. **Set the CLKOUT Configuration Register:**&lt;BR /&gt;Use the appropriate registers to set the clock source for CLKOUT.&amp;nbsp;&lt;BR /&gt;Step-by-Step Guide&lt;BR /&gt;1. **Enable the Clock Output Pin:**&lt;BR /&gt;Configure the pin function using the IOCON register.&amp;nbsp;&lt;BR /&gt;2. **Configure the CLKOUT Source:**&lt;BR /&gt;Select the clock source and divider for the CLKOUT. This involves writing to the CLKOUTCFG register. The CLKOUTCFG register controls the clock source and the divider for the CLKOUT pin.&lt;BR /&gt;&lt;BR /&gt;3. **Enable the Clock Output Function:**&lt;BR /&gt;Ensure that the clock output function is enabled.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this will help you.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Hang&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 09:22:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Use-CLK2-for-diagnosis/m-p/1878067#M56174</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2024-05-30T09:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Use CLK2 for diagnosis</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Use-CLK2-for-diagnosis/m-p/1878112#M56175</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229957"&gt;@Harry_Zhang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the guidance, I tried it and able to see the frequency now. Can please let me know about how can I set the clock frequency to 1MHz and how to configure the CLK2 to see 1 MHz or send me any example code to do so.&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 09:48:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Use-CLK2-for-diagnosis/m-p/1878112#M56175</guid>
      <dc:creator>pranavkolte</dc:creator>
      <dc:date>2024-05-30T09:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Use CLK2 for diagnosis</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Use-CLK2-for-diagnosis/m-p/1879785#M56184</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227354"&gt;@pranavkolte&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1. Abort "how to configure the CLK2 pin"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HangZhang_0-1717411352039.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/282177i4358BB244B67A87C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HangZhang_0-1717411352039.png" alt="HangZhang_0-1717411352039.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HangZhang_1-1717411360971.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/282180i136F090643C719E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HangZhang_1-1717411360971.png" alt="HangZhang_1-1717411360971.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can config clock2 pin through Chip_SCU_ClockPinMux function.&lt;/P&gt;
&lt;P&gt;2. About "&lt;SPAN&gt;set the clock frequency to 1MHz&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HangZhang_2-1717411491277.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/282181i9C8F540FE4023D76/image-size/medium?v=v2&amp;amp;px=400" role="button" title="HangZhang_2-1717411491277.png" alt="HangZhang_2-1717411491277.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can config clock through blow functions&lt;/P&gt;
&lt;P&gt;Chip_Clock_SetDivider();&lt;/P&gt;
&lt;P&gt;Chip_Clock_SetBaseClock();&lt;/P&gt;
&lt;P&gt;Chip_Clock_EnableBaseClock();&lt;/P&gt;
&lt;P&gt;Or you can download and refer to LPC 18XX examples.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/design-center/software/software-library/lpcopen-software-development-platform-lpc18xx:LPCOPEN-SOFTWARE-FOR-LPC18XX" target="_blank"&gt;LPCOpen Software for LPC18XX | NXP Semiconductors&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this will help you.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Hang&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 10:51:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Use-CLK2-for-diagnosis/m-p/1879785#M56184</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2024-06-03T10:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Use CLK2 for diagnosis</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Use-CLK2-for-diagnosis/m-p/1883255#M56206</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229957"&gt;@Harry_Zhang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help or guide me with how can I use tinyusb with my project but I do not want to use the board files . I just want the device should be displayed in device manager, till now what ever I have done it shows this in device manager.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DeviceDescriptorRequestFailed.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/282976i66CCF9FE1504FED2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DeviceDescriptorRequestFailed.png" alt="DeviceDescriptorRequestFailed.png" /&gt;&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;It will be helpful if you can share a code or project of that.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 03:48:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Use-CLK2-for-diagnosis/m-p/1883255#M56206</guid>
      <dc:creator>pranavkolte</dc:creator>
      <dc:date>2024-06-07T03:48:53Z</dc:date>
    </item>
  </channel>
</rss>

