11-38 SA-1100

Developer’s Manual
Peripheral Control Module
The following table shows the location of the four bit fields located in LCD control register 2 (LCCR2). The LCD controller must be disabled (LEN=0) when changing the state of any field within this register.
Address: 0h B010 0024 LCCR2: LCD Controller Control Register 2 Read/Write
Bit31302928272625242322212019181716
BFW EFW
Reset0000000000000000
--
Bit151413121110 9 8 7 6 5 4 3 21 0
VSW LPP
Reset0000000000000000
Bit Name Description
9..0 LPP Lines per panel.
Value (from 1 to 1024). Used to specify number of lines per panel. For single-panel
mode, this represents the total number of lines on the LCD display; for dual-panel
mode, this represents half the number of lines on the whole LCD display.
Lines/panel = (LPP+1).
15..10 VSW Vertical sync pulse width.
In active mode (PAS=1), value (from 1 to 64). Used to specify number of line clock
periods to pulse the L_FCLK pin at the end of each frame after the end-of-frame wait
(EFW) period elapses. Frame clock used as VSYNC signal in active mode.
In passive mode (PAS=0), value (from 1 to 64). Used to specify number of extra line
clock
periods to insert after the end-of-frame. Note that the width of L_FCLK is not affected
by VSW in passive mode and that line clock does not transition during the insertion of
the extra line clock periods. Also note that both EFW and BFW should be set to zero in
passive mode.
VSYNC width = (VSW+1).
23..16 EFW End-of-frame line clock wait count.
In active mode (PAS=1), value (from 0 to 255). Used to specify number of line clock
periods to add to the end of each frame. Note that line clock does transition during the
insertion of the extra line clock periods. EFW should be cleared to zero (disabled) in
passive mode.
31..24 BFW Beginning-of-frame line clock wait count.
In active mode (PAS=1), value (from 0 to 255). Used to specify number of line clock
periods to add to the beginning of a frame before the first set of pixels is output to the
display. Note that line clock does transition during the insertion of the extra line clock
periods. BFW should be cleared to zero (disabled) in passive mode.