<?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 Config ToolsのトピックWhere can I find documentation about clock source numbers?</title>
    <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Where-can-I-find-documentation-about-clock-source-numbers/m-p/772493#M428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code example at he end of this post is generated by the clocks tool. (It includes details about the clocks version and processor / package.)&lt;BR /&gt;I have no questions about the code itself, but I&amp;nbsp;have failed to find documentation on what number corresponds with what clock source. More specifically, I am asking about the three last lines defined as 2U, 0U and 2U respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance! (And I hope I did not miss something obvious. &lt;IMG alt="Smiley Happy" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="https://community.nxp.com/i/smilies/16x16_smiley-happy.png" title="Smiley Happy" /&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;----- code example below -----&lt;/P&gt;&lt;PRE&gt;/* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
!!GlobalInfo
product: Clocks v4.0
processor: MKW41Z512xxx4
package_id: MKW41Z512VHT4
mcu_data: ksdk2_0
processor_version: 3.0.1
board: FRDM-KW41Z
 * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS **********/
/* clang-format on */

#include "fsl_smc.h"
#include "fsl_rtc.h"
#include "clock_config.h"

/*******************************************************************************
 * Definitions
 ******************************************************************************/
#define RTC_OSC_CAP_LOAD_0PF 0x0U /*!&amp;lt; RTC oscillator capacity load: 0pF */
#define SIM_LPUART_CLK_SEL_OSCERCLK_CLK 2U /*!&amp;lt; LPUART clock select: OSCERCLK clock */
#define SIM_OSC32KSEL_OSC32KCLK_CLK 0U /*!&amp;lt; OSC32KSEL select: OSC32KCLK clock */
#define SIM_TPM_CLK_SEL_OSCERCLK_CLK 2U /*!&amp;lt; TPM clock select: OSCERCLK clock */&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Nov 2020 14:07:40 GMT</pubDate>
    <dc:creator>rdewaele</dc:creator>
    <dc:date>2020-11-02T14:07:40Z</dc:date>
    <item>
      <title>Where can I find documentation about clock source numbers?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Where-can-I-find-documentation-about-clock-source-numbers/m-p/772493#M428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code example at he end of this post is generated by the clocks tool. (It includes details about the clocks version and processor / package.)&lt;BR /&gt;I have no questions about the code itself, but I&amp;nbsp;have failed to find documentation on what number corresponds with what clock source. More specifically, I am asking about the three last lines defined as 2U, 0U and 2U respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance! (And I hope I did not miss something obvious. &lt;IMG alt="Smiley Happy" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="https://community.nxp.com/i/smilies/16x16_smiley-happy.png" title="Smiley Happy" /&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;----- code example below -----&lt;/P&gt;&lt;PRE&gt;/* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
!!GlobalInfo
product: Clocks v4.0
processor: MKW41Z512xxx4
package_id: MKW41Z512VHT4
mcu_data: ksdk2_0
processor_version: 3.0.1
board: FRDM-KW41Z
 * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS **********/
/* clang-format on */

#include "fsl_smc.h"
#include "fsl_rtc.h"
#include "clock_config.h"

/*******************************************************************************
 * Definitions
 ******************************************************************************/
#define RTC_OSC_CAP_LOAD_0PF 0x0U /*!&amp;lt; RTC oscillator capacity load: 0pF */
#define SIM_LPUART_CLK_SEL_OSCERCLK_CLK 2U /*!&amp;lt; LPUART clock select: OSCERCLK clock */
#define SIM_OSC32KSEL_OSC32KCLK_CLK 0U /*!&amp;lt; OSC32KSEL select: OSC32KCLK clock */
#define SIM_TPM_CLK_SEL_OSCERCLK_CLK 2U /*!&amp;lt; TPM clock select: OSCERCLK clock */&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 14:07:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Where-can-I-find-documentation-about-clock-source-numbers/m-p/772493#M428</guid>
      <dc:creator>rdewaele</dc:creator>
      <dc:date>2020-11-02T14:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I find documentation about clock source numbers?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Where-can-I-find-documentation-about-clock-source-numbers/m-p/772494#M429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The comments of these definition contains the name of the clock selector and the selected value, see for example the SIM_LPUART_CLK_SEL_OSCERCLK_CLK definition. It is&amp;nbsp;LPUART0SRCSEL clock selector (in the SIM device) that selects the OSCERCLK clock signal, see the following screenshot of the diagram:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20309i47E7E37CBF2B060A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 09:15:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Where-can-I-find-documentation-about-clock-source-numbers/m-p/772494#M429</guid>
      <dc:creator>marek_neuzil</dc:creator>
      <dc:date>2018-02-26T09:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I find documentation about clock source numbers?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Where-can-I-find-documentation-about-clock-source-numbers/m-p/772495#M430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for responding to my question. However,&amp;nbsp;your screenshot does not answer, but does further illustrate what my&amp;nbsp;question is about. I encountered this screen and I noticed that the &lt;SPAN style="text-decoration: underline;"&gt;application&lt;/SPAN&gt; &lt;SPAN style="text-decoration: underline;"&gt;knows&lt;/SPAN&gt; what&amp;nbsp;numbers correspond with what clock source.&lt;/P&gt;&lt;P&gt;However my question is, how can &lt;SPAN style="text-decoration: underline;"&gt;I&lt;/SPAN&gt; know. Is the application the &lt;EM&gt;only&lt;/EM&gt; source of this information? I suspect there are some technical specifications describing this? It just seems a bit weird that you'd need this application to figure out what bits correspond with what clock source.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 09:24:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Where-can-I-find-documentation-about-clock-source-numbers/m-p/772495#M430</guid>
      <dc:creator>rdewaele</dc:creator>
      <dc:date>2018-02-26T09:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I find documentation about clock source numbers?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Where-can-I-find-documentation-about-clock-source-numbers/m-p/772496#M431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Robrecht,&lt;/P&gt;&lt;P&gt;You can find description of clock selectors and other information in the reference manual, see for example the&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/reference-manual/MKW41Z512RM.pdf" title="https://www.nxp.com/docs/en/reference-manual/MKW41Z512RM.pdf"&gt;https://www.nxp.com/docs/en/reference-manual/MKW41Z512RM.pdf&lt;/A&gt;&amp;nbsp; reference manual.&lt;/P&gt;&lt;P&gt;The SIM clock selector values are described in the Chapter 11 System Integration Module (SIM), register definition:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20703i29D2F2A1D4831286/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20785i30E3E40BB22D3948/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 10:39:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Where-can-I-find-documentation-about-clock-source-numbers/m-p/772496#M431</guid>
      <dc:creator>marek_neuzil</dc:creator>
      <dc:date>2018-02-26T10:39:58Z</dc:date>
    </item>
  </channel>
</rss>

