<?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 Re: Q1: How to read from LPC54618 eeprom? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Q1-How-to-read-from-LPC54618-eeprom/m-p/1097106#M42066</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GPIO config code below. No interrupts configured. -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;void alarm_fb_gpio_init(void)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][4]= 0x00000120;&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][5]= 0x00000120; // Mains out of range&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][6]= 0x00000120; // Emergency push button&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][7]= 0x00000120; // Mains fail&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][8]= 0x00000120;&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][9]= 0x00000120;&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][10]= 0x00000120;&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][11]= 0x00000120; // Backdoor-1 open&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][12]= 0x00000120; // Backdoor-2 open&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][14]= 0x00000120; // Spare-1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][15]= 0x00000120; // Spare-2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;// Set as input pins&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; GPIO-&amp;gt;DIRCLR[3] |= (1&amp;lt;&amp;lt;4) | (1&amp;lt;&amp;lt;5) | (1&amp;lt;&amp;lt;6) | (1&amp;lt;&amp;lt;7) \&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; | (1&amp;lt;&amp;lt;8) | (1&amp;lt;&amp;lt;9) | (1&amp;lt;&amp;lt;10)| (1&amp;lt;&amp;lt;11)\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; | (1&amp;lt;&amp;lt;12)| (1&amp;lt;&amp;lt;14)| (1&amp;lt;&amp;lt;15);&lt;/EM&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;EM&gt; CLOCK_EnableClock(kCLOCK_Gpio5);&lt;/EM&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;EM&gt; // GPIO for Doors open buzzer indication&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[5][0]= 0x00000120;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; // Set as output pin&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; GPIO-&amp;gt;DIR[5] |= (1&amp;lt;&amp;lt;0);&lt;/EM&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;EM&gt; // GPIO for Doors open buzzer indication&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[5][1]= 0x00000120;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; // Set as output pin&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; GPIO-&amp;gt;DIR[5] |= (1&amp;lt;&amp;lt;1);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2020 05:56:19 GMT</pubDate>
    <dc:creator>gmk1</dc:creator>
    <dc:date>2020-06-09T05:56:19Z</dc:date>
    <item>
      <title>Q1: How to read from LPC54618 eeprom?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Q1-How-to-read-from-LPC54618-eeprom/m-p/1097099#M42059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By looking at eeprom SDK example, I understood that there is an api only for writing to eeprom using -&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;EEPROM_WritePage(...)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;My requirement is now to read back the same but looks like api is not implemented for that. I wanted to write 4 to 8 my app specific bytes in eeprom to read during bootup or after reset.&lt;/P&gt;&lt;P&gt;What I assume is that one can use -&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;IAP_ReadEEPROMPage(...)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;to read back the content. Is it okay to use both&amp;nbsp;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;EEPROM_WritePage(...)&lt;/EM&gt;&lt;/SPAN&gt; and&amp;nbsp;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;IAP_ReadEEPROMPage(...)&lt;/EM&gt;&lt;/SPAN&gt; to fulfill my requirements. If yes, how?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I also see that&amp;nbsp;&lt;EM&gt;&lt;SPAN style="color: #993300;"&gt;IAP_WriteEEPROMPage(...)&lt;/SPAN&gt;&amp;nbsp;&lt;/EM&gt;function&amp;nbsp;can be used in place of&amp;nbsp;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;EEPROM_WritePage(...)&lt;/EM&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;What are the suggestions?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;- Gmk&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2020 09:25:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Q1-How-to-read-from-LPC54618-eeprom/m-p/1097099#M42059</guid>
      <dc:creator>gmk1</dc:creator>
      <dc:date>2020-05-19T09:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Q1: How to read from LPC54618 eeprom?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Q1-How-to-read-from-LPC54618-eeprom/m-p/1097100#M42060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="334988" data-username="gmk1@amararaja.co.in" href="https://community.nxp.com/people/gmk1@amararaja.co.in"&gt;Gmk 9&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the functions IAP_ReadEEPROMPage() and EEPROM_WritePage() without any issue.&lt;/P&gt;&lt;P&gt;EEPROM_WritePage needs 3 parameters to use it&lt;/P&gt;&lt;P&gt;&amp;nbsp;* param base - EEPROM peripheral base address.&lt;/P&gt;&lt;P&gt;&amp;nbsp;* param pageNum - Page number to be written.&lt;/P&gt;&lt;P&gt;&amp;nbsp;* param data - Data need be written. This array data size shall equal to the page size.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The IAP_ReadEEPROMPage() receives the following parameters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;* param pageNumber - EEPROM page number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;* param dstAddr&amp;nbsp; - Memory address to store the value read from EEPROM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;* param systemCoreClock - Current core clock frequency in kHz.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can refer to the SDK example "iap_eeprom", in that example the functions&amp;nbsp; IAP_ReadEEPROMPage() and&amp;nbsp; IAP_ReadEEPROMPage() are used. To write in EEPROM you can use the function you prefer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if this is helpful, If you have more questions do not hesitate to ask me.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Omar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2020 19:29:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Q1-How-to-read-from-LPC54618-eeprom/m-p/1097100#M42060</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2020-05-20T19:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Q1: How to read from LPC54618 eeprom?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Q1-How-to-read-from-LPC54618-eeprom/m-p/1097101#M42061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Mr Omar...&lt;/P&gt;&lt;P&gt;In "iap_eeprom" example IAP_ReadEEPROMPage() and IAP_WriteEEPROMPage() are used and not the EEPROM_WritePage().&lt;/P&gt;&lt;P&gt;I have done some trails before posting my query here. Below is my observation.&lt;/P&gt;&lt;P&gt;Combination of&amp;nbsp;&lt;SPAN&gt;IAP_ReadEEPROMPage() and IAP_WriteEEPROMPage() is not working properly for me which IDK why!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;On the other hand, combination of&amp;nbsp;IAP_ReadEEPROMPage() and&amp;nbsp;EEPROM_WritePage() is working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can test it by yourself.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'll continue with the working solution as it serves my purpose.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Gmk&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2020 04:04:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Q1-How-to-read-from-LPC54618-eeprom/m-p/1097101#M42061</guid>
      <dc:creator>gmk1</dc:creator>
      <dc:date>2020-05-21T04:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Q1: How to read from LPC54618 eeprom?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Q1-How-to-read-from-LPC54618-eeprom/m-p/1097102#M42062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@&lt;STRONG class="" style="color: #646464; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;Omar Anguiano&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I use&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;IAP_ReadEEPROMPage() or&amp;nbsp;&lt;SPAN&gt;EEPROM_WritePage()&lt;/SPAN&gt; during program execution?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I can observe controller is getting reset internally and that's a big problem!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;How to use&amp;nbsp;&lt;SPAN&gt;IAP_ReadEEPROMPage() during program execution?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2020 11:05:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Q1-How-to-read-from-LPC54618-eeprom/m-p/1097102#M42062</guid>
      <dc:creator>gmk1</dc:creator>
      <dc:date>2020-06-02T11:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Q1: How to read from LPC54618 eeprom?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Q1-How-to-read-from-LPC54618-eeprom/m-p/1097103#M42063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="334988" data-username="gmk1@amararaja.co.in" href="https://community.nxp.com/people/gmk1@amararaja.co.in"&gt;Gmk 9&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reset is not an expected behavior during the execution of the command. You can confirm the source of the reset with the System Reset Status Register SYSRSTSTAT. It could be helpful if you provide me the reset source so we can avoid the reset during the execution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have more questions do not hesitate to ask me.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Omar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2020 19:22:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Q1-How-to-read-from-LPC54618-eeprom/m-p/1097103#M42063</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2020-06-03T19:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Q1: How to read from LPC54618 eeprom?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Q1-How-to-read-from-LPC54618-eeprom/m-p/1097104#M42064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Omar, looks like controller is not getting to RST state &lt;STRONG&gt;but&lt;/STRONG&gt; GPIOs are toggling during execution of EEPROM related activities.&lt;/P&gt;&lt;P&gt;This behaviour looks very strange.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any comments on this?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2020 07:13:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Q1-How-to-read-from-LPC54618-eeprom/m-p/1097104#M42064</guid>
      <dc:creator>gmk1</dc:creator>
      <dc:date>2020-06-04T07:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Q1: How to read from LPC54618 eeprom?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Q1-How-to-read-from-LPC54618-eeprom/m-p/1097105#M42065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="334988" data-username="gmk1@amararaja.co.in" href="https://community.nxp.com/people/gmk1@amararaja.co.in"&gt;Gmk 9&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you detail this issue? How the GPIO's are configured? Does the GPIO have the interruptions enabled?&lt;/P&gt;&lt;P&gt;I agree with you, it is a strange behavior since the EEPROM_WritePage and IAP_ReadEEPROMPage functions don't use any GPIO operations.&lt;/P&gt;&lt;P&gt;It would be helpful if you share me your configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Omar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2020 18:19:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Q1-How-to-read-from-LPC54618-eeprom/m-p/1097105#M42065</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2020-06-05T18:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Q1: How to read from LPC54618 eeprom?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Q1-How-to-read-from-LPC54618-eeprom/m-p/1097106#M42066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GPIO config code below. No interrupts configured. -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;void alarm_fb_gpio_init(void)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][4]= 0x00000120;&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][5]= 0x00000120; // Mains out of range&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][6]= 0x00000120; // Emergency push button&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][7]= 0x00000120; // Mains fail&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][8]= 0x00000120;&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][9]= 0x00000120;&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][10]= 0x00000120;&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][11]= 0x00000120; // Backdoor-1 open&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][12]= 0x00000120; // Backdoor-2 open&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][14]= 0x00000120; // Spare-1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[3][15]= 0x00000120; // Spare-2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;// Set as input pins&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; GPIO-&amp;gt;DIRCLR[3] |= (1&amp;lt;&amp;lt;4) | (1&amp;lt;&amp;lt;5) | (1&amp;lt;&amp;lt;6) | (1&amp;lt;&amp;lt;7) \&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; | (1&amp;lt;&amp;lt;8) | (1&amp;lt;&amp;lt;9) | (1&amp;lt;&amp;lt;10)| (1&amp;lt;&amp;lt;11)\&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; | (1&amp;lt;&amp;lt;12)| (1&amp;lt;&amp;lt;14)| (1&amp;lt;&amp;lt;15);&lt;/EM&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;EM&gt; CLOCK_EnableClock(kCLOCK_Gpio5);&lt;/EM&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;EM&gt; // GPIO for Doors open buzzer indication&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[5][0]= 0x00000120;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; // Set as output pin&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; GPIO-&amp;gt;DIR[5] |= (1&amp;lt;&amp;lt;0);&lt;/EM&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;EM&gt; // GPIO for Doors open buzzer indication&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; IOCON-&amp;gt;PIO[5][1]= 0x00000120;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; // Set as output pin&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; GPIO-&amp;gt;DIR[5] |= (1&amp;lt;&amp;lt;1);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2020 05:56:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Q1-How-to-read-from-LPC54618-eeprom/m-p/1097106#M42066</guid>
      <dc:creator>gmk1</dc:creator>
      <dc:date>2020-06-09T05:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Q1: How to read from LPC54618 eeprom?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Q1-How-to-read-from-LPC54618-eeprom/m-p/1097107#M42067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="334988" data-username="gmk1@amararaja.co.in" href="https://community.nxp.com/people/gmk1@amararaja.co.in"&gt;Gmk 9&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The IOCON registers are well written, the SDK examples initialize the IOCON with the same values (0x120), I suggest you enable the rest of GPIO's clocks before writing in the IOCON registers.&lt;/P&gt;&lt;P&gt;I see that the GPIO directions are configured as an output, for making the GPIO input you can either use the function&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GPIO_PinInit(GPIO_Type *base, uint32_t port, uint32_t pin, const gpio_pin_config_t *config)&lt;/P&gt;&lt;P&gt;Or write:&lt;/P&gt;&lt;P&gt;GPIO-&amp;gt;DIR[port] &amp;amp;= ~(1&amp;lt;&amp;lt;pin);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if this is helpful, if you have more questions do not hesitate to ask me.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Omar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2020 20:44:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Q1-How-to-read-from-LPC54618-eeprom/m-p/1097107#M42067</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2020-06-12T20:44:17Z</dc:date>
    </item>
  </channel>
</rss>

