Touch panel polling function not being called

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Touch panel polling function not being called

617 Views
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 Kudos
Reply
2 Replies

594 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @samv 

You can search it in the project.

Harry_Zhang_0-1735270001438.png

BR

Harry

0 Kudos
Reply

598 Views
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 Kudos
Reply