39.6.1.3 Timing Engine Powerup Software Operation
The following sequence is used to enable the display:
- Configure LCD timing parameters, signal polarity and clock period.
- Enable the pixel clock by writing a one to bit LCDC_LCDEN.CLKEN.
- Poll bit LCDC_LCDSR.CLKSTS to check that the clock is running.
- Enable Horizontal and Vertical Synchronization by writing a one to bit LCDC_LCDEN.SYNCEN.
- Poll bit LCDC_LCDSR.LCDSTS to check that the synchronization is up.
- Enable the display power signal by writing a one to bit LCDC_LCDEN.DISPEN.
- 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.