<?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>Problem using lvgl:</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96362/problem-using-lvgl</link><description>Hi, 
 I am using an nRF5340DK and an Adafruit 2.8&amp;quot; TFT Touch Shield to implement a touch keyboard on the board. 
 I am modifying the lvgl example provided by the sdk. The initial example worked fine. However, when I make changes to add the keyboard widget</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Feb 2023 11:32:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96362/problem-using-lvgl" /><item><title>RE: Problem using lvgl:</title><link>https://devzone.nordicsemi.com/thread/409129?ContentTypeID=1</link><pubDate>Thu, 09 Feb 2023 11:32:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f24bed4-00f1-43a3-aeff-03a20cb6ba72</guid><dc:creator>Pablosanserr</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the suggestion. Unfortunately the logs did not show me any relevant information about the problem.&lt;/p&gt;
&lt;p&gt;However, I have found the problem. The lv_task_handler() function must be called continuously so that lvgl can react to events.&lt;/p&gt;
&lt;p&gt;Adding an infinite loop at the end of main solved my problem. The keyboard works correctly.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;while(1){
	lv_task_handler();
	k_sleep(K_MSEC(5));
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem using lvgl:</title><link>https://devzone.nordicsemi.com/thread/408841?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2023 11:56:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93242216-0f41-451d-bfe4-71ae85d92228</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;I suggest you start by enabling any relevant logging. At least for zephyr I2C driver, nrfx twim driver, and lvgl library.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I also suggest you scope the I2C lines with a digital analyzer and see what happens before and after you touch the screen.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>