13.2 LCD Interrupts
The LCD timing generation provides an interrupt that
defines the LCD frame timing. This interrupt can be
used to coordinate the writing of the pixel data with the
start of a new frame. Writing pixel data at the frame
boundary allows a visually crisp transition of the image.
This interrupt can also be used to synchronize external
events to the LCD. For example, the interface to an
external segment driver, such as a Microchip AY0438,
can be synchronized for segment data update to the
LCD frame.
PIC16C9XX
A new frame is defined to begin at the leading edge of
the COM0 common signal. The interrupt will be set
immediately after the LCD controller completes
accessing all pixel data required for a frame. This will
occur at a certain fixed time before the frame boundary
as shown in Figure 13-9. The LCD controller will begin
to access data for the next frame within TFWR after the
interrupt.
FIGURE 13-9: EXAMPLE WAVEFORMS IN 1/4 MUX DRIVE
LCD
Interrupt
occurs
COM0
Controller accesses
next frame data
V3
V2
V1
V0
V3
COM1
V2
V1
V0
COM2
COM3
1 Frame
Frame
Boundary
TFWR = TFRAME/(LMUX1:LMUX0 + 1)
TFINT = (TFWR /2 - (2TCY + 40 ns)) → min.
(TFWR /2 - (1TCY + 40 ns)) → max.
V3
V2
V1
V0
V3
V2
V1
V0
TFINT
TFWR
Frame
Boundary
© 1997 Microchip Technology Inc.
DS30444E - page 97