<?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: LCD interfacing with ARM cortex M0+ lpc845 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCD-interfacing-with-ARM-cortex-M0-lpc845/m-p/854874#M34005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I suggest you connect the GPIO pin to a oscilloscope and check if the GPIO toggles after you set/clear the GPIO pins by code, if the GPIO pin toggles, it means that the code is okay.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Mar 2019 07:45:54 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2019-03-15T07:45:54Z</dc:date>
    <item>
      <title>LCD interfacing with ARM cortex M0+ lpc845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCD-interfacing-with-ARM-cortex-M0-lpc845/m-p/854869#M34000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;P&gt;I'm trying to interface 8x2 lcd using parallel interfacing[4 bit mode], Display used - 8x2 lcd [PC 0802--A] ST7066U--Dot Matrix LCD Controller/Driver&lt;/P&gt;&lt;P&gt;Since i'm trying to interface using GPIO pins, not using I2C or SPI interface, and since no drivers are there for this particular MCU[LPC845], I compared with lpc2148 MCU [lcd.c and lcd.h files], and have made the changes, but not able to write to the display.&lt;/P&gt;&lt;P&gt;And when checked the data/command signals in the oscilloscope, in data pins I'm getting float voltages[i.e., for d4-D7] LOW signal on this pins, and high signals on command pins[RS,RW,EN].&lt;/P&gt;&lt;P&gt;Kindly suggest me the process of writing the char/string to the display varies for ARM mcu?as i'm referring lpc2148 libraries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2019 05:29:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCD-interfacing-with-ARM-cortex-M0-lpc845/m-p/854869#M34000</guid>
      <dc:creator>vidhya1</dc:creator>
      <dc:date>2019-03-14T05:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: LCD interfacing with ARM cortex M0+ lpc845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCD-interfacing-with-ARM-cortex-M0-lpc845/m-p/854870#M34001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;The LPC845 does not have LCD interface, you would like to use GPIO to simulate the LCD timing so that you can write data to the LCD display.&lt;/P&gt;&lt;P&gt;Can you use the LPC family which has LCD interface for example LPC54xxx for example LPC54608?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/lpc-cortex-m-mcus/lpc54000-cortex-m4-/power-efficient-microcontrollers-mcus-with-advanced-peripherals-based-on-arm-cortex-m4-core:LPC546XX" title="https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/lpc-cortex-m-mcus/lpc54000-cortex-m4-/power-efficient-microcontrollers-mcus-with-advanced-peripherals-based-on-arm-cortex-m4-core:LPC546XX"&gt;LPC546XX Microcontroller (MCU) Family | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do want to use the LPC845, can you post the LCD data sheet so that we can check the LCD interface timing?&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2019 09:49:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCD-interfacing-with-ARM-cortex-M0-lpc845/m-p/854870#M34001</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-03-14T09:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: LCD interfacing with ARM cortex M0+ lpc845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCD-interfacing-with-ARM-cortex-M0-lpc845/m-p/854871#M34002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes sir I'm using GPIO's for interfacing and writing data to display, since we have started&lt;/P&gt;&lt;P&gt;working on LPC845 mcu, is there any other MCU compatible to this and there 8x2 LCD&lt;/P&gt;&lt;P&gt;display used?&lt;/P&gt;&lt;P&gt;I have attached the datasheet and the code for reference.&lt;/P&gt;&lt;P&gt;Please suggest me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://wetransfer.com/downloads/89da07604cfdcbf426978a1300994de220190314105349/09a6b71f312b14490048d6e15710a0f520190314105349/5cafba"&gt;https://wetransfer.com/downloads/89da07604cfdcbf426978a1300994de220190314105349/09a6b71f312b14490048d6e15710a0f520190314105349/5cafba&lt;/A&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>Thu, 14 Mar 2019 10:56:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCD-interfacing-with-ARM-cortex-M0-lpc845/m-p/854871#M34002</guid>
      <dc:creator>vidhya1</dc:creator>
      <dc:date>2019-03-14T10:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: LCD interfacing with ARM cortex M0+ lpc845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCD-interfacing-with-ARM-cortex-M0-lpc845/m-p/854872#M34003</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 have to configure the GPIO pins as GPIO output mode, you can set and clear the pins as you expected.&lt;/P&gt;&lt;P&gt;Firstly, you have to enable the GPIO clock.&lt;/P&gt;&lt;P&gt;Pls refer to the section 8.6.22 System clock control 0 register. For example, you can set the GPIO0 clock with the code:&lt;/P&gt;&lt;P&gt;SYSCON-&amp;gt;SYSAHBCLKCTRL0|=1&amp;lt;&amp;lt;6|1&amp;lt;&amp;lt;20|1&amp;lt;&amp;lt;18; //enable the GPIO0, GPIO1 and IOCON modules clock&lt;/P&gt;&lt;P&gt;SYSCON-&amp;gt;PRESETCTRL0|=1&amp;lt;&amp;lt;61&amp;lt;&amp;lt;20; //clear GPIO reset, the line may be unnecessary&lt;/P&gt;&lt;P&gt;Then you can set the GPIO direction register&lt;/P&gt;&lt;P&gt;GPIO-&amp;gt;DIR[0]|=1&amp;lt;&amp;lt;(GPIOPinIndex);&lt;/P&gt;&lt;P&gt;then you can set/clear the pin&lt;/P&gt;&lt;P&gt;//set pin&lt;/P&gt;&lt;P&gt;GPIO-&amp;gt;SET[0]=1&amp;lt;&amp;lt;(GPIOPinIndex);&lt;/P&gt;&lt;P&gt;//clear pin&lt;/P&gt;&lt;P&gt;GPIO-&amp;gt;CLR[0]=1&amp;lt;&amp;lt;(GPIOPinIndex);&lt;/P&gt;&lt;P&gt;Pls have a try&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2019 03:40:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCD-interfacing-with-ARM-cortex-M0-lpc845/m-p/854872#M34003</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-03-15T03:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: LCD interfacing with ARM cortex M0+ lpc845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCD-interfacing-with-ARM-cortex-M0-lpc845/m-p/854873#M34004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sir thanks for the explanation, before trying this I had changed for below configuration registers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_SYSCON-&amp;gt;SYSAHBCLKCTRL0 |= (WKT|MRT|GPIO);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;LPC_SYSCON-&amp;gt;SYSAHBCLKCTRL[0] |= GPIO1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;LPC_SYSCON-&amp;gt;SYSAHBCLKCTRL[0] |= GPIO0;&lt;/P&gt;&lt;P&gt;And after I compiled with the above changes getting junk/characters on display, then again&lt;/P&gt;&lt;P&gt;added the above configuration to try with the configuration for the GPIO clock you suggested,&lt;/P&gt;&lt;P&gt;but getting blank display, so cross checking with the data pins again.&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, 15 Mar 2019 07:30:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCD-interfacing-with-ARM-cortex-M0-lpc845/m-p/854873#M34004</guid>
      <dc:creator>vidhya1</dc:creator>
      <dc:date>2019-03-15T07:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: LCD interfacing with ARM cortex M0+ lpc845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCD-interfacing-with-ARM-cortex-M0-lpc845/m-p/854874#M34005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I suggest you connect the GPIO pin to a oscilloscope and check if the GPIO toggles after you set/clear the GPIO pins by code, if the GPIO pin toggles, it means that the code is okay.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2019 07:45:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCD-interfacing-with-ARM-cortex-M0-lpc845/m-p/854874#M34005</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-03-15T07:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: LCD interfacing with ARM cortex M0+ lpc845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCD-interfacing-with-ARM-cortex-M0-lpc845/m-p/854875#M34006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok sir will check it, but kindly tell me&lt;/P&gt;&lt;P&gt;all 4 data pins[d4-d7] used should toggle?&lt;/P&gt;&lt;P&gt;And what should be the status of RS,RW,EN port pins?&lt;/P&gt;&lt;P&gt;It should remain high[control pins]? Please confirm&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, 15 Mar 2019 07:57:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCD-interfacing-with-ARM-cortex-M0-lpc845/m-p/854875#M34006</guid>
      <dc:creator>vidhya1</dc:creator>
      <dc:date>2019-03-15T07:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: LCD interfacing with ARM cortex M0+ lpc845</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LCD-interfacing-with-ARM-cortex-M0-lpc845/m-p/1512693#M49969</link>
      <description>Hello friends I'm looking for a tutorial for connect with lpc845 and LCD16X2, can you help me, please?&amp;nbsp;</description>
      <pubDate>Sat, 27 Aug 2022 11:54:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LCD-interfacing-with-ARM-cortex-M0-lpc845/m-p/1512693#M49969</guid>
      <dc:creator>tdaniel</dc:creator>
      <dc:date>2022-08-27T11:54:30Z</dc:date>
    </item>
  </channel>
</rss>

