<?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 [LPC1788] LCD_DCLK signal is not present in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-LCD-DCLK-signal-is-not-present/m-p/821973#M32899</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;P&gt;I'm struggling with getting the LCD controller working in LPC1788. The init code will follow at the end. I'm using LPCOpen libs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using a board which I designed by myself, it's pretty simple, with LPC1788 and 16Mbit SRAM.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And LCD connector for 24 bit TFT display.&lt;/P&gt;&lt;P&gt;I'm getting the VSYNC, HSYNC and DE signals correctly, but the DCLK pin is stuck at 2V DC with nothing much happening on it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The checks I've done so far are:&lt;/P&gt;&lt;P&gt;- configure the LCD_DCLK pin as plain GPIO and setting it to 0 and 1 - checked with oscilloscope. Found. OK, no short-circuits.&amp;nbsp;&lt;BR /&gt;- verified all pin mux settings for DCLK pin.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="P2-2.gif"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/70257iFFDFBD393A088FD9/image-size/large?v=v2&amp;amp;px=999" role="button" title="P2-2.gif" alt="P2-2.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- verified LCD_POL register for any nonsense...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="POL.gif"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/70286i0C466EFF4B0AF5CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="POL.gif" alt="POL.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cannot see anythong wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;LCD_CONFIG_T lcd_config =&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;{&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;24, /*!&amp;lt; Horizontal back porch in clocks */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;14, /*!&amp;lt; Horizontal front porch in clocks */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;16, /*!&amp;lt; HSYNC pulse width in clocks */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;480, /*!&amp;lt; Pixels per line */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;2, /*!&amp;lt; Vertical back porch in clocks */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;4, /*!&amp;lt; Vertical front porch in clocks */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;2, /*!&amp;lt; VSYNC pulse width in clocks */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;800, /*!&amp;lt; Lines per panel */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;0, /*!&amp;lt; Invert output enable, 1 = invert */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;0, /*!&amp;lt; Invert panel clock, 1 = invert */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;0, /*!&amp;lt; Invert HSYNC, 1 = invert */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;1, /*!&amp;lt; Invert VSYNC, 1 = invert */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;0, /*!&amp;lt; AC bias frequency in clocks (not used) */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;24, /*!&amp;lt; Maximum bits per pixel the display supports */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;LCD_TFT, /*!&amp;lt; LCD panel type */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;LCD_COLOR_FORMAT_RGB, /*!&amp;lt;BGR or RGB */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;0 /*!&amp;lt; Dual panel, 1 = dual panel display */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;Chip_LCD_Init(LPC_LCD, &amp;amp;lcd_config);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;LPC_LCD-&amp;gt;INTCLR = LCD_INTCLR_FUFIC | LCD_INTCLR_LNBUIC | LCD_INTCLR_VCOMPIC | LCD_INTCLR_BERIC;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;LPC_LCD-&amp;gt;UPBASE = 0x80000000;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;LPC_LCD-&amp;gt;LPBASE = 0x80000000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;LPC_LCD-&amp;gt;CTRL |= CLCDC_LCDCTRL_ENABLE;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;delayMs(100);&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;LPC_LCD-&amp;gt;CTRL |= CLCDC_LCDCTRL_PWR;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Dec 2018 20:36:19 GMT</pubDate>
    <dc:creator>arturmiller</dc:creator>
    <dc:date>2018-12-20T20:36:19Z</dc:date>
    <item>
      <title>[LPC1788] LCD_DCLK signal is not present</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-LCD-DCLK-signal-is-not-present/m-p/821973#M32899</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;P&gt;I'm struggling with getting the LCD controller working in LPC1788. The init code will follow at the end. I'm using LPCOpen libs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using a board which I designed by myself, it's pretty simple, with LPC1788 and 16Mbit SRAM.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And LCD connector for 24 bit TFT display.&lt;/P&gt;&lt;P&gt;I'm getting the VSYNC, HSYNC and DE signals correctly, but the DCLK pin is stuck at 2V DC with nothing much happening on it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The checks I've done so far are:&lt;/P&gt;&lt;P&gt;- configure the LCD_DCLK pin as plain GPIO and setting it to 0 and 1 - checked with oscilloscope. Found. OK, no short-circuits.&amp;nbsp;&lt;BR /&gt;- verified all pin mux settings for DCLK pin.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="P2-2.gif"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/70257iFFDFBD393A088FD9/image-size/large?v=v2&amp;amp;px=999" role="button" title="P2-2.gif" alt="P2-2.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- verified LCD_POL register for any nonsense...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="POL.gif"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/70286i0C466EFF4B0AF5CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="POL.gif" alt="POL.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cannot see anythong wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;LCD_CONFIG_T lcd_config =&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;{&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;24, /*!&amp;lt; Horizontal back porch in clocks */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;14, /*!&amp;lt; Horizontal front porch in clocks */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;16, /*!&amp;lt; HSYNC pulse width in clocks */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;480, /*!&amp;lt; Pixels per line */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;2, /*!&amp;lt; Vertical back porch in clocks */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;4, /*!&amp;lt; Vertical front porch in clocks */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;2, /*!&amp;lt; VSYNC pulse width in clocks */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;800, /*!&amp;lt; Lines per panel */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;0, /*!&amp;lt; Invert output enable, 1 = invert */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;0, /*!&amp;lt; Invert panel clock, 1 = invert */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;0, /*!&amp;lt; Invert HSYNC, 1 = invert */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;1, /*!&amp;lt; Invert VSYNC, 1 = invert */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;0, /*!&amp;lt; AC bias frequency in clocks (not used) */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;24, /*!&amp;lt; Maximum bits per pixel the display supports */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;LCD_TFT, /*!&amp;lt; LCD panel type */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;LCD_COLOR_FORMAT_RGB, /*!&amp;lt;BGR or RGB */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;0 /*!&amp;lt; Dual panel, 1 = dual panel display */&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;Chip_LCD_Init(LPC_LCD, &amp;amp;lcd_config);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;LPC_LCD-&amp;gt;INTCLR = LCD_INTCLR_FUFIC | LCD_INTCLR_LNBUIC | LCD_INTCLR_VCOMPIC | LCD_INTCLR_BERIC;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;LPC_LCD-&amp;gt;UPBASE = 0x80000000;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;LPC_LCD-&amp;gt;LPBASE = 0x80000000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;LPC_LCD-&amp;gt;CTRL |= CLCDC_LCDCTRL_ENABLE;&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;delayMs(100);&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-size: 13px; font-family: 'courier new', courier, monospace;"&gt;LPC_LCD-&amp;gt;CTRL |= CLCDC_LCDCTRL_PWR;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2018 20:36:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-LCD-DCLK-signal-is-not-present/m-p/821973#M32899</guid>
      <dc:creator>arturmiller</dc:creator>
      <dc:date>2018-12-20T20:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: [LPC1788] LCD_DCLK signal is not present</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-LCD-DCLK-signal-is-not-present/m-p/821974#M32900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've spotted a mistake in the line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;24, /*!&amp;lt; Maximum bits per pixel the display supports */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;as the value goes directly to the CTL reg, it should actually be 0x05. But the fix did not help to get the DCLK .&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2018 08:51:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-LCD-DCLK-signal-is-not-present/m-p/821974#M32900</guid>
      <dc:creator>arturmiller</dc:creator>
      <dc:date>2018-12-21T08:51:57Z</dc:date>
    </item>
  </channel>
</rss>

