<?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>topic MCAL Initialization Parameter Question in S32K</title>
    <link>https://community.nxp.com/t5/S32K/MCAL-Initialization-Parameter-Question/m-p/1493068#M16541</link>
    <description>&lt;P&gt;&lt;FONT size="5" color="#3366FF"&gt;&lt;STRONG&gt;Context&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I'm using the MCAL for the S32K344 version below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MateoSegura413_3-1658384560053.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187373i3B1E0C08B1C1D714/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MateoSegura413_3-1658384560053.png" alt="MateoSegura413_3-1658384560053.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;All modules have an Init function that takes in a configuration parameter&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MateoSegura413_0-1658384403254.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187370i8FF8F7A8CECCE802/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MateoSegura413_0-1658384403254.png" alt="MateoSegura413_0-1658384403254.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But in most examples, NULL is passed as this argument, as shown below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MateoSegura413_1-1658384457659.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187371iE84B9E62AF997B5A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MateoSegura413_1-1658384457659.png" alt="MateoSegura413_1-1658384457659.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And I'm aware that this is somehow linked to the &lt;STRONG&gt;&lt;EM&gt;ConfiTimeSupport&lt;/EM&gt;&lt;/STRONG&gt; page in the ConfigTools, shown below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MateoSegura413_2-1658384535211.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187372i0BAEC35D050C9889/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MateoSegura413_2-1658384535211.png" alt="MateoSegura413_2-1658384535211.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="5" color="#3366FF"&gt;&lt;STRONG&gt;Questions&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;1. What is the difference between the two statements below?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MateoSegura413_4-1658384913280.png" style="width: 300px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187374i75FDA84CAE16C5D7/image-dimensions/300x60?v=v2" width="300" height="60" role="button" title="MateoSegura413_4-1658384913280.png" alt="MateoSegura413_4-1658384913280.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. How do I find the ConfigPtr for the module? I tried to find the Eth init parameter but had no luck&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MateoSegura413_5-1658384997228.png" style="width: 668px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187375iE69F92C082D9EFDC/image-dimensions/668x89?v=v2" width="668" height="89" role="button" title="MateoSegura413_5-1658384997228.png" alt="MateoSegura413_5-1658384997228.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2022 06:30:50 GMT</pubDate>
    <dc:creator>MateoSegura413</dc:creator>
    <dc:date>2022-07-21T06:30:50Z</dc:date>
    <item>
      <title>MCAL Initialization Parameter Question</title>
      <link>https://community.nxp.com/t5/S32K/MCAL-Initialization-Parameter-Question/m-p/1493068#M16541</link>
      <description>&lt;P&gt;&lt;FONT size="5" color="#3366FF"&gt;&lt;STRONG&gt;Context&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I'm using the MCAL for the S32K344 version below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MateoSegura413_3-1658384560053.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187373i3B1E0C08B1C1D714/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MateoSegura413_3-1658384560053.png" alt="MateoSegura413_3-1658384560053.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;All modules have an Init function that takes in a configuration parameter&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MateoSegura413_0-1658384403254.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187370i8FF8F7A8CECCE802/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MateoSegura413_0-1658384403254.png" alt="MateoSegura413_0-1658384403254.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But in most examples, NULL is passed as this argument, as shown below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MateoSegura413_1-1658384457659.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187371iE84B9E62AF997B5A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MateoSegura413_1-1658384457659.png" alt="MateoSegura413_1-1658384457659.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And I'm aware that this is somehow linked to the &lt;STRONG&gt;&lt;EM&gt;ConfiTimeSupport&lt;/EM&gt;&lt;/STRONG&gt; page in the ConfigTools, shown below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MateoSegura413_2-1658384535211.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187372i0BAEC35D050C9889/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MateoSegura413_2-1658384535211.png" alt="MateoSegura413_2-1658384535211.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="5" color="#3366FF"&gt;&lt;STRONG&gt;Questions&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;1. What is the difference between the two statements below?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MateoSegura413_4-1658384913280.png" style="width: 300px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187374i75FDA84CAE16C5D7/image-dimensions/300x60?v=v2" width="300" height="60" role="button" title="MateoSegura413_4-1658384913280.png" alt="MateoSegura413_4-1658384913280.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. How do I find the ConfigPtr for the module? I tried to find the Eth init parameter but had no luck&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MateoSegura413_5-1658384997228.png" style="width: 668px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187375iE69F92C082D9EFDC/image-dimensions/668x89?v=v2" width="668" height="89" role="button" title="MateoSegura413_5-1658384997228.png" alt="MateoSegura413_5-1658384997228.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 06:30:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCAL-Initialization-Parameter-Question/m-p/1493068#M16541</guid>
      <dc:creator>MateoSegura413</dc:creator>
      <dc:date>2022-07-21T06:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: MCAL Initialization Parameter Question</title>
      <link>https://community.nxp.com/t5/S32K/MCAL-Initialization-Parameter-Question/m-p/1497929#M16734</link>
      <description>&lt;P&gt;&lt;SPAN&gt;1. What is the difference between the two statements below?&lt;BR /&gt;&lt;/SPAN&gt;If you configured Config Variant as Pre-Compile, you don't need to add Parameter for Init function (e.g Eth_Init(NULL) )&lt;BR /&gt;If you configured Config Variant as Post-Build, It's necessary to add pointer to your configure type name as parameter (e.g Eth_Init(&amp;amp;Eth_Config_BOARD_INITPERIPHERALS))&lt;BR /&gt;&lt;BR /&gt;In&amp;nbsp;Pre-Compile case, technically it will auto find the config in your module (normally, will be predefined for the name) and start the Init process.&lt;BR /&gt;In&amp;nbsp;Post-Build case, Init function will find the config name which is given by Parameter in post-build time.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;2.&amp;nbsp;&lt;SPAN&gt;How do I find the ConfigPtr for the module?&lt;BR /&gt;You can check the generated files for corresponds module (for Eth, it can be Eth_BOARD_InitPeripherals_PBcfg.c then check config setup Eth_ConfigType, such as Eth_Config_BOARD_INITPERIPHERALS)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cuongnguyenphu_0-1659086684720.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/188445iA1DE79FC706CB49D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cuongnguyenphu_0-1659086684720.png" alt="cuongnguyenphu_0-1659086684720.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 09:24:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MCAL-Initialization-Parameter-Question/m-p/1497929#M16734</guid>
      <dc:creator>cuongnguyenphu</dc:creator>
      <dc:date>2022-07-29T09:24:57Z</dc:date>
    </item>
  </channel>
</rss>

