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.

Starterware/EK-TM4C123GXL: Any example for LCD interface with TM4C TIVA series uC

Part Number: EK-TM4C123GXL

Tool/software: Starterware

Dear All,

I've the following board and want to interface 16x2 parallel LCD so can you please provide any example or reference code for the same ?

And I have the LCD looks like below.

Thanks for the support.

Regards,

Titus S.

  • I don't have any examples using that particular LCD display. The parallel input/output port looks pretty easy to implement with GPIOs. As you design the interface make sure you use 5V-tolerant GPIO pins (avoid PD4, PD5, PB0 and PB1).
  • Bob,
    Thanks for quick reply and guidance.
  • Titus,
    You will have to control it using the GPIO's. You can connect your data lines either using 4 pins or 8 pins, besides the control pins.
    Make sure you power the LCD with ~3V3, otherwise it will fail to recognize the logic high (it requires in theory 0.7 * VDD to be read high).
    You might fish for Hitachi HD44780U code samples and simple rewrite what you find for your Tiva. Each byte you send to the display can be either a command or an actual character to be displayed, that's another thing to pay attention on your code. It is a bit boring to control the timing and all, but done once and properly, will be good for any of these popular LCD displays.
    Bruno