<?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>LVGL sample on a RAYTAC MDBT50Q</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117869/lvgl-sample-on-a-raytac-mdbt50q</link><description>Using the LVGL sample... The sample LVGL code works on nrf52840dk but not the RAYTAC MDBT50Q . I hope I&amp;#39;m just missing something obvious? 
 
 Flash blinking to nrf52840dk and RAYTAC MDBT50Q and both work (confirming jlink flash process/connections are</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 31 Jan 2025 15:24:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117869/lvgl-sample-on-a-raytac-mdbt50q" /><item><title>RE: LVGL sample on a RAYTAC MDBT50Q</title><link>https://devzone.nordicsemi.com/thread/520919?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2025 15:24:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44a17bc2-a619-4091-8585-4bc4f769226a</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Michael, sorry for the delay.&lt;/p&gt;
[quote user="mej7000"]That said, I expected that by using &lt;strong&gt;&amp;quot;&lt;em&gt;nrf52840dk_nrf52840&amp;quot;&amp;nbsp;&lt;/em&gt;&lt;/strong&gt;it would work on the RAYTAC as long as the same pins were used on both the nrf52840dk and the RAYTAC. Is that a good assumption or am I missing something?[/quote]
&lt;p&gt;Using the board files from a different board should be done with care as it is not always easy to see how the project/application is dependant on a specific board. Differences could be for example be enabled/disabled DC/DC or external clock etc. It could also be variations regarding which pins are used for logging and various interfaces. &lt;/p&gt;
[quote user="mej7000"]I ran into problems because the waveshare&amp;nbsp;used the&amp;nbsp;arduino_spi definition and the Raytac didn&amp;#39;t define &lt;span&gt;arduino_spi&lt;/span&gt;...[/quote]
&lt;p&gt;It should not be too much work to adapt the Ractac boardfiles for arduino_spi definitions. Here is an older guide for &lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/peripherals/posts/working-around-missing-shield-labels-on-the-nrf9160dk"&gt;how to fix missing arduino lables&lt;/a&gt;. The post was written at a time when nRF9160DK did not have the arduino definitions yet. Things have changed since then, so I am not sure which parts are relevant. Please let me know if you are still stuck at this and I coud try next week to set up an example and see whether it builds.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LVGL sample on a RAYTAC MDBT50Q</title><link>https://devzone.nordicsemi.com/thread/517787?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2025 19:02:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7d879c9-c733-4281-bd27-82bf23f23b97</guid><dc:creator>mej7000</dc:creator><description>&lt;p&gt;I tried that after making this posting. Ultimately it didn&amp;#39;t make any difference.&lt;/p&gt;
&lt;p&gt;I ran into problems because the waveshare&amp;nbsp;used the&amp;nbsp;arduino_spi definition and the Raytac didn&amp;#39;t define &lt;span&gt;arduino_spi&lt;/span&gt;... Zephyr is relatively new to me, but I modified the waveshare_epaper_gdey0213b74.overlay file to use spi1 and test it on the RAYTAC.&lt;/p&gt;
&lt;p&gt;As best as I could tell I modified &lt;span&gt;waveshare_epaper_gdey0213b74.overlay&amp;nbsp;&lt;/span&gt;correctly because I was testing the pin allocation changes on the nrf52840dk and &lt;span&gt;nrf52840dk&amp;nbsp;&lt;/span&gt;continued to work after being rewired.&lt;/p&gt;
&lt;p&gt;That said, I expected that by using &lt;strong&gt;&amp;quot;&lt;em&gt;nrf52840dk_nrf52840&amp;quot;&amp;nbsp;&lt;/em&gt;&lt;/strong&gt;it would work on the RAYTAC as long as the same pins were used on both the nrf52840dk and the RAYTAC. Is that a good assumption or am I missing something?&lt;/p&gt;
&lt;p&gt;After this posting I used this same:&amp;nbsp; &lt;strong&gt;&lt;em&gt;west build -b nrf52840dk_nrf52840 -d build52840 -p -- -DSHIELD=waveshare_epaper_gdey0213b74&amp;nbsp;&lt;/em&gt;&lt;/strong&gt;&lt;em&gt;&lt;/em&gt;on a custom pcb with a&amp;nbsp;Fanstel module and got that display to work using the same arduino_spi default pins.&lt;/p&gt;
&lt;p&gt;I would think there might be something off about the RAYTAC dev board, but once I pull the &amp;quot;spi reset&amp;quot; pin led0 starts flashing as expected, so something strange is happening that seems to be related to spi.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LVGL sample on a RAYTAC MDBT50Q</title><link>https://devzone.nordicsemi.com/thread/517686?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2025 12:31:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03047a3a-2ecd-4dfd-bfb9-b121965e7aeb</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Michael, &lt;/p&gt;
[quote user=""]command for both:&amp;nbsp;&lt;strong&gt;&lt;em&gt;west build -b nrf52840dk_nrf52840 -d build52840 -p -- -DSHIELD=waveshare_epaper_gdey0213b74&lt;/em&gt;&lt;/strong&gt;[/quote]
&lt;p&gt;I see from the images that you are using MDBT50Q-DB-40. Have you tried building for &lt;code&gt;raytac_mdbt50q_db_40/nrf52840&lt;/code&gt; ?&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/pastedimage1736425498444v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>