<?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 EEE_DRV_InitEeprom() function call takes too long in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/EEE-DRV-InitEeprom-function-call-takes-too-long/m-p/1457847#M21172</link>
    <description>&lt;P&gt;MCU: MPC5775E&lt;/P&gt;&lt;P&gt;IDE : S32k Ds for power&lt;/P&gt;&lt;P&gt;EEE_DRV_InitEeprom() initialization takes 1.3 seconds at each power-up.&amp;nbsp;I have configured 3 64k blocks for EEPROM. Is the initialization time of this eeprom normal? thanks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alexShen__0-1652434548992.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179744i8000401821BDF1BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alexShen__0-1652434548992.png" alt="alexShen__0-1652434548992.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alexShen__0-1652434548992.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 May 2022 09:39:28 GMT</pubDate>
    <dc:creator>alexShen_</dc:creator>
    <dc:date>2022-05-13T09:39:28Z</dc:date>
    <item>
      <title>EEE_DRV_InitEeprom() function call takes too long</title>
      <link>https://community.nxp.com/t5/MPC5xxx/EEE-DRV-InitEeprom-function-call-takes-too-long/m-p/1457847#M21172</link>
      <description>&lt;P&gt;MCU: MPC5775E&lt;/P&gt;&lt;P&gt;IDE : S32k Ds for power&lt;/P&gt;&lt;P&gt;EEE_DRV_InitEeprom() initialization takes 1.3 seconds at each power-up.&amp;nbsp;I have configured 3 64k blocks for EEPROM. Is the initialization time of this eeprom normal? thanks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alexShen__0-1652434548992.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179744i8000401821BDF1BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alexShen__0-1652434548992.png" alt="alexShen__0-1652434548992.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alexShen__0-1652434548992.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 09:39:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/EEE-DRV-InitEeprom-function-call-takes-too-long/m-p/1457847#M21172</guid>
      <dc:creator>alexShen_</dc:creator>
      <dc:date>2022-05-13T09:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: EEE_DRV_InitEeprom() function call takes too long</title>
      <link>https://community.nxp.com/t5/MPC5xxx/EEE-DRV-InitEeprom-function-call-takes-too-long/m-p/1458383#M21186</link>
      <description>&lt;P&gt;Hi Alex,&lt;/P&gt;
&lt;P&gt;the SDK documentation does not contain details about the timing, so let me share documentation for previous standalone version of the drivers - attached. Take a look at "5.1.1 Initialization/Read/Write Timings". MPC5775K is relatively close to MPC5775E, so we can use this one as a reference. This is the timing for three 16KB blocks. As you can see in the table, worst initialization timing is about 100ms. Because the erase time of 64KB is significantly higher:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1652678524087.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179838iB24772739973FC90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1652678524087.png" alt="lukaszadrapa_0-1652678524087.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;lukaszadrapa_0-1652678524087.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;... and because you can have much more data there, it can take much more time.&lt;/P&gt;
&lt;P&gt;To ensure the highest possible performance, make sure that clocks are initialized to maximum before calling init function and also ensure that correct flash wait states are configured and that instruction cache is enabled:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN5191.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN5191.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 05:25:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/EEE-DRV-InitEeprom-function-call-takes-too-long/m-p/1458383#M21186</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2022-05-16T05:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: EEE_DRV_InitEeprom() function call takes too long</title>
      <link>https://community.nxp.com/t5/MPC5xxx/EEE-DRV-InitEeprom-function-call-takes-too-long/m-p/1462292#M21225</link>
      <description>&lt;P&gt;Hi Lukas:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The clocks are initialized to maximum before calling init function.My test is based on the EEPROM Demo project. Use IO to test the EEE initialization time. EEE_Init() will take 1.3 seconds under the EEPROM with data.The following is my test project, thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alexShen__0-1653294799440.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/180604iDC2BCEA34C01B9E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alexShen__0-1653294799440.png" alt="alexShen__0-1653294799440.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;alexShen__0-1653294799440.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 08:41:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/EEE-DRV-InitEeprom-function-call-takes-too-long/m-p/1462292#M21225</guid>
      <dc:creator>alexShen_</dc:creator>
      <dc:date>2022-05-23T08:41:54Z</dc:date>
    </item>
  </channel>
</rss>

