<?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>nRF5340 LVGL driving adafruit 2.8 display, keyboard corruption / crashing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73124/nrf5340-lvgl-driving-adafruit-2-8-display-keyboard-corruption-crashing</link><description>I started with the ncs-display-ble-example which worked fine. Next I took the LVGL lv_demo_widget, ran it in the simulator using visual studio 2019 where it ran fine. Then I replaced most of the code in gui.c in the ble example with my gui code. It almost</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Mar 2021 04:10:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73124/nrf5340-lvgl-driving-adafruit-2-8-display-keyboard-corruption-crashing" /><item><title>RE: nRF5340 LVGL driving adafruit 2.8 display, keyboard corruption / crashing</title><link>https://devzone.nordicsemi.com/thread/302275?ContentTypeID=1</link><pubDate>Mon, 29 Mar 2021 04:10:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d0eba2f-daf0-4496-af5a-c997a27a824f</guid><dc:creator>Alan</dc:creator><description>&lt;p&gt;The corrupted keyboard (and other symbol issues) was related to the text encoding and the fonts.&amp;nbsp;&amp;nbsp;Enabling UTF8 text encoding and using one of the LVGL fonts made that part of it work better.&amp;nbsp; I added this to my prj.conf file and got much better results:&lt;/p&gt;
&lt;p&gt;CONFIG_LVGL_TXT_ENC_UTF8=y&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_LVGL_FONT_MONTSERRAT_14=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_LVGL_THEME_DEFAULT_FONT_NORMAL_MONTSERRAT_14=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I was still having crashing issues with the tabbed view version of the GUI, so I simplified it and recreated it without the tabbed views.&amp;nbsp; It didn&amp;#39;t look as nice but it works without issues.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 LVGL driving adafruit 2.8 display, keyboard corruption / crashing</title><link>https://devzone.nordicsemi.com/thread/301429?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 12:57:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ced2e2c-bd78-4fff-8081-4965fa905858</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If is not much to go on with &amp;quot;&lt;span&gt;When I run it I get an exception.&amp;quot; Some more specifics would make it easier for the community to help you figure out what is causing problems.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I do not have any experience with this library, but seems they have &lt;a href="https://forum.lvgl.io/"&gt;their own forum&lt;/a&gt;. I believe you will get much better help with resolving your issues there.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>