7-36 Intel® PXA26x Processor Family Developer’s Manual
Liquid Crystal Display Controller
7.6.4.7 AC Bias Pin Transitions Per Interrupt (API)
The 4-bit API field specifies the number of AC bias pin (L_BIAS) transitions to count before
setting the LCSR[ACS] status bit that signals an interrupt request. After the LCD controller is
enabled, the value in API is loaded to a 4-bit down counter, and the counter decrements each time
L_BIAS is inverted. When the counter reaches zero, it stops, and the LCSR[ABC] count bit is set.
Once LCSR[ABC] is set, the 4-bit down counter is reloaded with the value in API and is disabled
until ABC is cleared. When ABC is cleared by the CPU, the down counter is enabled and again
decrements each time the AC bias pin is inverted. The number of AC bias pin transitions between
each interrupt request ranges from 1 to 15. Setting API to 0x0 disables the API function.
In active display mode (LCCR0[P AS]=1), L_BI AS is the output enabl e signal. However , signalling
of the API interrupt may still occur. The ACB bit field can be used to cou nt line clock pulses in
active mode. When the programmed number of line clock pulses occurs, an internal s ignal is
toggled that decrements the 4-bit counter used by the API interrupt logic. Once this internal signal
toggles the programmed number of times, as specified by API, an interrupt is generated. The user
must program API to zero if the API interrupt function is not required in active mode.
7.6.4.8 AC Bias Pin Frequency (ACB)
In passive display mode (LCCR0[PAS]=1), the 8-bit AC B field sp ecifies the numb er of lin e clocks
to count between each toggle of the AC bias pin (L_BIAS). After the LCD controller is enabled,
the value in ACB is loaded to an 8-bit down counter, which begins to decrement using the line
clock (L_LCLK). When the counter reaches zero, it stops, L_BIAS is toggled, and the wh ole
procedure starts again. The number of line clocks between each bias pin t ran sitio n ranges fro m 1 to
256, corresponding to ACB values from 0 to 255. Thus, the value to program into ACB is the
desired number of line clocks minus 1.
A passive LCD display uses AC bias to periodically reverse the polarity of the power supplied to
the screen in order to eliminate D.C. off set. If th e LCD d isplay b eing contr olled has its own in ternal
means of switching its power supply, set ACB to its maximum value (0xFF) to reduce power
consumption. ACB must be programmed conservatively in a system with band wid th prob lems that
result in output FIFO underruns in the LCD controller. In these cases, the pixel clock is stalled for
passive displays, which can result in more time between line clocks than expected. See
Section7.3.5, “Liquid Crystal Display Controller Pin Usage” on page7-9 for more information on
how output FIFO underruns are handled.
In active display mode, the ACB bit field has no effect o n the L_BIA S pin. Because t he pixel clo ck
toggles continuously in active mode, the AC bias pin is used as an output enable si gnal. In active
mode, it is asserted automatically by the LCD controller whenever pixel data is driven to the data
pins. This signals the display when it may use the pixel clock to latch pixel s. Use ACB in active
mode to count line clocks and generate API interrupts.
7.6.4.9 Pixel Clock Divider (PCD)
The 8-bit PCD field selects the frequency of the pixel clock (L_CLK). PCD can be any value from
0 to 255. It generates a range of pixel clock frequencies from LCLK/2 to LCLK/512, where LCLK
is the programmed frequency of the LCD/memory controller cloc k. LCLK can var y fr om 1 00MHz
to 166MHz.
The pixel clock frequency must be adjusted to meet the re qui red s cree n r efr es h rat e, whi ch d e pen ds
on:
Number of pixels for the target display