<?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>Porting e-paper display libraries to another screens</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105174/porting-e-paper-display-libraries-to-another-screens</link><description>Hi! 
 The nRF Connect SDK – ESL Profile and Service includes an example for the WareShare e-paper displays. 
 How to port it to another screens? 
 The screens only need two functions: 1. GPIO and SPI port configuration; 2. screen refresh. 
 Zephyr makes</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Nov 2023 13:41:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105174/porting-e-paper-display-libraries-to-another-screens" /><item><title>RE: Porting e-paper display libraries to another screens</title><link>https://devzone.nordicsemi.com/thread/454223?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 13:41:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8ff0c67-6015-4169-b1de-df8fa35d3e08</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;HI,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I got&lt;span&gt;&lt;span dir="ltr"&gt;&amp;nbsp;some comments from the team. I hope they also can help.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The sequence seems that the panel is using Ultra Chip driver IC UC81xx series.&lt;/p&gt;
&lt;p&gt;Zephyr does have the UC81xx series out-of-box driver driver. However, the implementation is monochrome and agnostic to the W/B/R panel.&lt;/p&gt;
&lt;p&gt;Zephyr uc81xx driver is here. &lt;a title="https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/display/uc81xx.c" href="https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/display/uc81xx.c" rel="noopener noreferrer" target="_blank"&gt;zephyr/drivers/display/uc81xx.c at main · zephyrproject-rtos/zephyr (github.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Sample 4.2&amp;quot; overlay is here. &lt;a title="https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/shields/waveshare_epaper/waveshare_epaper_gdew042t2-p.overlay" href="https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/shields/waveshare_epaper/waveshare_epaper_gdew042t2-p.overlay" rel="noopener noreferrer" target="_blank"&gt;zephyr/boards/shields/waveshare_epaper/waveshare_epaper_gdew042t2-p.overlay at main · zephyrproject-rtos/zephyr (github.com)&lt;/a&gt;, b&lt;/span&gt;&lt;/span&gt;ut it might not be helpful for what you want.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is a third-party ported uc81xx driver for a 1.54&amp;quot; panel which supports a W/B/R panel.&amp;nbsp;I think it&amp;#39;s a good starting point for them to bring your panel up.&lt;a title="https://gitlab.com/electronutlabs-public/papyr/-/tree/master/code/zephyr/default-firmware/src/epaper_driver?ref_type=heads" href="https://gitlab.com/electronutlabs-public/papyr/-/tree/master/code/zephyr/default-firmware/src/epaper_driver?ref_type=heads" rel="noopener noreferrer" target="_blank"&gt;code/zephyr/default-firmware/src/epaper_driver · master · electronutlabs-public / papyr · GitLab&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting e-paper display libraries to another screens</title><link>https://devzone.nordicsemi.com/thread/453879?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2023 07:32:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab04815a-cf3c-4e08-bc0c-68829d5d6e7c</guid><dc:creator>Lorenzo Amicucci</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;br /&gt;yes,drivers in zephyr is not trivial. We are in the process to add new learning material.&lt;br /&gt;Meanwhile, I can share this Tutorial about drivers in Zephyr&amp;nbsp;&lt;br /&gt;&lt;a href="https://www.youtube.com/watch?v=o-f2qCd2AXo"&gt;https://www.youtube.com/watch?v=o-f2qCd2AXo&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;At the same time,&amp;nbsp;we will check with the engineering team how to support you in this case with this display.&lt;/p&gt;
&lt;p&gt;BR&lt;br /&gt;Lorenzo&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting e-paper display libraries to another screens</title><link>https://devzone.nordicsemi.com/thread/453850?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 21:49:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:919e1705-ed56-441e-aad6-d433e8b4e4b0</guid><dc:creator>Rei Vilo</dc:creator><description>&lt;p&gt;As said before, the manufacturer does not offer drivers on Zephyr, hence this very thread.&lt;/p&gt;
&lt;p&gt;I completed the two fundamental courses on nRF SDK and BLE before considering Nordic SoCs.&lt;/p&gt;
&lt;p&gt;I am just surprised by the&amp;nbsp;steep learning curve required by nRF Connect SDK on Zephyr, and the limited resources available.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will continue the evaluation of the Nordic Semi option and reassess&amp;nbsp;it if needed.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting e-paper display libraries to another screens</title><link>https://devzone.nordicsemi.com/thread/453183?ContentTypeID=1</link><pubDate>Tue, 31 Oct 2023 07:47:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eecf7212-6df7-4285-8a64-648032d06c9d</guid><dc:creator>Lorenzo Amicucci</dc:creator><description>&lt;p&gt;One additional note: Pervasive Display has public repo with drivers.&amp;nbsp;&lt;a id="" href="https://github.com/PervasiveDisplays"&gt;https://github.com/PervasiveDisplays&lt;/a&gt;&amp;nbsp;&lt;br /&gt;It is recommended to use manufacturer drivers and their tools (e.g. tools to generate display images) as each display have slightly different settings.&amp;nbsp;&amp;nbsp;&lt;br /&gt;If you have questions related to Zephyr/nRF Connect SDK (which may be related how to use peripherals or other questions that may show up in relation to the Nordic SDK while porting these third party drivers), or in relation to the ESL application, feel free to open a new ticket. If you never used Zephyr/nRF connect SDK before,&amp;nbsp;you can find here a free course (8h) with all the basics&amp;nbsp;&lt;a id="" href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/&lt;/a&gt;&amp;nbsp;&lt;br /&gt;Please let us know if/where you struggle while trying to use these third party drivers.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting e-paper display libraries to another screens</title><link>https://devzone.nordicsemi.com/thread/453131?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2023 18:15:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9a3ae30-cebe-4e1c-aa41-ab4b8fd66fee</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You could refer to&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/nrf-esl-bluetooth/blob/edabcb4be1d733f7779a4e8a1009bf471cc6db2d/samples/peripheral_esl/conf/nrf52833dk_nrf52833/nrf52833dk_nrf52833_release_epd.overlay"&gt;https://github.com/NordicPlayground/nrf-esl-bluetooth/blob/edabcb4be1d733f7779a4e8a1009bf471cc6db2d/samples/peripheral_esl/conf/nrf52833dk_nrf52833/nrf52833dk_nrf52833_release_epd.overlay&lt;/a&gt;&amp;nbsp;to update the device tree for your EPD.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please refer to the original manufacturer’s documentation of the panel for selecting the shield board switch positions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;To use EPD other than reference&amp;nbsp;&lt;a href="https://www.waveshare.com/2.13inch-e-paper.htm"&gt;WAVESHARE 250x122, 2.13inch E-Ink raw display panel&lt;/a&gt;&amp;nbsp;with the sample, please use the display driver provided by the manufacturer.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting e-paper display libraries to another screens</title><link>https://devzone.nordicsemi.com/thread/453128?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2023 17:28:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da39d225-c572-433a-8f0a-186d0c758d6f</guid><dc:creator>Rei Vilo</dc:creator><description>&lt;p&gt;Standard connections are SPI port and 6 GPIOs.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SPI: SCK, MOSI, MISO&lt;/li&gt;
&lt;li&gt;Panel: /CS, /RESET, !BUSY, D/C, POWER&lt;/li&gt;
&lt;li&gt;Flash: /CS&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting e-paper display libraries to another screens</title><link>https://devzone.nordicsemi.com/thread/452962?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2023 09:47:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97e9a49d-b7d6-46bb-bca0-d7323b671ed0</guid><dc:creator>Rei Vilo</dc:creator><description>&lt;p&gt;Thank you for your prompt answer. &lt;/p&gt;
&lt;p&gt;The EPD is the &lt;a href="https://www.pervasivedisplays.com/product/2-66-e-ink-displays/#tab-2"&gt;Pervasive Displays E2266JS0C1 2.66&amp;quot; Spectra Red&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;A typical refresh sequence looks like&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Screen iTC 2.66&amp;quot;-BWR -iH 152x296&lt;br /&gt;SPI at 8 MHz&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b_reset&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b_sendIndexData [00] 0e &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b_sendIndexData [e5] 19 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b_sendIndexData [e0] 02 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b_sendIndexData [00] cf 8d &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b_sendIndexData [10] 00 00 00 00 00 00 00 00 ... (5624) black page&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b_sendIndexData [13] 00 00 00 00 00 00 00 00 ... (5624) red page&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b_sendCommand8 [04] &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b_waitBusy&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HIGH&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b_sendCommand8 [12] &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b_waitBusy&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HIGH&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b_sendCommand8 [02] &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b_waitBusy&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HIGH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;End&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;with [command] data&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Porting e-paper display libraries to another screens</title><link>https://devzone.nordicsemi.com/thread/452959?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2023 09:39:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be380454-5654-4f79-a0f6-70b07747519b</guid><dc:creator>Lorenzo Amicucci</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In Zephyr, you can find the display driver in&amp;nbsp;&lt;a id="" href="https://github.com/nrfconnect/sdk-zephyr/tree/main/drivers/display"&gt;https://github.com/nrfconnect/sdk-zephyr/tree/main/drivers/display&lt;/a&gt;&amp;nbsp;&lt;br /&gt;there are many epd in the market, with small differences between each other. In most cases, the manufacturer provides the drivers.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Which display do you plan to use? If you could share more details on your display, we can see how to help and give you directions.&lt;br /&gt;&lt;br /&gt;thanks&lt;br /&gt;LA&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>