<?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>Model-Based Design Toolbox (MBDT)のトピックRe: MBD Toolbox violates PLL VCO minimum frequency when S32K144 is set to 80Mhz</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBD-Toolbox-violates-PLL-VCO-minimum-frequency-when-S32K144-is/m-p/1498569#M7569</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/146851"&gt;@glenndoiron&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you very much for this report. We have opened an internal ticket and will embed the changes in the next release.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
    <pubDate>Mon, 01 Aug 2022 06:59:44 GMT</pubDate>
    <dc:creator>mariuslucianand</dc:creator>
    <dc:date>2022-08-01T06:59:44Z</dc:date>
    <item>
      <title>MBD Toolbox violates PLL VCO minimum frequency when S32K144 is set to 80Mhz</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBD-Toolbox-violates-PLL-VCO-minimum-frequency-when-S32K144-is/m-p/1498095#M7566</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Using : MBDToolbox 4.2.1,with hotfix for register access blocks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using: S32K144 LQFP-100, on proprietary hardware board&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Setting the clock frequency to 80Mhz violates the data sheet frequency limits for the PLL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Setting: MBD_S32K1xx_Config_Information:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;S32K144 / 80mhz clock, Xtal = 8Mhz External (see picture)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This generates a s32k_clock_init.c file for initializing the VCO/PLL.&amp;nbsp; The relevant&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#if XTAL_FREQ == 8000000&lt;BR /&gt;#define MBDT_PLLPREDIV SCG_SPLL_CLOCK_PREDIV_BY_1&lt;BR /&gt;#define MBDT_SOSCDIV SCG_ASYNC_CLOCK_DIV_BY_1&lt;BR /&gt;...&lt;BR /&gt;#if CORE_CLK_FREQ == 80000000&lt;BR /&gt;##define PLL_MULT 4U // mult = 2&lt;BR /&gt;#define POWER_MODE POWER_MANAGER_RUN&lt;BR /&gt;#define PLL_ASYNC_DIV2 SCG_ASYNC_CLOCK_DIV_BY_4&lt;BR /&gt;...&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.spllConfig =&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;.initialize = true, /* Initialize */&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/* SPLLCSR */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;.monitorMode = SCG_SPLL_MONITOR_DISABLE,/* SPLLCM */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;.locked = false, /* LK */&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/* SPLLCFG */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;.prediv = MBDT_PLLPREDIV, /* PREDIV */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;.mult = PLL_MULT, /* MULT */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;.src=0U, /* SOURCE */&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/* SPLLDIV */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;.div1 = SCG_ASYNC_CLOCK_DIV_BY_1,/* SPLLDIV1 */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;.div2 = PLL_ASYNC_DIV2, /* SPLLDIV2 */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;},&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This configuration takes the 8Mhz SOSC input, divides it by one, and multiplies it by 20 to generate an SPLL_VCO output frequency of 160Mhz.&lt;/P&gt;&lt;P&gt;The problem is that section 6.2.5 of the data sheet, SPLL electrical specifications, requires the FVCO_CLK of the PLL to be between 180Mhz and 320Mhz.&lt;/P&gt;&lt;P&gt;While the misconfiguration has not resulted in any obvious problems on the bench, it the hardware designers thought that 160mhz was usable in all process / temperature / voltage variations, they would have listed 160mhz as the minimum PLL output frequency.&lt;/P&gt;&lt;P&gt;In-spec 80Mhz operation requires the SPLL_VCO to use /1 and *40, and the DIVCORE should be set to /2.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 14:58:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBD-Toolbox-violates-PLL-VCO-minimum-frequency-when-S32K144-is/m-p/1498095#M7566</guid>
      <dc:creator>glenndoiron</dc:creator>
      <dc:date>2022-07-29T14:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: MBD Toolbox violates PLL VCO minimum frequency when S32K144 is set to 80Mhz</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBD-Toolbox-violates-PLL-VCO-minimum-frequency-when-S32K144-is/m-p/1498569#M7569</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/146851"&gt;@glenndoiron&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you very much for this report. We have opened an internal ticket and will embed the changes in the next release.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 06:59:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBD-Toolbox-violates-PLL-VCO-minimum-frequency-when-S32K144-is/m-p/1498569#M7569</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2022-08-01T06:59:44Z</dc:date>
    </item>
  </channel>
</rss>

