Program the TI TrxEB LCD

So my fun task for this time is to find out how to program TI TrxEB LCD. So I started by understanding the wiring on the board and finding out which msp430 ports I need. Below is the result depicted:

Simplified wiring diagram.

Knowing that so mainly we need to do these steps:

  • Find the SPI settings expected by the LCD
  • Find the configuration register values of the LCD
  • Setup SPI accordingly on the MSP430
  • Write the LCD configuration registers over spi
  • Write any test string

So i have done all that and here my code. So first of all we need to configure the clock for spi. 4 MHz or 8 MHz should be fine. Here how to get it:

So now we configure SPI bus and use the 4 MHz for it:

Power up the LCD an reset it:

Now we start writing to LCD registers, first we configure it:

The LCD is now configured and ready to be printed:

So finally you should see something like this. During configuring the LCD i saw a noise pattern on it for a short time. May be you know why? 🤔

Subscribe to get last updates.

×