38.6.1.3 Timing Engine Powerup Software Operation

The following sequence is used to enable the display:

  1. Configure LCD timing parameters, signal polarity and clock period.
  2. Enable the pixel clock by writing a one to bit LCDC_LCDEN.CLKEN.
  3. Poll bit LCDC_LCDSR.CLKSTS to check that the clock is running.
  4. Enable Horizontal and Vertical Synchronization by writing a one to bit LCDC_LCDEN.SYNCEN.
  5. Poll bit LCDC_LCDSR.LCDSTS to check that the synchronization is up.
  6. Enable the display power signal by writing a one to bit LCDC_LCDEN.DISPEN.
  7. Poll bit LCDC_LCDSR.DISPSTS to check that the power signal is activated.

The field LCDC_LCDCFG5.GUARDTIME is used to configure the number of frames before the assertion of the DISP signal.