<?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>LPC MicrocontrollersのトピックRe: Configuring port to input and output in LPC845</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857210#M34102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most of the LCDs have a pseudo-bidirectional bus, an N-channel FET to drive it low and a constant current source at the top. You can therefore save a lot of code by setting the BUS pins to open-drain. Then you don't have to bother with the DIR register, just write 1s to the pins when they are inputs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The later OLEDs have a proper push-pull driver, but you can achieve the same thing by adding pull-up resistors (about 3.3k seems to work). Unfortunately, the built-in pullups are too high a value making the interface too slow.&lt;/P&gt;&lt;P&gt;Also, note that the new OLEDs won't work from the 3.3V output of the LPC845- you need to level shift to 5V to achieve a HI input (but the open-drain and pull-up technique deals with this). You will still have to buffer RW, R and E to get a 5V signal, but it's output only, so a simple 74HCT04 does the job.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Mar 2019 15:10:12 GMT</pubDate>
    <dc:creator>ianbenton</dc:creator>
    <dc:date>2019-03-21T15:10:12Z</dc:date>
    <item>
      <title>Configuring port to input and output in LPC845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857202#M34094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to configure port pins high and low for particular port pins,&lt;/P&gt;&lt;P&gt;please let me know the below procedure is correct:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define DATA_BUS&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; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;LPC_GPIO_PORT-&amp;gt;DIRSET0&lt;BR /&gt;#define CONTROL_BUS&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; LPC_GPIO_PORT-&amp;gt;DIRSET1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the part of the code to toggle led for example P0_12 [PORT 0, 12th pin]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(count&amp;lt;800000)// &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;LPC_GPIO_PORT-&amp;gt;DIRSET0= 1&amp;lt;&amp;lt;(LED_RED);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_GPIO_PORT-&amp;gt;CLR0 = 1&amp;lt;&amp;lt;(LED_RED);&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if(count&amp;gt;800000&amp;amp;&amp;amp;count&amp;lt;1600000)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;LPC_GPIO_PORT-&amp;gt;DIRSET0= 1&amp;lt;&amp;lt;(LED_RED);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;LPC_GPIO_PORT-&amp;gt;CLR0= 1&amp;lt;&amp;lt;(LED_RED);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(count&amp;gt;1600000&amp;amp;&amp;amp;count&amp;lt;2000000)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;LPC_GPIO_PORT-&amp;gt;DIRSET0= 1&amp;lt;&amp;lt;(LED_RED);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;LPC_GPIO_PORT-&amp;gt;SET0= 1&amp;lt;&amp;lt;(LED_RED);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to know is there any other way to set the port pin to input and output[high/low] using other&lt;/P&gt;&lt;P&gt;peripheral gpio pins?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is I need to 2 ports which I should configure to input and output, and direct those pins to&lt;/P&gt;&lt;P&gt;data pins[D4-D7], and control pins[RS, RW, EN] to interface the LCD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2019 08:16:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857202#M34094</guid>
      <dc:creator>vidhya1</dc:creator>
      <dc:date>2019-03-14T08:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring port to input and output in LPC845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857203#M34095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You need initialize SYSAHBCLKCTRL to enable GPIO clock.&lt;/P&gt;&lt;P&gt;You need also config SWM to make sure the fixed pin is disabled and the pin is used as GPIO.&lt;/P&gt;&lt;P&gt;after above initialization, you can set pin direction and value as you did.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2019 12:35:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857203#M34095</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-03-18T12:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring port to input and output in LPC845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857204#M34096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the response.&lt;/P&gt;&lt;P&gt;Yes initialized SYSAHBCLKCTRL register, but not sure how to configure&lt;/P&gt;&lt;P&gt;SWM to make the pin as GPIO, referred user manual of LPC845, in that&lt;/P&gt;&lt;P&gt;page 131, Table.179, since they have given movable functions,&lt;/P&gt;&lt;P&gt;Is there any tool for switch matrix? Since i'm using keil ide 5.26&lt;/P&gt;&lt;P&gt;Or only need to configure the pin like SYSAHBCLKCTRL register?&lt;/P&gt;&lt;P&gt;Kindly advice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2019 09:16:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857204#M34096</guid>
      <dc:creator>vidhya1</dc:creator>
      <dc:date>2019-03-19T09:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring port to input and output in LPC845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857205#M34097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;SYSAHBCLKCTRL is to enable/disable model clock.&lt;/P&gt;&lt;P&gt;For LPC845, By default,the GPIO function is selected except on pins PIO0_2, PIO0_3, and PIO0_5. See datasheet 7.2 Pin description. So most of the pins are GPIO feature by default.&lt;/P&gt;&lt;P&gt;For Pin config tool, please see below url:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/developer-resources/software-development-tools/mcuxpresso-software-and-tools/mcuxpresso-config-tools-pins-clocks-peripherals:MCUXpresso-Config-Tools" title="https://www.nxp.com/support/developer-resources/software-development-tools/mcuxpresso-software-and-tools/mcuxpresso-config-tools-pins-clocks-peripherals:MCUXpresso-Config-Tools"&gt;MCUXpresso Config Tools|Software Development for NXP Microcontrollers (MCUs) | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2019 04:04:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857205#M34097</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-03-20T04:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring port to input and output in LPC845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857206#M34098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Day Sir!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I'm using keil u vision IDE for LCP845 MCU, is there any link&lt;/P&gt;&lt;P&gt;to check for pin config tool, since MCUXpresso IDE is very new&lt;/P&gt;&lt;P&gt;for me and takes much time to understand.&lt;/P&gt;&lt;P&gt;And is there any sample code for movable function ,&lt;/P&gt;&lt;P&gt;so that will try to understand how to configure movable pins first,&lt;/P&gt;&lt;P&gt;and I have attached the sample codes for keil which i'm referring for&lt;/P&gt;&lt;P&gt;DAC, timers and other peripherals, so is this sample codes correct for &lt;/P&gt;&lt;P&gt;referring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2019 05:18:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857206#M34098</guid>
      <dc:creator>vidhya1</dc:creator>
      <dc:date>2019-03-20T05:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring port to input and output in LPC845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857207#M34099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As I answered in my previous email, Pin Config tool can be download from this url:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/developer-resources/software-development-tools/mcuxpresso-software-and-tools/mcuxpresso-config-tools-pins-clocks-peripherals:MCUXpresso-Config-Tools" title="https://www.nxp.com/support/developer-resources/software-development-tools/mcuxpresso-software-and-tools/mcuxpresso-config-tools-pins-clocks-peripherals:MCUXpresso-Config-Tools"&gt;MCUXpresso Config Tools|Software Development for NXP Microcontrollers (MCUs) | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the document&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/user-guide/GSMCUXCTUG.pdf" title="https://www.nxp.com/docs/en/user-guide/GSMCUXCTUG.pdf"&gt;https://www.nxp.com/docs/en/user-guide/GSMCUXCTUG.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See Chapter 3, Pin Tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have more question about Config Tool, as this is another topic, please create a new question here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/space/11556"&gt;MCUXpresso Config Tools&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your other question about DAC project, as this is another topic, please create a new thread for this.&lt;/P&gt;&lt;P&gt;Let's keep one thread for one topic. Thanks for your understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2019 06:03:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857207#M34099</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-03-20T06:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring port to input and output in LPC845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857208#M34100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok sir, thank you so much, will go through the document,&lt;/P&gt;&lt;P&gt;and will create a separate thread for the peripherals&lt;/P&gt;&lt;P&gt;as you suggested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2019 08:27:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857208#M34100</guid>
      <dc:creator>vidhya1</dc:creator>
      <dc:date>2019-03-20T08:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring port to input and output in LPC845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857209#M34101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fine. I also appreciate your understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2019 08:30:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857209#M34101</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-03-20T08:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring port to input and output in LPC845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857210#M34102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Most of the LCDs have a pseudo-bidirectional bus, an N-channel FET to drive it low and a constant current source at the top. You can therefore save a lot of code by setting the BUS pins to open-drain. Then you don't have to bother with the DIR register, just write 1s to the pins when they are inputs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The later OLEDs have a proper push-pull driver, but you can achieve the same thing by adding pull-up resistors (about 3.3k seems to work). Unfortunately, the built-in pullups are too high a value making the interface too slow.&lt;/P&gt;&lt;P&gt;Also, note that the new OLEDs won't work from the 3.3V output of the LPC845- you need to level shift to 5V to achieve a HI input (but the open-drain and pull-up technique deals with this). You will still have to buffer RW, R and E to get a 5V signal, but it's output only, so a simple 74HCT04 does the job.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2019 15:10:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857210#M34102</guid>
      <dc:creator>ianbenton</dc:creator>
      <dc:date>2019-03-21T15:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring port to input and output in LPC845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857211#M34103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the response.&lt;/P&gt;&lt;P&gt;Presently now I'm using LCD display, and configured the gpio pins in the&lt;/P&gt;&lt;P&gt;following way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define DATA_BUS   		LPC_GPIO_PORT-&amp;gt;DIRSET0&lt;/P&gt;&lt;P&gt;#define CONTROL_BUS   		LPC_GPIO_PORT-&amp;gt;DIRSET0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define CONTROL_SET   		LPC_GPIO_PORT-&amp;gt;SET0&lt;/P&gt;&lt;P&gt;#define CONTROL_CLEAR   	LPC_GPIO_PORT-&amp;gt;CLR0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define DATA_SET      		LPC_GPIO_PORT-&amp;gt;SET0&lt;/P&gt;&lt;P&gt;#define DATA_CLEAR      	LPC_GPIO_PORT-&amp;gt;CLR0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will apply and work on the points you suggested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2019 06:37:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857211#M34103</guid>
      <dc:creator>vidhya1</dc:creator>
      <dc:date>2019-03-22T06:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring port to input and output in LPC845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857212#M34104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a further thought. If it turns out you need a level-shifting buffer (74LVC245) to get D0-D7 from 3.3V to 5V, then how about this solution. . .&lt;/P&gt;&lt;P&gt;Use a 74HCT595 instead, and&amp;nbsp;connect it to an SPI port. You need a lot fewer connections to the processor, and they don't have to run in order.&lt;/P&gt;&lt;P&gt;I'll supply further details if you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2019 08:24:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857212#M34104</guid>
      <dc:creator>ianbenton</dc:creator>
      <dc:date>2019-03-22T08:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring port to input and output in LPC845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857213#M34105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since the display I'm using won't support SPI or I2C interface, I'm&lt;/P&gt;&lt;P&gt;doing parallel interfacing of 8x2 lcd, if you come across supporting&lt;/P&gt;&lt;P&gt;driver files[lcd.c &amp;amp;lcd.h] files for LPC845M301JBD64 or any equivalent&lt;/P&gt;&lt;P&gt;MCU for lpc845, kindly provide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2019 09:55:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857213#M34105</guid>
      <dc:creator>vidhya1</dc:creator>
      <dc:date>2019-03-22T09:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring port to input and output in LPC845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857214#M34106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 74HCT595 converts serial to parallel, so you can connect a parallel display to the SPI port.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2019 10:36:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Configuring-port-to-input-and-output-in-LPC845/m-p/857214#M34106</guid>
      <dc:creator>ianbenton</dc:creator>
      <dc:date>2019-03-22T10:36:30Z</dc:date>
    </item>
  </channel>
</rss>

