Touch panel polling function not being called

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Touch panel polling function not being called

618件の閲覧回数
samv
Contributor II

On the LPC54628 dev. board I am trying to combine LWIP with LVGL to create an app with graphics and Ethernet ability.  I started with the LWIP demo and added the necessary code to implement the touch panel functions.  The issue I am having is that the panel polling function "DEMO_ReadTouch(...)" is not being called.  On the original LVLG demo the "DEMO_ReadTouch(...)" function gets called every 100 uS.  The "DEMO_InitTouch(void)" function does send 3 bytes of data over the I2C lines so I know the hardware is working.  Just above the "DEMO_ReadTouch(...)" function is the line /* Will be called by the library to read the touchpad */  but I don't know where the calling function is to see why it isn't firing.

Does MCUXpresso have a way to see where a function was called from?

 

0 件の賞賛
返信
2 返答(返信)

595件の閲覧回数
Harry_Zhang
NXP Employee
NXP Employee

Hi @samv 

You can search it in the project.

Harry_Zhang_0-1735270001438.png

BR

Harry

0 件の賞賛
返信

599件の閲覧回数
samv
Contributor II
I discovered that the lv_task_handler() was not called in the main startup routine. Once I corrected that it is now working fine.
0 件の賞賛
返信