
1065
SAM9G45 [DATASHEET]
6438K–ATARM–12-Feb-13
The LCDDEN signal indicates valid data in the LCD Interface.
After each horizontal line of data has been shifted into the LCD, the LCDHSYNC is asserted to cause the line to be
displayed on the panel.
The following timing parameters can be configured:
Vertical to Horizontal Delay (VHDLY): The delay between the falling edge of LCDVSYNC and the generation of
LCDHSYNC is configurable in the VHDLY field of the LCDTIM1 register. The delay is equal to (VHDLY+1)
LCDDOTCK cycles.
Horizontal Pulse Width (HPW): The LCDHSYNC pulse width is configurable in HPW field of LCDTIM2 register.
The width is equal to (HPW + 1) LCDDOTCK cycles.
Horizontal Back Porch (HBP): The delay between the LCDHSYNC falling edge and the first LCDDOTCK rising
edge with valid data at the LCD Interface is configurable in the HBP field of the LCDTIM2 register. The delay is
equal to (HBP+1) LCDDOTCK cycles.
Horizontal Front Porch (HFP): The delay between end of valid data and the generation of the next LCDHSYNC
is configurable in the HFP field of the LCDTIM2 register. The delay is equal to (HFP+VHDLY+2) LCDDOTCK
cycles.
There is a limitation in the minimum values of VHDLY, HPW and HBP parameters imposed by the initial latency of
the datapath. The total delay in LCDC clock cycles must be higher than or equal to the latency column in
Table 45-45.6.2.9
Equation 1
where:
VHDLY, HPW, HBP are the value of the fields of LCDTIM1 and LCDTIM2 registers
PCLK_PERIOD is the period of LCDDOTCK signal measured in LCDC Clock cycles
The LCDVSYNC is asserted once per frame. This signal is asserted to cause the LCD's line pointer to start over at
the top of the display. The timing of this signal depends on the type of LCD: STN or TFT LCD.
Table 45-14. Minimum LCDDOTCK Period in LCDC Core Clock Cycles
Configuration
LCDDOTCK Period
DISTYPE
SCAN
IFWIDTH
TFT
1
STN Mono
Single
4
STN Mono
Single
8
STN Mono
Dual
8
STN Mono
Dual
16
STN Color
Single
4
2
STN Color
Single
8
2
STN Color
Dual
8
4
STN Color
Dual
16
6
VHDLY
HPW
HBP
3
++
+
() PCLK_PERIOD
×
DPATH_LATENCY
≥