<?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>Kinetis MicrocontrollersのトピックRe: Clock Frequency FRDM-KL26Z</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Frequency-FRDM-KL26Z/m-p/1687845#M65293</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219241"&gt;@BPR&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please share with me the complete configuration you made?&lt;/P&gt;
&lt;P&gt;This are a general steps to initialize a pin with "baremetal":&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Turn on the PORTn clock on the SIM_SCGCn register&lt;/LI&gt;
&lt;LI&gt;Asign the MUX alternative to the pin on the&amp;nbsp;PORTx_PCRn register&lt;/LI&gt;
&lt;LI&gt;Define if it is an input or an output on the GPIOx_PDDR register&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Also, you can verify that the pin is getting toggled by debugging the project and reading the value of the PDOR register of the GPIO here:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Miguel04_0-1689273728212.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/232321i645A41D119F4B799/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Miguel04_0-1689273728212.png" alt="Miguel04_0-1689273728212.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards, Miguel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2023 18:42:51 GMT</pubDate>
    <dc:creator>Miguel04</dc:creator>
    <dc:date>2023-07-13T18:42:51Z</dc:date>
    <item>
      <title>Clock Frequency FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Frequency-FRDM-KL26Z/m-p/1685384#M65274</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Iam using &lt;STRONG&gt;KL26Z&lt;/STRONG&gt; board gpio example and flashing it into &lt;STRONG&gt;MKL16Z32VLH4&amp;nbsp;&lt;/STRONG&gt;chip making necessary gpio changes. The code is getting flashed but the output gpio is getting toggled while checking with CRO/Multimeter.&amp;nbsp;I found out that there is no cystal oscillator configured and hence I configured it as default system clock. But still the gpio didn't toggled.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I need to change any other clock frequency in the example code? Iam unable to find what is the issue, what do you suggest?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 13:25:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Frequency-FRDM-KL26Z/m-p/1685384#M65274</guid>
      <dc:creator>BPR</dc:creator>
      <dc:date>2023-07-11T13:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Frequency FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Frequency-FRDM-KL26Z/m-p/1685942#M65276</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219241"&gt;@BPR&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you provide me more details? I'm not understanding what the problem is.&lt;/P&gt;
&lt;P&gt;Which example are you using?&lt;/P&gt;
&lt;P&gt;The gpio_led_output toggles the gpio.&lt;/P&gt;
&lt;P&gt;Best Regards, Miguel.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 18:04:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Frequency-FRDM-KL26Z/m-p/1685942#M65276</guid>
      <dc:creator>Miguel04</dc:creator>
      <dc:date>2023-07-11T18:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Frequency FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Frequency-FRDM-KL26Z/m-p/1686219#M65278</link>
      <description>&lt;P&gt;Sorry for the typo mistake. Iam using the&amp;nbsp;&lt;STRONG&gt;frdmkl26z_driver_examples_gpio_led_output&lt;/STRONG&gt; example. I am using this example to flash for my device which has&amp;nbsp;&lt;STRONG&gt;MKL16Z32VLH4&amp;nbsp;&lt;/STRONG&gt;chip and also 8MHZ external cystal oscillator. I also made necessary pin GPIO Output pin change in the example according to my device GPIO.&lt;/P&gt;&lt;P&gt;The code is getting flashed but the output gpio is &lt;STRONG&gt;not getting toggled&lt;/STRONG&gt; while checking with CRO/Multimeter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found out that there is no cystal oscillator configured in the &lt;STRONG&gt;clock_config.c&amp;nbsp;&lt;/STRONG&gt;and &lt;STRONG&gt;BOARD_BOOTCLOCKRUN_CORE_CLOCK &lt;/STRONG&gt;was&amp;nbsp;only configured and enabled as system clock.&amp;nbsp;I have tried to implement&amp;nbsp; &lt;STRONG&gt;BOARD_XTAL0_CLK_HZ in&amp;nbsp;clock_config.c &lt;/STRONG&gt;but still the gpio didn't toggled.&lt;/P&gt;&lt;P&gt;Do I need to disable &lt;STRONG&gt;BOARD_BOOTCLOCKRUN_CORE_CLOCK completely&lt;/STRONG&gt;&amp;nbsp;in the example code? Iam unable to find what is the issue, what do you suggest? What changes should I need to make?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;or is it problem related to bimasking? I want PTC7 PIN to Toggle and hence I have configured like this&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;#define&amp;nbsp;BOARD_LED_GPIO_PIN 7U&lt;/P&gt;&lt;P&gt;GPIO_TogglePinsOutput(GPIOC, 1u &amp;lt;&amp;lt; BOARD_LED_GPIO_PIN);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 06:02:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Frequency-FRDM-KL26Z/m-p/1686219#M65278</guid>
      <dc:creator>BPR</dc:creator>
      <dc:date>2023-07-12T06:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Frequency FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Frequency-FRDM-KL26Z/m-p/1687845#M65293</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219241"&gt;@BPR&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please share with me the complete configuration you made?&lt;/P&gt;
&lt;P&gt;This are a general steps to initialize a pin with "baremetal":&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Turn on the PORTn clock on the SIM_SCGCn register&lt;/LI&gt;
&lt;LI&gt;Asign the MUX alternative to the pin on the&amp;nbsp;PORTx_PCRn register&lt;/LI&gt;
&lt;LI&gt;Define if it is an input or an output on the GPIOx_PDDR register&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Also, you can verify that the pin is getting toggled by debugging the project and reading the value of the PDOR register of the GPIO here:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Miguel04_0-1689273728212.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/232321i645A41D119F4B799/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Miguel04_0-1689273728212.png" alt="Miguel04_0-1689273728212.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards, Miguel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 18:42:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Frequency-FRDM-KL26Z/m-p/1687845#M65293</guid>
      <dc:creator>Miguel04</dc:creator>
      <dc:date>2023-07-13T18:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Frequency FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Frequency-FRDM-KL26Z/m-p/1688485#M65300</link>
      <description>&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; &lt;STRONG&gt;Turn on the PORTn clock on the SIM_SCGCn register&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CLOCK_EnableClock(kCLOCK_PortC);&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;/* Port C Clock Gate Control: Clock enabled */&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;Assign the MUX alternative to the pin on the&amp;nbsp;PORTx_PCRn register&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;PORT_SetPinMux(PORTC, 7, kPORT_MuxAsGpio);&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3.&amp;nbsp;&amp;nbsp;Define if it is an input or an output on the GPIOx_PDDR register&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;gpio_pin_config_t led_config = {&lt;BR /&gt;kGPIO_DigitalOutput, 0&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;GPIO_PinInit(GPIOC, 7, &amp;amp;led_config);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how I configured and while checkingusing peripherals window, I can see like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BPR_0-1689334769875.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/232477iCBBA13293A45117C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BPR_0-1689334769875.png" alt="BPR_0-1689334769875.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added breakpoints at the Toggle function and resumed but the value is zero always.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 11:40:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Frequency-FRDM-KL26Z/m-p/1688485#M65300</guid>
      <dc:creator>BPR</dc:creator>
      <dc:date>2023-07-14T11:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Frequency FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Frequency-FRDM-KL26Z/m-p/1688648#M65301</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219241"&gt;@BPR&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll look into it.&lt;/P&gt;
&lt;P&gt;However, on the image you shared with me the PDDR register has a value of 0x0 and the spected value is 0x80 (bit 7 set to 1).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Miguel04_0-1689353760174.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/232509i34681D9C27D9035C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Miguel04_0-1689353760174.png" alt="Miguel04_0-1689353760174.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please you confirm if this isn't the issue.&lt;/P&gt;
&lt;P&gt;Best Regards, Miguel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 16:58:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Frequency-FRDM-KL26Z/m-p/1688648#M65301</guid>
      <dc:creator>Miguel04</dc:creator>
      <dc:date>2023-07-14T16:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Frequency FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Frequency-FRDM-KL26Z/m-p/1694816#M65336</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It's possible that the issue is related to the clock configuration. Double-check the code for any other clock frequency settings and make sure they match the requirements of your MKL16Z32VLH4 chip. Additionally, verify if there are any other dependencies on external peripherals or settings that could affect the GPIO behavior. If the problem persists, consider checking the hardware connections and ensuring they are correct. If needed, consult the datasheet or reference manual for the MKL16Z32VLH4 chip to verify its clock and GPIO configuration requirements.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 07:53:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Frequency-FRDM-KL26Z/m-p/1694816#M65336</guid>
      <dc:creator>stevediaz</dc:creator>
      <dc:date>2023-07-28T07:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Frequency FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Frequency-FRDM-KL26Z/m-p/1701928#M65429</link>
      <description>&lt;P&gt;Yes, even after setting the GPIO as output this is the issue. Till now it is not solved from my side. Anything from your side?&lt;BR /&gt;&lt;BR /&gt;Please note Iam flashing this to a custom board which has 8Mhz external clock.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 11:53:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Frequency-FRDM-KL26Z/m-p/1701928#M65429</guid>
      <dc:creator>BPR</dc:creator>
      <dc:date>2023-08-09T11:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Frequency FRDM-KL26Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Frequency-FRDM-KL26Z/m-p/1703202#M65433</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219241"&gt;@BPR&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found this community post, which contains the trainings to Kinetis KL25Z.&lt;/P&gt;
&lt;P&gt;Look into the MCG &lt;EM&gt;(Multipurpose Clock Generator Module)&amp;nbsp;&lt;/EM&gt;resources to configure the external clock for the peripheral.&lt;/P&gt;
&lt;P&gt;Best Regards, Miguel.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 19:06:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Clock-Frequency-FRDM-KL26Z/m-p/1703202#M65433</guid>
      <dc:creator>Miguel04</dc:creator>
      <dc:date>2023-08-10T19:06:16Z</dc:date>
    </item>
  </channel>
</rss>

