<?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>Locate defined pins in a proyect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22017/locate-defined-pins-in-a-proyect</link><description>Hello mates, Im trying to run this proyect: 
 nrf52-spi-i2c-master-ssd1306 ( github.com/.../nrf52-spi-i2c-master-ssd1306 ) 
 I have the display and that kit development, but I cant run the proyect cause i dont know how is the wired, where can i find</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Jul 2020 14:31:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22017/locate-defined-pins-in-a-proyect" /><item><title>RE: Locate defined pins in a proyect</title><link>https://devzone.nordicsemi.com/thread/260182?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2020 14:31:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fc1b974-f86a-4293-89f2-2b11bc94b9a9</guid><dc:creator>Sigurd</dc:creator><description>[quote user="lavande"]What should I do to&amp;nbsp;&lt;span&gt;nrf_gpio_cfg of VDD PIN?&lt;/span&gt;[/quote]
&lt;p&gt;&amp;nbsp;Use an available GPIO pin from the nRF52 as &amp;quot;VDD Pin&amp;quot;. In the 3rd party driver code linked to in this case, pin 2 is used as VDD. Looking at the datasheet for SSD1306(&lt;a href="https://cdn-shop.adafruit.com/datasheets/SSD1306.pdf"&gt;https://cdn-shop.adafruit.com/datasheets/SSD1306.pdf&lt;/a&gt;),&amp;nbsp;VDD is &amp;quot;Power supply pin for core logic operation&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locate defined pins in a proyect</title><link>https://devzone.nordicsemi.com/thread/259599?ContentTypeID=1</link><pubDate>Mon, 13 Jul 2020 03:46:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:383f283c-c88a-4fce-b0a0-afed518ab5d5</guid><dc:creator>lavande</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/sigurdon"&gt;Sigurd&lt;/a&gt;Hi Sigurd,&amp;nbsp; Our VDD ping is connect to VCC_3.3 and cannot be controlled. What should I do to&amp;nbsp;&lt;span&gt;nrf_gpio_cfg of VDD PIN?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If I remove it , the screen cant light on.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The following is the sample code.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;nrf_gpio_cfg(&lt;br /&gt; SSD1306_CONFIG_VDD_PIN,&lt;br /&gt; NRF_GPIO_PIN_DIR_OUTPUT,&lt;br /&gt; NRF_GPIO_PIN_INPUT_DISCONNECT,&lt;br /&gt; NRF_GPIO_PIN_NOPULL,&lt;br /&gt; NRF_GPIO_PIN_H0S1,&lt;br /&gt; NRF_GPIO_PIN_NOSENSE);&lt;/p&gt;
&lt;p&gt;nrf_gpio_pin_set(SSD1306_CONFIG_VDD_PIN);&lt;/p&gt;
&lt;p&gt;//ssd1306_init_i2c(SSD1306_CONFIG_SCL_PIN, SSD1306_CONFIG_SDA_PIN);&lt;br /&gt;//ssd1306_begin(SSD1306_SWITCHCAPVCC, SSD1306_I2C_ADDRESS, false);&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locate defined pins in a proyect</title><link>https://devzone.nordicsemi.com/thread/259308?ContentTypeID=1</link><pubDate>Fri, 10 Jul 2020 03:08:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b678b6c3-e6d5-4dfc-bf83-9b6c21f1adf7</guid><dc:creator>lavande</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/sigurdon"&gt;Sigurd&lt;/a&gt;Hi Sigurd,&amp;nbsp; Our VDD ping is connect to VCC_3.3 and cannot be controlled. What should I do to&amp;nbsp;&lt;span&gt;nrf_gpio_cfg of VDD PIN?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If I remove it , the screen cant light on.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The following is the sample code.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;nrf_gpio_cfg(&lt;br /&gt; SSD1306_CONFIG_VDD_PIN,&lt;br /&gt; NRF_GPIO_PIN_DIR_OUTPUT,&lt;br /&gt; NRF_GPIO_PIN_INPUT_DISCONNECT,&lt;br /&gt; NRF_GPIO_PIN_NOPULL,&lt;br /&gt; NRF_GPIO_PIN_H0S1,&lt;br /&gt; NRF_GPIO_PIN_NOSENSE);&lt;/p&gt;
&lt;p&gt;nrf_gpio_pin_set(SSD1306_CONFIG_VDD_PIN);&lt;/p&gt;
&lt;p&gt;//ssd1306_init_i2c(SSD1306_CONFIG_SCL_PIN, SSD1306_CONFIG_SDA_PIN);&lt;br /&gt;//ssd1306_begin(SSD1306_SWITCHCAPVCC, SSD1306_I2C_ADDRESS, false);&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locate defined pins in a proyect</title><link>https://devzone.nordicsemi.com/thread/86392?ContentTypeID=1</link><pubDate>Mon, 15 May 2017 07:46:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd746b28-177a-4021-b4c3-507c745405f2</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Depends on if you want to use I2C(TWI) or SPI. In the code you linked to i2c is used by default, and then I believe you only need to connect SCL(&lt;code&gt;SSD1306_CONFIG_SCL_PIN&lt;/code&gt;), SDA(&lt;code&gt;SSD1306_CONFIG_SDA_PIN&lt;/code&gt;), VDD and ground&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locate defined pins in a proyect</title><link>https://devzone.nordicsemi.com/thread/86391?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 16:40:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45969fcf-7a2c-4039-a07b-683ac9e063f6</guid><dc:creator>JuanjoAlm</dc:creator><description>&lt;p&gt;But I only have this pins in my display:
&lt;a href="https://cdn-learn.adafruit.com/guides.."&gt;cdn-learn.adafruit.com/guides..&lt;/a&gt;.
Then i cant see in main.c the next pins:
Data, 3v3, Vin and GND.
For example, I should connect CLK pin to kit&amp;#39;s pin number 23?
Thanks mate!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locate defined pins in a proyect</title><link>https://devzone.nordicsemi.com/thread/86389?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 16:32:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c830485-aecd-4e4c-8cd4-f7acf5049e93</guid><dc:creator>JuanjoAlm</dc:creator><description>&lt;p&gt;But I only have this pins in my display:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://cdn-learn.adafruit.com/guides/images/000/000/633/medium800/DSC00469_copy.jpg?1448301844"&gt;cdn-learn.adafruit.com/.../DSC00469_copy.jpg&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then i cant see in main.c the next pins:&lt;/p&gt;
&lt;p&gt;Data, 3v3, Vin and GND.&lt;/p&gt;
&lt;p&gt;For example, I should connect CLK pin to kit&amp;#39;s pin number 23?&lt;/p&gt;
&lt;p&gt;Thanks mate!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Locate defined pins in a proyect</title><link>https://devzone.nordicsemi.com/thread/86390?ContentTypeID=1</link><pubDate>Fri, 12 May 2017 16:17:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:208fb191-4068-4f6c-a42c-18cbc6146525</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;From the main.c we have the following defines for the display:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define SSD1306_CONFIG_VDD_PIN      2
#define SSD1306_CONFIG_CLK_PIN      23
#define SSD1306_CONFIG_MOSI_PIN     24
#define SSD1306_CONFIG_CS_PIN       22
#define SSD1306_CONFIG_DC_PIN       20
#define SSD1306_CONFIG_RST_PIN      19

#define SSD1306_CONFIG_SCL_PIN      27
#define SSD1306_CONFIG_SDA_PIN      26
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>