<?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>Any example code for OLED sd1306 with TWI/I2C and nrf52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10938/any-example-code-for-oled-sd1306-with-twi-i2c-and-nrf52</link><description>Hi, 
 Here and here are examples of a port of the nice u8glib library to stm32. Based on these, i tried a port to nrf52, but was not successful so far. 
 I call the oled display via its DEVICE_ADDRESS 0x78 and 
 ret_code = nrf_drv_twi_tx(&amp;amp;m_twi_master</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Feb 2019 02:58:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10938/any-example-code-for-oled-sd1306-with-twi-i2c-and-nrf52" /><item><title>RE: Any example code for OLED sd1306 with TWI/I2C and nrf52</title><link>https://devzone.nordicsemi.com/thread/172000?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 02:58:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d503bdc-0cb4-4d12-a22e-e78d141aeca5</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;I ported on the latest SDK 15.2 with TWI interface.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/jimmywong2003/SSD1306-LCD-on-NRF52"&gt;github.com/.../SSD1306-LCD-on-NRF52&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any example code for OLED sd1306 with TWI/I2C and nrf52</title><link>https://devzone.nordicsemi.com/thread/151859?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 14:00:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9de30a68-1b32-40d4-9cc5-3f62b159f6d9</guid><dc:creator>vohra alihussain</dc:creator><description>&lt;p&gt;hey did u get you solution?&lt;/p&gt;
&lt;p&gt;i am also facing same type of problem..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any example code for OLED sd1306 with TWI/I2C and nrf52</title><link>https://devzone.nordicsemi.com/thread/123333?ContentTypeID=1</link><pubDate>Thu, 08 Mar 2018 03:03:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3902f9bd-6798-4bdf-a92e-f0f85e939699</guid><dc:creator>abcdcadb</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I tried to exploit your code for my hardware (as picture).&lt;/p&gt;
&lt;p&gt;my board is nordic evaluation board PCA10003.&lt;/p&gt;
&lt;p&gt;My lcd is 14 pins and I guess i could be here :&lt;a href="http://www.farnell.com/datasheets/609753.pdf"&gt;http://www.farnell.com/datasheets/609753.pdf&lt;/a&gt;&amp;nbsp;- there is no D/C pin&amp;nbsp;&lt;/p&gt;
&lt;p&gt;SDA and SCL pins I keep as your code.&lt;/p&gt;
&lt;p&gt;the code is stuck at the command of I2c &amp;quot;ssd1306_command(SSD1306_DISPLAYOFF)&amp;quot; it can&amp;#39;t escape from the eternal loop.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img alt="my hardware" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/IMG_5F00_20180308_5F00_095818_5B00_1_5D00_.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Any idea? it would be appreciated&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any example code for OLED sd1306 with TWI/I2C and nrf52</title><link>https://devzone.nordicsemi.com/thread/40893?ContentTypeID=1</link><pubDate>Wed, 20 Sep 2017 05:47:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d97b29d-cfb2-4845-b3a7-08d507947a3e</guid><dc:creator>Anonymous</dc:creator><description>&lt;p&gt;Can you say this will work for nrf51 devices..?
If so then what will be the changes to be made.?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any example code for OLED sd1306 with TWI/I2C and nrf52</title><link>https://devzone.nordicsemi.com/thread/40892?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2015 18:01:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e7eced2-fda9-4438-a62b-f0be280a93bb</guid><dc:creator>Johannes Lorenz</dc:creator><description>&lt;p&gt;Just perfect, thank you a lot! Yours Johannes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any example code for OLED sd1306 with TWI/I2C and nrf52</title><link>https://devzone.nordicsemi.com/thread/40891?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2015 15:37:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57fa0351-a541-4f43-adf3-b98b1cd7c91c</guid><dc:creator>monpetit</dc:creator><description>&lt;p&gt;Here is my example code for SSD1306.&lt;/p&gt;
&lt;p&gt;You can select SPI or TWI/I2C(default) module. I have tested on my nRF52-DK with Seeed OLED Display. Hope this helps.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/monpetit/nrf52-spi-i2c-master-ssd1306"&gt;github.com/.../nrf52-spi-i2c-master-ssd1306&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Fotor_5F00_145044669212373.jpg" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any example code for OLED sd1306 with TWI/I2C and nrf52</title><link>https://devzone.nordicsemi.com/thread/40890?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2015 15:01:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:beb36b73-1169-4c9a-93ad-a880ec7e7a5d</guid><dc:creator>monpetit</dc:creator><description>&lt;p&gt;Hi Johannes,&lt;/p&gt;
&lt;p&gt;In fact I already have an example code for SSD1306, but it&amp;#39;s used for other purposes so has many unnecessary routines. Besides I don&amp;#39;t use u8glib but modify Adafruit&amp;#39;s library, so I don&amp;#39;t know how fit your project.&lt;/p&gt;
&lt;p&gt;Well whatever, I&amp;#39;m show you my code quickly. :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any example code for OLED sd1306 with TWI/I2C and nrf52</title><link>https://devzone.nordicsemi.com/thread/40889?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2015 14:41:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f96ef08-5a74-41b1-bb50-98776711f1da</guid><dc:creator>Johannes Lorenz</dc:creator><description>&lt;p&gt;Hi monpetit,&lt;/p&gt;
&lt;p&gt;I tried a right shift&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;addr = DEVICE_ADDRESS;
addr &amp;gt;&amp;gt;=1;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;so 0x78 becomes 0x3c. And used addr instead of DEVICE_ADDRESS in the nrf_drv_tw_tx command. But ended up with a NRF_ERROR_INTERNAL. Only with the direct assignment of&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;addr = 0x3c;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;nrf_drv_tw_tx() works without throwing an error code. Still I have not anything displayed on the oled, so I have to dig further.&lt;/p&gt;
&lt;p&gt;Thanks for the tip.
Yours Johannes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Any example code for OLED sd1306 with TWI/I2C and nrf52</title><link>https://devzone.nordicsemi.com/thread/40888?ContentTypeID=1</link><pubDate>Fri, 18 Dec 2015 13:05:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:119e6584-72fc-4bf2-881e-54e946588f60</guid><dc:creator>monpetit</dc:creator><description>&lt;p&gt;You should assign 7 bit device address of SSD1306 as 0x3C or 0x3D.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>