NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. 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.

StarterWare LCDC

From Texas Instruments Wiki
Jump to: navigation, search

Raster LCD[edit]

Introduction[edit]

Raster LCD Controller is used to display image on LCD panel.Raster LCD Controller is a synchronous LCD interface. It provides timing and data for constant graphics refresh to a passive display. Graphics data is processed and stored in frame buffers. A frame buffer is a contiguous memory block in the system. A built-in DMA engine supplies the graphics data to the Raster engine which, in turn, outputs to the external LCD device.

Programing Sequence[edit]

To program the raster controller, the following sequence can be used.

  • Enable clock for LCD module.
  • Pin multiplexing registers to enable LCD raster pin and a standard configuration is provided as part of the function LCDPinMuxSetup() in platform directory
  • Enable Software Clock for DMA,LIDD submodule and for Core(which encompasses raster active and passive matrix logic) by invoking RasterClocksEnable() API.
  • Configure the rate at which pixel data should be output by configuring pixel clock frequency by invoking RasterClkConfig() API.
  • Configuring the DMA for single or double frame buffer ,busrst size for DMA data transfer etc is done by invoking RasterDMAConfig() API.
  • Configuring Panel type(TFT or STN) ,color display or monochrome, 1/2/4/8/16/24 bit per pixel mode (packed or unpacked(only for 24 bit)) is done invoking RasterModeConfig()API.
  • Configure the polarity of various timing parameters (for example frame clock , pixel clock, line clock etc.) used by raster by invoking RasterTiming2Configure()
  • Configure the Horizontal timing parameters and pixel per line of the raster by invoking RasterHparamConfig() API.
  • Configure the vertical timing parameters and Pixel per panel of the raster invoking RasterVparamConfigure() API.
  • Configure the required amount of FIFO delay by invoking RasterFIFODMADelayConfig()
  • Configure the base address register with base address of the array which contain pixels of the image to be displayed and ceiling address register with end address of the same array using API RasterDMAFBConfig()
  • Enable End of frame 0 and 1 interrupt by invoking RasterIntEnable() API;
  • Enable the Raster by inovking RasterEnable().

Note: Text in blue refers to the configuration steps applicable to LCDC IP of the following SoCs.

  • AM335x
E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article StarterWare LCDC here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article StarterWare LCDC here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article StarterWare LCDC here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article StarterWare LCDC here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article StarterWare LCDC here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article StarterWare LCDC here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article StarterWare LCDC here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article StarterWare LCDC here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article StarterWare LCDC here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity