<?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>Utilizing waveshare e-paper display on nRF52840 dongle with Zephyr RTOS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79206/utilizing-waveshare-e-paper-display-on-nrf52840-dongle-with-zephyr-rtos</link><description>Hi Sir/Mdm, I want to use 1.54 inch e-paper module from waveshare with nRF52840 dongle with Zephyr RTOS. I have read the documentation from Zephyr about the display and noticed that the display can only be used with a board that provides a configuration</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Sep 2021 14:57:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79206/utilizing-waveshare-e-paper-display-on-nrf52840-dongle-with-zephyr-rtos" /><item><title>RE: Utilizing waveshare e-paper display on nRF52840 dongle with Zephyr RTOS</title><link>https://devzone.nordicsemi.com/thread/328875?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 14:57:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:029ea098-55bd-4459-8244-791355759c9d</guid><dc:creator>xiancong</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Sorry for the late reply, the links provided are very useful. Thanks a lot for your help!&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Xian Cong.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Utilizing waveshare e-paper display on nRF52840 dongle with Zephyr RTOS</title><link>https://devzone.nordicsemi.com/thread/328348?ContentTypeID=1</link><pubDate>Tue, 07 Sep 2021 10:36:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90a4c6c2-52be-4d94-842a-1a2564c65c2b</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;This site has a lot of information about the zephyr devicetree, and how to write drivers for zephyr, the pages in the sidebar about devicetree and drivers would be relevant to read:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/zephyr/guides/dts/howtos.html#write-device-drivers-using-devicetree-apis"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/zephyr/guides/dts/howtos.html#write-device-drivers-using-devicetree-apis&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There are many other posts about creating zephyr drivers if you search here on devzone or the internet.&lt;/p&gt;
&lt;p&gt;I also found this, which is for the old nrf5 sdk, but might still be useful for some inspiration:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://gitlab.com/hooeezit/waveshare-epaper-nrf52-dk-demo"&gt;https://gitlab.com/hooeezit/waveshare-epaper-nrf52-dk-demo&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Utilizing waveshare e-paper display on nRF52840 dongle with Zephyr RTOS</title><link>https://devzone.nordicsemi.com/thread/328230?ContentTypeID=1</link><pubDate>Mon, 06 Sep 2021 13:48:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b218f1e8-4357-4a50-aba5-6a96598978ac</guid><dc:creator>xiancong</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thanks for your reply. I have found the problem that causes it to not work.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/boards/shields/waveshare_epaper/doc/index.html"&gt;documentation from Zephyr&amp;nbsp;about the display&lt;/a&gt;&amp;nbsp;is actually referring to this &lt;a href="https://www.waveshare.com/e-paper-shield.htm"&gt;driver&lt;/a&gt;&amp;nbsp;while I&amp;#39;m using the&amp;nbsp;&lt;a href="https://www.waveshare.com/wiki/1.54inch_e-Paper_Module"&gt;1.54-inch e-paper module&lt;/a&gt;. The&amp;nbsp;&lt;a href="https://www.waveshare.com/e-paper-shield.htm"&gt;driver&lt;/a&gt;&amp;nbsp;comes with a micro SD slot while the module I&amp;#39;m using isn&amp;#39;t, hence it&amp;#39;s not working.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Currently, I have found the &lt;a href="https://github.com/waveshare/e-Paper/tree/master/Arduino/epd1in54"&gt;driver file&lt;/a&gt;&amp;nbsp;for the module I&amp;#39;m using but it&amp;#39;s for Arduino. I wanted to convert it to Zephyr compatible by changing some of the language references (e.g. digitalWrite, digitalRead...) but I&amp;#39;m not very familiar with Zephyr. May I know if there are any references that I can refer to convert the&amp;nbsp;drivers to be Zephyr compatible? I believe I&amp;#39;ll only need to change the .cpp files to make them compatible.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thanks and regards,&lt;br /&gt;Xian Cong.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Utilizing waveshare e-paper display on nRF52840 dongle with Zephyr RTOS</title><link>https://devzone.nordicsemi.com/thread/328162?ContentTypeID=1</link><pubDate>Mon, 06 Sep 2021 11:26:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5927ba80-a231-4614-9eff-ce089e1a9d97</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Hi, sorry for the late reply&lt;/p&gt;
&lt;p&gt;By default, the available pins along the edges of the dongle seem to be:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;P0.02
P0.09
P0.10
P0.13
P0.15
P0.29
P1.00
P1.10
P1.15&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Try only using these pins, and see if that works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>