<?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 gfx demo ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69275/st7735-gfx-demo</link><description>Dear Members, 
 
 I saw ST7735_DC_PIN and ST7735_SS_PIN, which one should I connect to my LCD it has only CS pin ? 
 
 ON LCD board ST7735_SCK_PIN 47 --&amp;gt; P1.15 PIN 3 SCK ST7735_MOSI_PIN 45 --&amp;gt; P1.13 PIN 4 MOSI SDA ST7735_MISO_PIN 46 --&amp;gt; P1.14 PIN 6(RS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Dec 2020 08:05:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69275/st7735-gfx-demo" /><item><title>RE: ST7735 gfx demo ?</title><link>https://devzone.nordicsemi.com/thread/284233?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2020 08:05:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13fa989c-58b7-47d7-b5d5-a42111baa2d5</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What version of the nRF5 SDK are you using? You need to look in the datasheet of the display to find the function of each pin.&lt;/p&gt;
&lt;p&gt;If this is a SPI device, remember that SS (Slave Select) = CS (Chip Select). I don&amp;#39;t know what RS, RES or DC do. Searching DevZone, I found the following thread which might be of interest: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/53165/gfx-example-not-working-with-st7735-lcd"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/53165/gfx-example-not-working-with-st7735-lcd&lt;/a&gt;.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;From&amp;nbsp;&lt;em&gt;examples\peripheral\gfx\pca10040\blank\config\sdk_config.h&lt;/em&gt;&amp;nbsp;&lt;em&gt;&lt;/em&gt;(nRF5 SDK v16.0.0) I found the following config settings:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;e&amp;gt; ST7735_ENABLED - st7735 - ST7735R TFT controller
//==========================================================
#ifndef ST7735_ENABLED
#define ST7735_ENABLED 1
#endif
// &amp;lt;h&amp;gt; SPI_CONFIGURATION - SPI configuration

// &amp;lt;o&amp;gt; ST7735_SCK_PIN - Pin number  &amp;lt;0-47&amp;gt; 


#ifndef ST7735_SCK_PIN
#define ST7735_SCK_PIN 25
#endif

// &amp;lt;o&amp;gt; ST7735_MISO_PIN - Pin number  &amp;lt;0-47&amp;gt; 


#ifndef ST7735_MISO_PIN
#define ST7735_MISO_PIN 24
#endif

// &amp;lt;o&amp;gt; ST7735_MOSI_PIN - Pin number  &amp;lt;0-47&amp;gt; 


#ifndef ST7735_MOSI_PIN
#define ST7735_MOSI_PIN 23
#endif

// &amp;lt;o&amp;gt; ST7735_SS_PIN - Pin number  &amp;lt;0-47&amp;gt; 


#ifndef ST7735_SS_PIN
#define ST7735_SS_PIN 22
#endif

// &amp;lt;o&amp;gt; ST7735_IRQ_PRIORITY  - Interrupt priority
 

// &amp;lt;i&amp;gt; Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
// &amp;lt;0=&amp;gt; 0 (highest) 
// &amp;lt;1=&amp;gt; 1 
// &amp;lt;2=&amp;gt; 2 
// &amp;lt;3=&amp;gt; 3 
// &amp;lt;4=&amp;gt; 4 
// &amp;lt;5=&amp;gt; 5 
// &amp;lt;6=&amp;gt; 6 
// &amp;lt;7=&amp;gt; 7 

#ifndef ST7735_IRQ_PRIORITY
#define ST7735_IRQ_PRIORITY 6
#endif

// &amp;lt;/h&amp;gt; 
//==========================================================

// &amp;lt;o&amp;gt; ST7735_SPI_INSTANCE
 
// &amp;lt;0=&amp;gt; 0 
// &amp;lt;1=&amp;gt; 1 
// &amp;lt;2=&amp;gt; 2 

#ifndef ST7735_SPI_INSTANCE
#define ST7735_SPI_INSTANCE 0
#endif

// &amp;lt;o&amp;gt; ST7735_TAB_COLOR  - Color of the tab attached to the screen.
 
// &amp;lt;0=&amp;gt; INITR_GREENTAB 
// &amp;lt;1=&amp;gt; INITR_REDTAB 
// &amp;lt;2=&amp;gt; INITR_BLACKTAB 
// &amp;lt;3=&amp;gt; INITR_144GREENTAB 

#ifndef ST7735_TAB_COLOR
#define ST7735_TAB_COLOR 0
#endif

// &amp;lt;o&amp;gt; ST7735_DC_PIN - Pin number  &amp;lt;0-47&amp;gt; 


#ifndef ST7735_DC_PIN
#define ST7735_DC_PIN 19
#endif

// &amp;lt;o&amp;gt; ST7735_HEIGHT - ST7735 height  &amp;lt;0-162&amp;gt; 


#ifndef ST7735_HEIGHT
#define ST7735_HEIGHT 160
#endif

// &amp;lt;o&amp;gt; ST7735_WIDTH - ST7735 width  &amp;lt;0-132&amp;gt; 


#ifndef ST7735_WIDTH
#define ST7735_WIDTH 128
#endif

// &amp;lt;/e&amp;gt;

// &amp;lt;/h&amp;gt; 
//==========================================================
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I also recommend looking at the drivers of the ST7735:&lt;br /&gt;components\drivers_ext\st7735\st7735.c&lt;/p&gt;
&lt;p&gt;The API reference in our Infocenter:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/group__st7735__config.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/group__st7735__config.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When you have connected correctly, have a loot at the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/gfx_example.html"&gt;GFX Library sample&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ST7735 gfx demo ?</title><link>https://devzone.nordicsemi.com/thread/284218?ContentTypeID=1</link><pubDate>Thu, 10 Dec 2020 03:59:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63fcff5d-0618-4f6d-9712-ae21355da4a3</guid><dc:creator>RixtronixLAB</dc:creator><description>&lt;p&gt;How to wire this LCD ?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/1.77-TFT-display.png" /&gt;&lt;/p&gt;
&lt;p&gt;Where can I connect RES, RS ?&lt;/p&gt;
&lt;p&gt;It has ST7735 chipset but I&amp;#39;m not sure on how to wire it with sdk_config.h&lt;/p&gt;
&lt;p&gt;// &amp;lt;o&amp;gt; ST7735_SCK_PIN - Pin number&amp;nbsp; &amp;lt;0-47&amp;gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#ifndef ST7735_SCK_PIN&lt;br /&gt;#define ST7735_SCK_PIN 47&lt;br /&gt;#endif&lt;br /&gt;&lt;br /&gt;// &amp;lt;o&amp;gt; ST7735_MISO_PIN - Pin number&amp;nbsp; &amp;lt;0-47&amp;gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#ifndef ST7735_MISO_PIN&lt;br /&gt;#define ST7735_MISO_PIN 46&lt;br /&gt;#endif&lt;br /&gt;&lt;br /&gt;// &amp;lt;o&amp;gt; ST7735_MOSI_PIN - Pin number&amp;nbsp; &amp;lt;0-47&amp;gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#ifndef ST7735_MOSI_PIN&lt;br /&gt;#define ST7735_MOSI_PIN 45&lt;br /&gt;#endif&lt;br /&gt;&lt;br /&gt;// &amp;lt;o&amp;gt; ST7735_SS_PIN - Pin number&amp;nbsp; &amp;lt;0-47&amp;gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#ifndef ST7735_SS_PIN&lt;br /&gt;#define ST7735_SS_PIN 44&lt;br /&gt;#endif&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;// &amp;lt;o&amp;gt; ST7735_DC_PIN - Pin number&amp;nbsp; &amp;lt;0-47&amp;gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#ifndef ST7735_DC_PIN&lt;br /&gt;#define ST7735_DC_PIN 42&lt;br /&gt;#endif&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ST7735 gfx demo ?</title><link>https://devzone.nordicsemi.com/thread/284118?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 14:38:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dae87dc0-de6c-44b3-85ba-6a2cbe6a73fc</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not sure this is the correct forum to ask. Have you read the manual of the display?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>