LCD
 
Component LCD
Liquid Crystal Display
Component Level: Low

This component encapsulates the Liquid Crystal Display (LCD) driver module on a chip. It can drive an LCD display (without controller) which is composed of a variable number of frontplanes and backplanes. It can also control the contrast and the current mode of display.

The LCD driver supports variety configurations of frontplanes and backplanes. For example it can be 27 frontplanes x 1 backplane, 27 frontplanes x 3 backplanes or 26 frontplanes x 4 backplanes modes. Available configurations of frontplane and backplane pins depend on the selected CPU derivative.

Version specific information for HCS08 family derivatives

For HCS08 is it possible to controll separatelly:

    • segment state (if LCD segment is active or inactive)
    • and if this state is applied to otuput
See methods "GetSegmentState"/"SetSegmentState"/"SetBlank"/"ResetSegmentState"

AND

    • blinking state of the segment
    • and if the blinking of the display is enabled or disabled
See methods "GetSegmentBlinkState"/"SetSegmentBlinkState"/"Blinking"/"ResetSegmentState"

Note: Methods "GetSegmentBlinkState", "SetSegmentBlinkState", "ResetSegmentState" are available only for LCD module ver. 1 (MC9S08LC60)

Version specific information for HCS08 family derivatives with LCD module version 1 (e.g. MC9S08LC60)

Event OnInterrupt is invoked with the LCD module frame frequency (waveform = Normal) or sub-frame frequency (waveform = Low-power).

Version specific information for HCS08, RS08, ColdFireV1 family derivatives with LCD module version 2 (e.g. MC9S08LL16)

Timing

Base clock of the component doesn't correspond to the definition of base clock in the reference manual. Base clock of the component is the clock frequency without division factors that depends on the number of backplanes (Y and DUTY parameters described in the reference manual).
Base clock[Hz] = (LCD source clock[Hz])/8/(4+LCLK).

LCD frame frequency is counted for information in another property of the component and depends on the number of backplanes. Y and DUTY parameters are included, and the value corresponds to the frame frequency described in the reference manual.
LCD frame frequency[Hz] = (Base clock[Hz])/Y/(DUTY+1)

Backplane allocation

Backplane phases are initialized by default in the same order as backplane pins allocated in the component, i.e. Backplane pin 0 = phase A, Backplane pin 1 = phase B etc. Only in a special case, the default setting of backplane phases may be changed by "SetBackplaneState" method, but in this case backplane number passed as parameter to "SetData", "SetAlternateData", "GetData", "GetAlternateData", "GetSegmentState" and "SetSegmentState" methods will no longer corresponds to the order of pins allocated in the component. Backplane number passed as parameter to the methods mentioned above must then correspond to phase parameter set by "SetBackplaneState" method.