ade7566 Analog Devices, Inc., ade7566 Datasheet - Page 93

no-image

ade7566

Manufacturer Part Number
ade7566
Description
Single-phase Energy Measurement Ic With 8052 Mcu, Rtc, And Lcd Driver
Manufacturer
Analog Devices, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ade7566ASTZF16
Manufacturer:
Bestrely
Quantity:
4 213
Part Number:
ade7566ASTZF16
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ade7566ASTZF16
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Part Number:
ade7566ASTZF16-RL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ade7566ASTZF8
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ade7566ASTZF8-RL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Example LCD Setup
An example to set up the LCD peripheral for a specific LCD is
described in this section with the following parameters:
A 96 segment LCD with 4× multiplexing requires 96/4 = 24
segment lines. Sixteen pins, FP0 to FP15, are automatically
dedicated for use as LCD segments. Eight more pins must be
chosen for the LCD function. Because the LCD has 4× multi-
plexing, all four common lines are used. As a result, COM2/FP28
The LCD is setup with the following 8052 code:
; setup LCD pins to have LCD functionality
MOV
MOV
; setup LCDCON for f
MOV
; setup LCDCONX for charge pump and BIASLVL[110111]
MOV
; set up refresh rate for 64Hz with f
MOV
; set up LCD data registers with data to be displayed using
; LCDPTR and LCDDATA registers
; turn all segments on FP27 ON and FP26 OFF
ORL
MOV
MOV
ANL
ORL
To setup the same 3.3 V LCD for use with an external resistor ladder:
; setup LCDCONX for external resistor ladder
MOV
Type of LCD: 5 V, 4× multiplexed with 1/3 bias, 96 segment
Voltage generation: internal charge pump
Refresh rate: 64 Hz
LCDSEG,#FP20EN+FP21EN+FP22EN+FP23EN
LCDSEGX,#FP16EN+FP17EN+FP18EN+FP19EN
LCDCON,#BIAS+LMUX1+LMUX0
LCDCONX,#BIASLVL5+BIASLVL4+BIASLVL3+BIASLVL2+BIASLVL1+BIASLVL0
LCDCLK,#FD3+FD2+FD1+FD0
LCDCONY,#01h ; start data memory refresh
LCDDAT,#F0H
LCDCONY,#0FEh ; end of data memory refresh
LCDCON,#LCDEN ; enable LCD
LCDCONX,#EXTRES
LCDPTR, #80h OR 0DH
LCDCLK
=2048Hz, 1/3 bias and 4x multiplexing
LCDCLK
=2048Hz
Rev. 0 | Page 93 of 136
and COM3/FP27 cannot be utilized as segment lines. Based on
the alternate functions of the pins used for FP16 through FP25,
FP16 to F23 are chosen for the seven remaining segment lines.
These pins are enabled for LCD functionality in the LCD
Segment Enable SFR (LCDSEGE, 0x97) and LCD Segment
Enable 2 SFR (LCDSEGE2, 0xED).
To determine contrast setting for this 5 V LCD, Table 78 shows
the BIASLVL[5:0] setting that corresponds to a VC of 5 V in
1/3 bias mode. The maximal bias level setting for this LCD is
BIASLVL[5:0] = [101110].
ADE7566/ADE7569

Related parts for ade7566