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.

Any sample code for Alphanumeric LCD Interface (16x2)

Other Parts Discussed in Thread: EK-TM4C1294XL

Hi All,

   Board Name : EK-TM4C1294XL.

     I stuck up with writing Alphanumeric LCD(8bit) Interface coding. Any sample code available.

Best Regards,

  Murali

  • Hi Murali,

    TI-RTOS does not have an example/driver for LCDs, but after a small e2e search I found these posts (link or link) where a customers have done the same with a Stellaris Launchpad.  I believe, with little effort, you can port the code to use the TI-RTOS GPIO driver (maybe even create an TI-RTOS based LCD driver of your own!!).

    Hope this helps,

    -- Emmanuel

  • 7144.Board.hHi Emmanuel0820.gpiointerrupt.zip

    Board Name :- EX-TM4C1296XL

    TI-RTOS Ver. :- 2_10_01_38

    Thank You Emmanuel..  I try to Implement the same LCD code in the TI-RTOS environment.  Now I picked up gpiointerrupt project code and try to modified, I start testing DATA lines , while building  the code there’s no errors  but run in the debug mode, auto exit while bellow given line of instruction

    GPIO_write(LCD_Data0|LCD_Data1|LCD_Data2|LCD_Data3|LCD_Data4|LCD_Data5|LCD_Data6|LCD_Data7, 0x02);

    I have attached modified .C & .H files for Your reference.

    One more question how to configure GPIO bus (8 bits)   IN or OUT mode while executing the program ..?

    Best Regards,

    Muralidhara S.N.