This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TM4C123GH6PGE: TIVA C graphics library not working

Part Number: TM4C123GH6PGE

Tool/software: Code Composer Studio

Hello, 

I was using TM4C123G to work on TFT colour display touch pannel attached on easymxpro V7.

I found a code example for a simple rectangular touch push button from TM4C123G_LaunchPad workshop to display a button on touch screen and control a LED on the Board.

The problem is the  screen gets blank WHITE if the TouchScreenInit() function is initialized in the mains. 

If i didnt initialize or call TouchScreenInit() function the display will get properly initialized and displays the buttons but 

pressing or touching  the button on the screen wont control the LED. below is the snippt of the touch screen, and the program associated with it. any help?

  • Hello Leul,

    The screen you are interfacing with is not one that has drivers which are natively supported in TivaWare. I suspect that the initialization requirements differ from the Kentac SSD2119 display that we use for TivaWare. You would need to assess what the requirements are for your own screen.

    The touch.c file is a specific driver file that we put together for our EVM kits and is not part of the general grlib. These driver files are application specific so modifications to them would need to be handled by the end user based on their application requirements.