<?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>MQX Software SolutionsのトピックRe: MQX Vybrid BSP Clock Configuration</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Vybrid-BSP-Clock-Configuration/m-p/283781#M8948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ioseph,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct in regards the macros you just mentioned. They are not used in the PLLs configuration. &lt;/P&gt;&lt;P&gt;The way the BSP is structured you will have to configure the PLLs according to your needs in the init_hw.c file just like you said, by means of the PFDs (Changing the ANADIG_PLLx_NUM, ANADIG_PLLx, DENOM registers).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jan 2014 18:29:54 GMT</pubDate>
    <dc:creator>alejandrolozan1</dc:creator>
    <dc:date>2014-01-10T18:29:54Z</dc:date>
    <item>
      <title>MQX Vybrid BSP Clock Configuration</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Vybrid-BSP-Clock-Configuration/m-p/283780#M8947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello MQX team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(using MQX 4.1.0 Beta, Vybrid Auto EVB)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I am trying to configure clock frequency other than default one on my Vybrid AutoEVB (anyways, this may apply also to Vybrid TWR board)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finding 1: Seems the definitions in \source\bsp\&amp;lt;board&amp;gt;\&amp;lt;board.h&amp;gt; are merely informative. THIS in vybrid_autoevb_a5.h&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG style="color: #000000;"&gt;/* Init startup clock configuration is CPU_CLOCK_CONFIG_0 */&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG style="color: #000000;"&gt;#define BSP_CLOCK_SRC&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (24000000)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG style="color: #000000;"&gt;#define BSP_CORE_CLOCK&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (396000000)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG style="color: #000000;"&gt;#define BSP_BUS_CLOCK&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (132000000)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG style="color: #000000;"&gt;#define BSP_IPG_CLOCK&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (66000000)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;&lt;STRONG&gt;#define BSP_SYSTEM_CLOCK&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (BSP_CORE_CLOCK)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Question 1: If I change those values, no clock dividers or registers will be changed, correct? (after navigating on the bsp code, I found those definitions are used only for returning information about clocks)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finding 2: only \source\bsp\&amp;lt;board&amp;gt;\init_hw.c seems to be the only instance which intializes/changes the CCM_CACRR register which controls the dividers for the different clocks in the System (i.e. clock definitions highlighted above)&lt;/P&gt;&lt;P&gt;Question 2: What is the propper/official way to modify the BSP to work at a different frequency than the ones highlighted above? (i.e. I want CPU and DDR to run at 320MHz)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ioseph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2014 20:12:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Vybrid-BSP-Clock-Configuration/m-p/283780#M8947</guid>
      <dc:creator>ioseph_martinez</dc:creator>
      <dc:date>2014-01-02T20:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: MQX Vybrid BSP Clock Configuration</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Vybrid-BSP-Clock-Configuration/m-p/283781#M8948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ioseph,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct in regards the macros you just mentioned. They are not used in the PLLs configuration. &lt;/P&gt;&lt;P&gt;The way the BSP is structured you will have to configure the PLLs according to your needs in the init_hw.c file just like you said, by means of the PFDs (Changing the ANADIG_PLLx_NUM, ANADIG_PLLx, DENOM registers).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 18:29:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Vybrid-BSP-Clock-Configuration/m-p/283781#M8948</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2014-01-10T18:29:54Z</dc:date>
    </item>
  </channel>
</rss>

