NOTICE: The Processors Wiki will End-of-Life in December of 2020. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
The LCDC peripheral can be configured to operate in LIDD mode and interface with character displays to output ASCII characters or messages. The LCDC peripheral cannot operate in LIDD mode and raster mode simultaneously, so only one type of display can be used at a time.
- Setup pin multiplexing for the LCDC peripheral in LIDD mode. This is done using the LIDDPinMuxSetup() API.
- The Character LCD interfacing lines are muxed on the EVM with various other peripherals like the VPIF, ADC/DAC, Ethernet etc. Thus the on board mux TCA6416 needs to be configured to route the LCD lines to the character LCD. This, since is platform (EVM) dependent is abstracted in function LIDDDisplayEnable() in the platform library.
- The clock for the LIDD needs to be configured so as to generate a proper ENABLE signal for the character LCD. This is done using the LIDDClkConfig() API.
- Select LIDD mode to drive the character LCD. This is done using the LIDDModeSet() API.
- Setup strobe timing parameters as required by the character LCD using the LIDDCSTimingConfig() API.
- The character LCD needs to initialized with a series of commands (detailed in the character LCD manual). This command sequence series can be executed using the DisplayControlValueWrite() API.
- Once the character LCD is initialized, messages can be displayed by calling LIDDDataWrite().