<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>ili9325 drive 8 bit interface with nrf51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22553/ili9325-drive-8-bit-interface-with-nrf51822</link><description>I have this 2,4&amp;quot; TFT Display with a IL9325 driver! I need to implement a 8bit 8080 Parallel interface. 
 image description 
 This is my 8 bit write function: 
 // Write 8-bit value data lines 
 void write8(uint8_t data) { 
nrf_gpio_pin_write(pinDataHold</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Dec 2022 22:05:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22553/ili9325-drive-8-bit-interface-with-nrf51822" /><item><title>RE: ili9325 drive 8 bit interface with nrf51822</title><link>https://devzone.nordicsemi.com/thread/402474?ContentTypeID=1</link><pubDate>Wed, 28 Dec 2022 22:05:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:689323bd-de76-4c44-815d-8b5caccd5974</guid><dc:creator>SL06</dc:creator><description>&lt;p&gt;This post is old but for the next user... &amp;nbsp; The above approach is technically correct . &amp;nbsp;You have to put the CS and &amp;nbsp;WR bytes low before sending the data to the TFT &amp;nbsp;and high, after. &amp;nbsp; Using NRF_GPIO &amp;nbsp;OUTCLR &amp;nbsp;and OUTSET is a better approch. &amp;nbsp; They set selected pins of GPIO&amp;nbsp;register in one&amp;nbsp;command.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;uint8_t&lt;/span&gt;&lt;span&gt; data = &lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;c &amp;gt;&amp;gt; &lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt; | &lt;/span&gt;&lt;span&gt;((&lt;/span&gt;&lt;span&gt;c &amp;amp; 0b&lt;/span&gt;&lt;span&gt;00000011&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt; &amp;lt;&amp;lt; &lt;/span&gt;&lt;span&gt;6&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;; &amp;nbsp;// &amp;nbsp;If needed, teorganise your &amp;nbsp;bytes order corresponding to the TFT pin out if&amp;nbsp;&lt;/span&gt;need. Here is&amp;nbsp;for pin D0.. D7 =&amp;gt; Pin 19, 20, 13, 14, 15,16, 17,18 &amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_GPIO&lt;/span&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;&lt;span&gt;OUTCLR&lt;/span&gt;&lt;span&gt; = &lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;0x&lt;/span&gt;&lt;span&gt;FF&lt;/span&gt;&lt;span&gt; &amp;lt;&amp;lt; &lt;/span&gt;&lt;span&gt;13&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;span&gt; //Erase the region, OUTCLEAR Write: writing a &amp;#39;1&amp;#39; sets the pin low; writing a &amp;#39;0&amp;#39; has no effect&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRF_GPIO&lt;/span&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;&lt;span&gt;OUTSET&lt;/span&gt;&lt;span&gt; = &lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;data &amp;lt;&amp;lt; &lt;/span&gt;&lt;span&gt;13&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;; &amp;nbsp;//Send data on selected pin, OUTSET&amp;nbsp;Write: writing a &amp;#39;1&amp;#39; sets the pin high; writing a &amp;#39;0&amp;#39; has no effect&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ili9325 drive 8 bit interface with nrf51822</title><link>https://devzone.nordicsemi.com/thread/88737?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2017 11:52:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c4f3f51-dcbc-4685-a6c9-d6c4266a875e</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Well, does the pins you&amp;#39;re writing to behave the way you expect them to?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>