<?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>NRF 52 OLED SSD 1306 SEGGER</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94817/nrf-52-oled-ssd-1306-segger</link><description>Hello to all I am quite lost, I need help to connect an oled to my project. The rest of the stages I have it complete, but my experience with OLED, is limited to arduino with U8G2 type libraries, that is, I don&amp;#39;t know how to connect and configure my display</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Jan 2023 10:25:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94817/nrf-52-oled-ssd-1306-segger" /><item><title>RE: NRF 52 OLED SSD 1306 SEGGER</title><link>https://devzone.nordicsemi.com/thread/404988?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2023 10:25:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28ea5c0b-1849-4dbc-86d3-570e54293672</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Sorry for the delay.&lt;/p&gt;
&lt;p&gt;Please check out both our &lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/"&gt;nRF Connect SDK guides&lt;/a&gt; and our &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog"&gt;Blog&lt;/a&gt;. Also check out our &lt;a href="https://webinars.nordicsemi.com/on-demand?utm_campaign=2021%20Webinars&amp;amp;utm_source=Banner%20webinarpage%20to%20recordings%2023%20&amp;amp;utm_medium=On%20demand-webinars%20banner%20on%20webinar%20website%20nordicsemi.com&amp;amp;utm_content=On%20demand-webinars%20banner%20on%20webinar%20website%20nordicsemi.com"&gt;on-demand webinars&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;One may also learn from the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/nrf/samples.html"&gt;samples&lt;/a&gt; and &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/nrf/applications.html#applications"&gt;applications&lt;/a&gt; in nRF Connect SDK as well as Zephyr’s &lt;a title="(in Zephyr Project v3.2.99)" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/zephyr/samples/index.html#samples-and-demos"&gt;&lt;span&gt;Samples and Demos&lt;/span&gt;&lt;/a&gt; section.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/nrf/ug_nrf52.html"&gt;Working with nRF52 Series&lt;/a&gt; is also a good starting point as well as &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/nrf/ug_app_dev.html"&gt;Application development&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What kind of architecture and memory issues, specifically? You could open a new case (as this will be a new topic), and we will reply within the next business day.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52 OLED SSD 1306 SEGGER</title><link>https://devzone.nordicsemi.com/thread/404573?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2023 13:50:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e99f9da-fdfb-4a6b-b04e-cbcd0f7c6fe9</guid><dc:creator>DBdani</dc:creator><description>&lt;p&gt;Hello Helsing&lt;/p&gt;
&lt;p&gt;The solution works perfectly. Thank you very Much!&lt;/p&gt;
&lt;p&gt;I feel a bit lost with the programming of the device and with zephyr, I have taken the basic course you recommended but I still have a lot of gaps.&lt;br /&gt;Is there NRF documentation at a low level, defining for example architecture and memory issues?&lt;br /&gt;Are there higher level courses for zephyr and NRF?&lt;br /&gt;&lt;br /&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52 OLED SSD 1306 SEGGER</title><link>https://devzone.nordicsemi.com/thread/404104?ContentTypeID=1</link><pubDate>Tue, 10 Jan 2023 13:21:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c54a2fbf-10f0-4c9a-99cb-382e9b96153d</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Daniel,&lt;/p&gt;
&lt;p&gt;I was able to reproduce the issue you are facing, as well as finding a solution.&lt;/p&gt;
&lt;p&gt;Things should work if you use the twi driver instead of twim, and in addition remove &lt;code&gt;zephyr,concat-buf-size = &amp;lt;4096&amp;gt;; &lt;/code&gt;from the overlay.&lt;/p&gt;
&lt;p&gt;The reason is that twim is using DMA but nRF52832 is only able to send a limited amount of bytes. For example nRF52840, nRF5340 and nRF9160 are not affected by this limitation when it comes to writing to these displays. twi is able to output data continuously, although the CPU becomes a bit more occupied as DMA is not used.&lt;/p&gt;
&lt;p&gt;Here is the full overlay:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/ {
	chosen {
		zephyr,display = &amp;amp;ssd1306;
	};
};

&amp;amp;pinctrl {
    i2c0_default: i2c0_default {
        group1 {
            psels = &amp;lt;NRF_PSEL(TWIM_SDA, 0, 26)&amp;gt;, 
                &amp;lt;NRF_PSEL(TWIM_SCL, 0, 27)&amp;gt;;     
        };
    };

    i2c0_sleep: i2c0_sleep {
        group1 {
            psels = &amp;lt;NRF_PSEL(TWIM_SDA, 0, 26)&amp;gt;, 
                &amp;lt;NRF_PSEL(TWIM_SCL, 0, 27)&amp;gt;;     
            low-power-enable;
        };
    };
};

arduino_i2c: &amp;amp;i2c0 {
	compatible = &amp;quot;nordic,nrf-twi&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
	clock-frequency = &amp;lt;I2C_BITRATE_FAST&amp;gt;;
    
  
	ssd1306: ssd1306@3c {
		compatible = &amp;quot;solomon,ssd1306fb&amp;quot;;
		reg = &amp;lt;0x3c&amp;gt;;
		width = &amp;lt;128&amp;gt;;
		height = &amp;lt;64&amp;gt;;
		segment-offset = &amp;lt;0&amp;gt;;
		page-offset = &amp;lt;0&amp;gt;;
		display-offset = &amp;lt;0&amp;gt;;
		multiplex-ratio = &amp;lt;63&amp;gt;;
		segment-remap;
		com-invdir;
		prechargep = &amp;lt;0x22&amp;gt;;
	};
};
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Attached is the working project I tested, using nRF Connect SDK v2.1.2.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/lvgl_2D00_20230110.zip"&gt;devzone.nordicsemi.com/.../lvgl_2D00_20230110.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you are using nRF Connect SDK v2.2.0 or later you might need to update the overlay with the below code, due to the new naming format. This section of code becomes included when using the shield, so it is not really necessary to include it in the overlay, and could be removed.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/ {
	chosen {
		zephyr,display = &amp;amp;ssd1306_ssd1306_128x64;
	};
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52 OLED SSD 1306 SEGGER</title><link>https://devzone.nordicsemi.com/thread/403713?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2023 06:39:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ad4231b-b397-4265-ada8-b1d110a38c3c</guid><dc:creator>DBdani</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I believe there is nothing to indicate the use of colors in the standard example. Please correct me if I am wrong. I still cannot use the screen correctly.&lt;br /&gt;&lt;br /&gt;The numbers do indeed advance, the problem is that they look wrong, with the screen full of random white pixels.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/*
 * Copyright (c) 2018 Jan Van Winkel &amp;lt;jan.van_winkel@dxplore.eu&amp;gt;
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#include &amp;lt;zephyr/device.h&amp;gt;
#include &amp;lt;zephyr/devicetree.h&amp;gt;
#include &amp;lt;zephyr/drivers/display.h&amp;gt;
#include &amp;lt;zephyr/drivers/gpio.h&amp;gt;
#include &amp;lt;lvgl.h&amp;gt;
#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;string.h&amp;gt;
#include &amp;lt;zephyr/kernel.h&amp;gt;

#define LOG_LEVEL CONFIG_LOG_DEFAULT_LEVEL
#include &amp;lt;zephyr/logging/log.h&amp;gt;
LOG_MODULE_REGISTER(app);

static uint32_t count;

#ifdef CONFIG_GPIO
static struct gpio_dt_spec button_gpio = GPIO_DT_SPEC_GET_OR(
		DT_ALIAS(sw0), gpios, {0});
static struct gpio_callback button_callback;

static void button_isr_callback(const struct device *port,
				struct gpio_callback *cb,
				uint32_t pins)
{
	ARG_UNUSED(port);
	ARG_UNUSED(cb);
	ARG_UNUSED(pins);

	count = 0;
}
#endif

void main(void)
{
	int err;
	char count_str[11] = {0};
	const struct device *display_dev;
	lv_obj_t *hello_world_label;
	lv_obj_t *count_label;

	display_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_display));
	if (!device_is_ready(display_dev)) {
		LOG_ERR(&amp;quot;Device not ready, aborting test&amp;quot;);
		return;
	}

#ifdef CONFIG_GPIO
	if (device_is_ready(button_gpio.port)) {
		err = gpio_pin_configure_dt(&amp;amp;button_gpio, GPIO_INPUT);
		if (err) {
			LOG_ERR(&amp;quot;failed to configure button gpio: %d&amp;quot;, err);
			return;
		}

		gpio_init_callback(&amp;amp;button_callback, button_isr_callback,
				   BIT(button_gpio.pin));

		err = gpio_add_callback(button_gpio.port, &amp;amp;button_callback);
		if (err) {
			LOG_ERR(&amp;quot;failed to add button callback: %d&amp;quot;, err);
			return;
		}

		err = gpio_pin_interrupt_configure_dt(&amp;amp;button_gpio,
						      GPIO_INT_EDGE_TO_ACTIVE);
		if (err) {
			LOG_ERR(&amp;quot;failed to enable button callback: %d&amp;quot;, err);
			return;
		}
	}
#endif

	if (IS_ENABLED(CONFIG_LV_Z_POINTER_KSCAN)) {
		lv_obj_t *hello_world_button;

		hello_world_button = lv_btn_create(lv_scr_act());
		lv_obj_align(hello_world_button, LV_ALIGN_CENTER, 0, 0);
		hello_world_label = lv_label_create(hello_world_button);
	} else {
		hello_world_label = lv_label_create(lv_scr_act());
	}

	lv_label_set_text(hello_world_label, &amp;quot;Hello world!&amp;quot;);
	lv_obj_align(hello_world_label, LV_ALIGN_CENTER, 0, 0);

	count_label = lv_label_create(lv_scr_act());
	lv_obj_align(count_label, LV_ALIGN_BOTTOM_MID, 0, 0);

	lv_task_handler();
	display_blanking_off(display_dev);


}
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52 OLED SSD 1306 SEGGER</title><link>https://devzone.nordicsemi.com/thread/402951?ContentTypeID=1</link><pubDate>Tue, 03 Jan 2023 12:40:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2053c3c1-96bd-4601-8266-b50b91b2c3a8</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Daniel&lt;/p&gt;
&lt;p&gt;Sorry for the slow response. We have had limited staffing over Christmas. Håkon is currently unavailable and I will help you out in the mean time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you just running the standard lvgl example without any changes?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you see the number getting updated, and can you read it correctly?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If I am not mistaken the standard example is not black and white, and the issues you see might just be caused by the black and white conversion. If this is the case it should be enough to ensure that all the LVGL elements are either black or white, rather than some other colors.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52 OLED SSD 1306 SEGGER</title><link>https://devzone.nordicsemi.com/thread/402030?ContentTypeID=1</link><pubDate>Fri, 23 Dec 2022 06:55:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43b315d7-999b-4610-adfc-4a270a1662c3</guid><dc:creator>DBdani</dc:creator><description>&lt;p&gt;Hello Helsing&lt;/p&gt;
&lt;p&gt;Thank you very much for your help.&lt;/p&gt;
&lt;p&gt;Now, i can flash DK board, but i have any mistake, because the thisplay show this:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:328px;max-width:175px;" alt=" " height="328" src="https://devzone.nordicsemi.com/resized-image/__size/350x656/__key/communityserver-discussions-components-files/4/pastedimage1671789021582v6.png" width="175" /&gt;&lt;/p&gt;
&lt;p&gt;GND--&amp;gt;GND&lt;/p&gt;
&lt;p&gt;VCC --&amp;gt;VCC&lt;/p&gt;
&lt;p&gt;SCL--&amp;gt;P0.27&lt;/p&gt;
&lt;p&gt;SDA--&amp;gt;P0.26&lt;/p&gt;
&lt;p&gt;I have this Structure now:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:147px;max-width:389px;" height="147" src="https://devzone.nordicsemi.com/resized-image/__size/778x294/__key/communityserver-discussions-components-files/4/pastedimage1671789058160v1.png" width="389" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;With this code:&lt;/p&gt;
&lt;p&gt;(Overlay file)&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;pinctrl {
    i2c0_default: i2c0_default {
        group1 {
            psels = &amp;lt;NRF_PSEL(TWIM_SDA, 0, 26)&amp;gt;,
                &amp;lt;NRF_PSEL(TWIM_SCL, 0, 27)&amp;gt;;
        };
    };

    i2c0_sleep: i2c0_sleep {
        group1 {
            psels = &amp;lt;NRF_PSEL(TWIM_SDA, 0, 26)&amp;gt;,
                &amp;lt;NRF_PSEL(TWIM_SCL, 0, 27)&amp;gt;;
            low-power-enable;
        };
    };
};

arduino_i2c: &amp;amp;i2c0 {
	compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
	clock-frequency = &amp;lt;I2C_BITRATE_FAST&amp;gt;;   
    zephyr,concat-buf-size = &amp;lt;4096&amp;gt;;
  
    ssd1306: ssd1306@3c {
        compatible = &amp;quot;solomon,ssd1306fb&amp;quot;;
        reg = &amp;lt;0x3c&amp;gt;; //0x3c is the i2c address of the SSD1306 aIC.
        width = &amp;lt;128&amp;gt;;
        height = &amp;lt;64&amp;gt;; // Change to &amp;#39;64&amp;#39; when using the 128x64 pixel version.
        segment-offset = &amp;lt;0&amp;gt;;
        page-offset = &amp;lt;0&amp;gt;;
        display-offset = &amp;lt;0&amp;gt;;
        multiplex-ratio = &amp;lt;63&amp;gt;; //change to &amp;#39;63&amp;#39; when using the 128x64 pixel version
        segment-remap;
        com-invdir;
        com-sequential;
        prechargep = &amp;lt;0x22&amp;gt;;
    };
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Cmakelist&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# SPDX-License-Identifier: Apache-2.0

cmake_minimum_required(VERSION 3.20.0)
set(SHIELD ssd1306_128x64)

find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(lvgl)

FILE(GLOB app_sources src/*.c)
target_sources(app PRIVATE ${app_sources})
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you very much&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52 OLED SSD 1306 SEGGER</title><link>https://devzone.nordicsemi.com/thread/401697?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 12:11:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0f07724-ded1-4d5e-8bdc-20b8de113b3a</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Have you taken the shield into use? I am getting a similar error as you if I remove references to the ssd1306 shield. Try adding this line of code to the file &lt;em&gt;CMakeLists.txt &lt;/em&gt;in your project folder: &lt;code&gt;set(SHIELD ssd1306_128x32).&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Add the line just below &lt;code&gt;cmake_minimum_required(VERSION 3.20.0).&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52 OLED SSD 1306 SEGGER</title><link>https://devzone.nordicsemi.com/thread/401458?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2022 10:10:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d260262-2498-4b59-8c59-f3f5578d834a</guid><dc:creator>DBdani</dc:creator><description>&lt;p&gt;Hello Helsing,&lt;/p&gt;
&lt;p&gt;Thank you for your reply&lt;/p&gt;
&lt;p&gt;I try to generate overlay file, and now i have two new problems:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:148px;max-width:544px;" height="148" src="https://devzone.nordicsemi.com/resized-image/__size/1088x296/__key/communityserver-discussions-components-files/4/pastedimage1671530956788v1.png" width="544" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:182px;max-width:470px;" height="182" src="https://devzone.nordicsemi.com/resized-image/__size/940x364/__key/communityserver-discussions-components-files/4/pastedimage1671530992354v2.png" width="470" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m lost with this issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you very much&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52 OLED SSD 1306 SEGGER</title><link>https://devzone.nordicsemi.com/thread/401324?ContentTypeID=1</link><pubDate>Mon, 19 Dec 2022 15:40:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7f9d845-bab5-4ed2-9a3d-d129ef3f66ec</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;I was able to reproduce the same or similar errors when trying to build without any overlay file.&lt;/p&gt;
&lt;p&gt;Did you create any .overlay file? Check under input files if there is any such file.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1671464001188v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;If not present, click where it says &amp;quot;Click to generate overlay&amp;quot;. Then add the following to the generated(empty) file:&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;pinctrl {
    i2c0_default: i2c0_default {
        group1 {
            psels = &amp;lt;NRF_PSEL(TWIM_SDA, 0, 26)&amp;gt;,
                &amp;lt;NRF_PSEL(TWIM_SCL, 0, 27)&amp;gt;;
        };
    };

    i2c0_sleep: i2c0_sleep {
        group1 {
            psels = &amp;lt;NRF_PSEL(TWIM_SDA, 0, 26)&amp;gt;,
                &amp;lt;NRF_PSEL(TWIM_SCL, 0, 27)&amp;gt;;
            low-power-enable;
        };
    };
};

arduino_i2c: &amp;amp;i2c0 {
	compatible = &amp;quot;nordic,nrf-twim&amp;quot;;
	status = &amp;quot;okay&amp;quot;;
	clock-frequency = &amp;lt;I2C_BITRATE_FAST&amp;gt;;   
    zephyr,concat-buf-size = &amp;lt;4096&amp;gt;;
  
    ssd1306: ssd1306@3c {
        compatible = &amp;quot;solomon,ssd1306fb&amp;quot;;
        reg = &amp;lt;0x3c&amp;gt;; //0x3c is the i2c address of the SSD1306 aIC.
        width = &amp;lt;128&amp;gt;;
        height = &amp;lt;32&amp;gt;; // Change to &amp;#39;64&amp;#39; when using the 128x64 pixel version.
        segment-offset = &amp;lt;0&amp;gt;;
        page-offset = &amp;lt;0&amp;gt;;
        display-offset = &amp;lt;0&amp;gt;;
        multiplex-ratio = &amp;lt;31&amp;gt;; //change to &amp;#39;63&amp;#39; when using the 128x64 pixel version
        segment-remap;
        com-invdir;
        com-sequential;
        prechargep = &amp;lt;0x22&amp;gt;;
    };
};
	&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I selected &lt;em&gt;i2c0&lt;/em&gt; for nRF52 DK.&lt;/p&gt;
&lt;p&gt;Please report back how this goes.&lt;/p&gt;
&lt;p&gt;I tried building with nRF Connect SDK v2.1.2 but I did test it on the DK as I did not have any nRF52 DK at hand today. I will try flashing the board tomorrow.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52 OLED SSD 1306 SEGGER</title><link>https://devzone.nordicsemi.com/thread/400852?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2022 13:36:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e898f0c-c40b-4f3e-a1ff-29bf9a243670</guid><dc:creator>DBdani</dc:creator><description>&lt;p&gt;Hello Helsing,&lt;/p&gt;
&lt;p&gt;From the recommendations I am using visual studio with zephyr, and I have done the recommended tutorial.&lt;/p&gt;
&lt;p&gt;I am trying to compile the code in your post to use oled and I am getting compile errors.&lt;img style="max-height:381px;max-width:433px;" alt=" " height="381" src="https://devzone.nordicsemi.com/resized-image/__size/866x762/__key/communityserver-discussions-components-files/4/2548.error.PNG" width="433" /&gt;&lt;/p&gt;
&lt;p&gt;the console say this&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:252px;max-width:500px;" alt=" " height="252" src="https://devzone.nordicsemi.com/resized-image/__size/1000x504/__key/communityserver-discussions-components-files/4/8233.error2.PNG" width="500" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52 OLED SSD 1306 SEGGER</title><link>https://devzone.nordicsemi.com/thread/400584?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2022 11:15:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42ef163b-3545-407d-a607-1c5a1a3c50a6</guid><dc:creator>helsing</dc:creator><description>[quote user="DBdani"]Can i use this example with segger Embedded Studio?[/quote]
&lt;p&gt;Yes. You can use the example regardless of whether you choose to use &lt;em&gt;Segger Embedded Studio&lt;/em&gt;, &lt;em&gt;Visual Studio Code&lt;/em&gt; or &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/nrf/gs_installing.html#set-up-the-command-line-build-environment"&gt;command line&lt;/a&gt;. For building applications, Visual Studio Code with the &lt;em&gt;nRF Connect for VS Code extension&lt;/em&gt; is our recommendation. For more information about the extension, see the &lt;a href="https://nrfconnect.github.io/vscode-nrf-connect"&gt;nRF Connect for Visual Studio Code&lt;/a&gt; documentation page.&lt;/p&gt;
[quote user="DBdani"]¿What advantage have nRF Connect SDK?[/quote]
&lt;p&gt;&lt;em&gt;nRF Connect SDK&lt;/em&gt; is our main SDK onward while the &lt;em&gt;nRF5 SDK&lt;/em&gt; is in maintenance mode. Please see the &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;nRF Connect SDK and nRF5 SDK statement&lt;/a&gt; for details. Which SDK you choose is up to you, however, we recommend nRF Connect SDK for all new projects as this is the SDK where fixes, updates and new features will be implemented.&lt;/p&gt;
&lt;p&gt;Also see the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/nrf/introduction.html"&gt;Introduction page&lt;/a&gt; at nRF Connect SDK documentation for details about nRF Connect SDK. Check out the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/nrf/getting_started.html#getting-started"&gt;getting started page&lt;/a&gt; for nRF Connect SDK as well as the mentioned &lt;a href="https://academy.nordicsemi.com/"&gt;Nordic Developer Academy&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52 OLED SSD 1306 SEGGER</title><link>https://devzone.nordicsemi.com/thread/400357?ContentTypeID=1</link><pubDate>Tue, 13 Dec 2022 11:50:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcde410f-367a-47e9-993d-2e16237c4f0c</guid><dc:creator>DBdani</dc:creator><description>&lt;p&gt;Hi Hakon&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can i use this example with segger Embedded Studio? &amp;iquest;What advantage have nRF Connect SDK?&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF 52 OLED SSD 1306 SEGGER</title><link>https://devzone.nordicsemi.com/thread/400350?ContentTypeID=1</link><pubDate>Tue, 13 Dec 2022 10:33:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0014d26b-928f-4324-9c5b-7d045a5e5109</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Daniel,&lt;/p&gt;
&lt;p&gt;We have a blog post on this topic, &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/small-i2c-oled-displays-using-nrf-connect-sdk"&gt;Printing to an I2C OLED display using nRF Connect SDK&lt;/a&gt;. It should be straight forward to use the nRF52 DK, even though it is not mentioned in the post. Please let me know if you need input on how to select pins etc.&lt;/p&gt;
&lt;p&gt;I could also recommend &lt;a href="https://www.nordicsemi.com/Support/Nordic-Developer-Academy"&gt;Nordic Developer Academy&lt;/a&gt; to get started, specifically the course &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/?utm_campaign=Nordic%20DevAcademy&amp;amp;utm_source=nordicsemi.com/Support/Nordic-Developer-Academy&amp;amp;utm_content=nRF%20Connect%20SDK%20fundamental%20course%20page"&gt;nRF Connect SDK Fundamentals&lt;/a&gt;. &lt;/p&gt;
[quote user=""]I am using NRF52DK and segger Studio.[/quote]
&lt;p&gt;The above mentioned course goes through Visual Studio Code which is also highly recommended. &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>