<?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>SSD1306 cfb with nRF9160 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50469/ssd1306-cfb-with-nrf9160-dk</link><description>Hi, 
 I am trying to use the SSD1306 display with the nRF9160 DK. 
 I am using the code as is shown here 
 https://github.com/zephyrproject-rtos/zephyr/tree/master/samples/display/cfb 
 My overlay file looks like this 
 
 
 
 and my prf.conf looks like</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Aug 2019 20:38:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50469/ssd1306-cfb-with-nrf9160-dk" /><item><title>RE: SSD1306 cfb with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/202495?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 20:38:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99f9977a-23a3-44b7-ab69-b8ce556dc303</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Thanks Andreas,&lt;/p&gt;
&lt;p&gt;Great, that has solved the problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SSD1306 cfb with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/202344?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 08:41:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f347a6d-330b-4fa7-898c-dd7159e9c6ce</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi Rod.&lt;/p&gt;
&lt;p&gt;Can you also try to add this to your prj.conf file?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_I2C_NRFX=y
CONFIG_I2C_2=y
CONFIG_I2C_2_NRF_TWIM=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SSD1306 cfb with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/202107?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2019 11:00:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:571a1c0b-72da-4055-a97f-48afc8a50ea8</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Yes, I have tied both NS and secure overlay files&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SSD1306 cfb with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/202103?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2019 10:53:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:945ce96c-7125-402c-bd61-de0bb8c512a4</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi Rod.&lt;/p&gt;
&lt;p&gt;Did you also take &lt;a href="https://devzone.nordicsemi.com/members/simoniversen"&gt;Simon&lt;/a&gt;&amp;#39;s &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/50098/error-message-i2c_nrfx_twim-error-195952641-occurred-for-message-0/202002#202002"&gt;reply into account when you tried this&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SSD1306 cfb with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/201978?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 16:43:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12b7806e-000d-403a-b5b2-2dcc26ee0d92</guid><dc:creator>RodWatt</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I still get the same error.,&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Rod&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;SPM: NS image at 0xc000
SPM: NS MSP at 0x20024a80
SPM: NS reset vector at 0xe6a1
SPM: prepare to jump to Non-Secure image.
***** Booting Zephyr OS build v1.14.99-ncs3-snapshot2-1-g9420e7247ba2 *****
Could not get device binding for display device
[00:00:00.000,305] &amp;lt;err&amp;gt; i2c_nrfx_twim: Error 195952641 occurred for message 0
[00:00:00.000,335] &amp;lt;err&amp;gt; ssd1306: Failed to initialize device!
Exception occurred in Secure State
***** HARD FAULT *****
  Fault escalation (see below)
***** BUS FAULT *****
  Precise data bus error
  BFAR Address: 0x50008120
***** Hardware exception *****
Current thread ID = 0x200201e0
Faulting instruction address = 0xd83a
Fatal fault in ISR! Spinning...
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SSD1306 cfb with nRF9160 DK</title><link>https://devzone.nordicsemi.com/thread/201874?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 12:21:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b707f0d-5421-441f-a398-2679ad8d2d04</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Could you try this overlay?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;i2c2 {
	status = &amp;quot;ok&amp;quot;;

	ssd1306@3c {
		compatible = &amp;quot;solomon,ssd1306fb&amp;quot;;
		reg = &amp;lt;0x3c&amp;gt;;
		label = &amp;quot;SSD1306&amp;quot;;
		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;;
		segment-remap;
		com-invdir;
		prechargep = &amp;lt;0x22&amp;gt;;
	};
};
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>