ade7518 Analog Devices, Inc., ade7518 Datasheet - Page 84

no-image

ade7518

Manufacturer Part Number
ade7518
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:
ade7518ASTZF16
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ade7518ASTZF16-RL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ade7518ASTZF8
Manufacturer:
Analog Devices Inc
Quantity:
135
Part Number:
ade7518ASTZF8
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ade7518ASTZF8-RL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
ADE7518
Table 75. LCD Pointer SFR (LCDPTR, 0xAC)
Bit
7
6
5 to 0
Table 76. LCD Data SFR (LCDDAT, 0xAE)
Bit
7 to 0
Table 77. LCD Segment Enable 2 SFR (LCDSEGE2, 0xED)
Bit
7 to 4
3
2
1
0
LCD SETUP
The LCD Configuration SFR (LCDCON, 0x95) configures the
LCD module to drive the type of LCD in the user end system.
The BIAS and LMUX[1:0] bits in this SFR should be set according
to the LCD specifications.
The COM2/FP28 and COM3/FP27 pins default to LCD segment
lines. Selecting the 3× multiplex level in the LCD Configuration
SFR (LCDCON, 0x95) by setting LMUX[1:0] = 10 changes the
FP28 pin functionality to COM2. The 4× multiplex level selection,
LMUX[1:0] = 11, changes the FP28 pin functionality to COM2
and the FP27 pin functionality to COM3.
LCD segments FP0 to FP15 and FP26 are enabled by default.
Additional pins are selected for LCD functionality in the LCD
Segment Enable SFR (LCDSEGE, 0x97) and the LCD Segment
Enable 2 SFR (LCDSEGE2, 0xED), where there are individual
enable bits for the FP16 to FP25 segment pins. The LCD pins do
not have to be enabled sequentially. For example, if the alternate
function of FP23, the Timer 2 input, is required, any of the
other shared pins, FP16 to FP25, can be enabled instead.
The Display Element Control section contains details about
setting up the LCD data memory to turn individual LCD
segments on and off. Setting the LCDRST bit in the LCD
Configuration SFR (LCDCON, 0x95) resets the LCD data
memory to its default (0). A power-on reset also clears the
LCD data memory.
Mnemonic
Reserved
FP19EN
FP18EN
FP17EN
FP16EN
Mnemonic
R/W
Reserved
ADDRESS
Mnemonic
LCDDATA
Default
0
0
0
0
0
Default
0
Default
0
0
0
Description
Read or Write LCD Bit. If this bit = 1, the data in LCDDAT is written to the address indicated by
the LCDPTR[5:0] bits.
Reserved.
LCD Memory Address (see Table 78).
Description
Reserved.
FP19 Function Select Bit. 0 = general-purpose I/O, 1 = LCD function.
FP18 Function Select Bit. 0 = general-purpose I/O, 1 = LCD function.
FP17 Function Select Bit. 0 = general-purpose I/O, 1 = LCD function.
FP16 Function Select Bit. 0 = general-purpose I/O, 1 = LCD function.
Description
Data to be written into or read out of the LCD Memory SFRs.
Rev. 0 | Page 84 of 128
LCD TIMING AND WAVEFORMS
An LCD segment acts like a capacitor that is charged and
discharged at a certain rate. This rate, the refresh rate, determines
the visual characteristics of the LCD. A slow refresh rate results
in the LCD blinking on and off between refreshes. A fast refresh
rate presents a screen that appears to be continuously lit. In
addition, a faster refresh rate consumes more power.
The frame rate, or refresh rate, for the LCD module is derived
from the LCD clock, f
or 128 Hz by the CLKSEL bit in the LCD Configuration SFR
(LCDCON, 0x95). The minimum refresh rate needed for the
LCD to appear solid (without blinking) is independent of the
multiplex level.
The LCD waveform frequency, f
the LCD switches the active common line. Thus, the LCD
waveform frequency depends heavily on the multiplex level.
The frame rate and LCD waveform frequency are set by the
f
bits in the LCD Clock SFR (LCDCLK, 0x96).
The LCD module provides 16 different frame rates for f
= 2048 Hz, ranging from 8 Hz to 128 Hz for an LCD with 4×
multiplexing. Fewer options are available with f
ranging from 8 Hz to 32 Hz for a 4× multiplexed LCD. The
128 Hz clock is beneficial for battery operation because it
consumes less power than the 2048 Hz clock. The frame rate is
set by the FD[3:0] bits in the LCD Clock SFR (LCDCLK, 0x96);
see Table 72 and Table 73.
The LCD waveform is inverted at twice the LCD waveform
frequency, f
of zero. ADC offset degrades the lifetime and performance of
the LCD.
LCDCLK
, the multiplex level, and the FD[3:0] frame rate selection
LCD
. This way, each frame has an average dc offset
LCDCLK
. The LCD clock is selected as 2048 Hz
LCD
, is the frequency at which
LCDCLK
= 128 Hz,
LCDCLK

Related parts for ade7518