<?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>ST7735 interfacing instructions</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35606/st7735-interfacing-instructions</link><description>After going through the SDK i came across the ST7735 LCD screen example. 
 On the SDK Page it says example uses the ILI9341 controller, But we can also configure it to use the ST7735 controller. After looking into sdk_config.h it is already enabled as</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Jun 2018 08:37:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35606/st7735-interfacing-instructions" /><item><title>RE: ST7735 interfacing instructions</title><link>https://devzone.nordicsemi.com/thread/137822?ContentTypeID=1</link><pubDate>Wed, 27 Jun 2018 08:37:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:809753a5-d93b-4b7d-b102-92f0ea24a250</guid><dc:creator>Raja</dc:creator><description>&lt;p&gt;Thanks for advice I have purchased it now, will receive it soon. Will test it and send the difference here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ST7735 interfacing instructions</title><link>https://devzone.nordicsemi.com/thread/137575?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 06:52:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56b61996-868a-4291-ac90-8e5616a1480c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;You don&amp;#39;t have a logic analyzer, like the &lt;a href="https://www.saleae.com/?gclid=Cj0KCQjwpcLZBRCnARIsAMPBgF1Wz4Ge6OKJaXYsvQEIFs1yuMQP-YPti7mXJj6ujudHJYLmOIhXoHEaAlKgEALw_wcB"&gt;saleae logic analyzer&lt;/a&gt;, by chance? It would be interresting to see if there are any difference between SDA (MOSI) on the Arduino and the nRF.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regarding the RESET, I am not sure how it behaves. You have to check the datasheet of your screen whether it needs to be grounded or connected to VDD. I believe VDD is typical for these kind of pins. That means that when the pin gets a GND pulse, it will reset.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As you can see &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fgfx_example.html"&gt;here&lt;/a&gt;, it uses the&amp;nbsp;ILI9341.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you sure that there were no changes between the time that it was working and now? Can you try to unzip the SDK again and try with an unmodified version of the example? (only with the changes described to change to the ST LCD screen).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ST7735 interfacing instructions</title><link>https://devzone.nordicsemi.com/thread/137540?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 23:00:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34999872-d565-4a10-a937-21147f41cc07</guid><dc:creator>Raja</dc:creator><description>&lt;p&gt;Hi Edwin, i have checked vcc power is sufficient. Also it is not connected to hub but&amp;nbsp;directly on machine. I am really puzzled what is wrong it was working one day next day it stopped working without any change.&lt;/p&gt;
&lt;p&gt;Are we sure RESET pin needs to be connected to VDD?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have purchased few other LCD none of them works now. Do i need to power up the scl, sda, dc, cs pin to 5 v like arduino?&lt;/p&gt;
&lt;p&gt;What&amp;nbsp;LCD was used in the GFX example at nordic? I can buy and try that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ST7735 interfacing instructions</title><link>https://devzone.nordicsemi.com/thread/137373?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 06:50:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88eefd01-6f35-4faa-a639-f232ee60406d</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Not sure, but it might be that it can&amp;#39;t deliver enough power if you are using a USB hub. Can you try to connect the USB cable that your DK is connected to directly into the computer?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ST7735 interfacing instructions</title><link>https://devzone.nordicsemi.com/thread/137309?ContentTypeID=1</link><pubDate>Sat, 23 Jun 2018 13:49:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f393294-4b05-4fed-b08c-e6dff708cbfc</guid><dc:creator>Raja</dc:creator><description>&lt;p&gt;It is not working anymore. It was working last night now when i switched on the board white screen appears.&amp;nbsp;I initially thought that LCD is broken so tested it on arduino with adafruit library that worked screen started working after i pressed reset button on arduino nano.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then i plugged back lcd for nRF52-DK hoping it will work but it did not work. I pressed reset button even reprogrammed firmware few times but it does not work anymore. It prints the log message on putty but LCD does not work with &lt;span&gt;nRF52-DK now&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;Where as when i plug it on arduino LCD works fine after pressing reset button. Not sure what has gone wrong with it now.&lt;/p&gt;
&lt;p&gt;(Also i have found when&amp;nbsp;i just&amp;nbsp;connect scl and sda to LCD from arduino it turns on the white screen. But this does not&amp;nbsp;happen on&amp;nbsp;&lt;span&gt;nRF52-DK.)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ST7735 interfacing instructions</title><link>https://devzone.nordicsemi.com/thread/137283?ContentTypeID=1</link><pubDate>Fri, 22 Jun 2018 23:08:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:005a0647-1c28-4a2c-bc34-cb3b7f71f9a2</guid><dc:creator>Raja</dc:creator><description>&lt;p&gt;Thank you very much for your kind help Edvin. It has worked final pins are:&lt;/p&gt;
&lt;table class="bbc_table"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;nRF52-DK&lt;/td&gt;
&lt;td&gt;SainSmart&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;25&lt;/td&gt;
&lt;td&gt;SCL&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;23&lt;/td&gt;
&lt;td&gt;SDA&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;22&lt;/td&gt;
&lt;td&gt;CS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;19&lt;/td&gt;
&lt;td&gt;RS/DC&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;vdd&lt;/td&gt;
&lt;td&gt;RES&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5V&lt;/td&gt;
&lt;td&gt;VCC&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gnd&lt;/td&gt;
&lt;td&gt;GND&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Pin 24 not needed.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I used this LCD&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1529764459223v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ST7735 interfacing instructions</title><link>https://devzone.nordicsemi.com/thread/137200?ContentTypeID=1</link><pubDate>Fri, 22 Jun 2018 07:22:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9841202-93c4-4e0b-8ca9-80a5ea750467</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I don&amp;#39;t think pin 24 is used on that LCD screen. It looks like the screen doesn&amp;#39;t send any data to the nRF.&lt;/p&gt;
&lt;p&gt;MOSI (Master Out Slave In) is the SDA pin, but it doesn&amp;#39;t look like the slave has any data out line, so you don&amp;#39;t need to connect 24 to anything.&lt;/p&gt;
&lt;p&gt;Where did you find the RES pin on the LCD device?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I also see that there are two CS pins on the LCD. I don&amp;#39;t know which one is for the screen and which one is for the SD card. try both, but I would assume that the one to the left in your picture is for the LCD.&lt;/p&gt;
&lt;p&gt;I am not sure how to connect the RESET pin either. It depends on how it is configured. If the screen resets when the RESET pin is pulled down, then you should connect it to VDD. If it is reset when the RESET pin is pulled up, it should be connected to a pin configured to this (not part of the SPI). It doesn&amp;#39;t seem like the example project uses this, so try to set it to VDD. If that doesn&amp;#39;t work, you can try to ground it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If anyone else on this forum has any experience with this LCD screen, please share if you know anything about the pin setup.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ST7735 interfacing instructions</title><link>https://devzone.nordicsemi.com/thread/137087?ContentTypeID=1</link><pubDate>Thu, 21 Jun 2018 11:59:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:993917a5-88c2-491d-b57d-6ccadfaf19d4</guid><dc:creator>Raja</dc:creator><description>&lt;table class="bbc_table"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;nRF52-DK&lt;/td&gt;
&lt;td&gt;SainSmart&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;25&lt;/td&gt;
&lt;td&gt;SCL&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;23&lt;/td&gt;
&lt;td&gt;SDA&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;22&lt;/td&gt;
&lt;td&gt;CS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;19&lt;/td&gt;
&lt;td&gt;RS/DC&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;??&lt;/td&gt;
&lt;td&gt;RES&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5V&lt;/td&gt;
&lt;td&gt;VCC&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gnd&lt;/td&gt;
&lt;td&gt;GND&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Does this look right Edvin. Pin 24 i am not sure about where to connect. Also should i connect the reset pin on LCD to&amp;nbsp;the reset button is on&amp;nbsp;nRF52-DK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ST7735 interfacing instructions</title><link>https://devzone.nordicsemi.com/thread/137085?ContentTypeID=1</link><pubDate>Thu, 21 Jun 2018 11:50:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18750162-1c48-4e01-b0c1-2c0d33713f06</guid><dc:creator>Raja</dc:creator><description>&lt;p&gt;Hi Ediv, i tried to match the pins from sdk_config.h with LCD board. So not sure if they are right but will try it today.&lt;/p&gt;
&lt;p&gt;But to which pin should i connect the MISO pin 24 of nRF52-DK to lcd?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ST7735 interfacing instructions</title><link>https://devzone.nordicsemi.com/thread/137070?ContentTypeID=1</link><pubDate>Thu, 21 Jun 2018 11:22:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd332f1d-45b7-40d3-85db-c930643e5bbb</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am not familiar with this device, but you have to change the SPI driver to match the ST7735.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In main.c on line 82:&lt;/p&gt;
&lt;p&gt;static const nrf_lcd_t * p_lcd = &amp;amp;nrf_lcd_ili9341;&lt;/p&gt;
&lt;p&gt;change this to:&lt;/p&gt;
&lt;p&gt;static const nrf_lcd_t * p_lcd = &amp;amp;nrf_lcd_st7735;&lt;/p&gt;
&lt;p&gt;And the p_lcd pointer should use the ST LCD screen instead of the&amp;nbsp;ili9341 LCD.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am not sure about the wiring. It seems like the defines from the sdk_config seems right, where did you find the numbers in the picture to the right?&lt;/p&gt;
&lt;p&gt;Pin 10 (CS)&lt;br /&gt;Pin 08 (SDA&lt;br /&gt;Pin 09 (SCK)&lt;/p&gt;
&lt;p&gt;?&lt;/p&gt;
&lt;p&gt;I would give this a go:&lt;/p&gt;
&lt;p&gt;NRF:&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;ST_LCD (not the ones marked &amp;quot;SD&amp;quot;, but the others) :&lt;/p&gt;
&lt;p&gt;22.................................CS&lt;/p&gt;
&lt;p&gt;23.................................SDA&lt;/p&gt;
&lt;p&gt;24................................. --&lt;/p&gt;
&lt;p&gt;25.................................SCK&lt;/p&gt;
&lt;p&gt;19 (DC)........................??&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am not sure whether the DC is needed. See this thread, where DC is explained.&amp;nbsp;I am not sure, but I suspect that the DC is supposed to be connected to AO. (see &lt;a href="http://forum.arduino.cc/index.php?topic=198881.0"&gt;this thread&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>