ADE5166_08 AD [Analog Devices], ADE5166_08 Datasheet - Page 3

no-image

ADE5166_08

Manufacturer Part Number
ADE5166_08
Description
Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
Manufacturer
AD [Analog Devices]
Datasheet
Flash Memory .................................................................................. 99
Timers ............................................................................................ 106
PLL ................................................................................................. 111
Real-Time Clock (RTC) .............................................................. 112
UART Serial Interface .................................................................. 120
REVISION HISTORY
10/08—Revision 0: Initial Version
LCD Setup .................................................................................... 95
LCD Timing and Waveforms .................................................... 95
Blink Mode ................................................................................... 96
Scrolling Mode ............................................................................ 96
Display Element Control ............................................................ 96
Voltage Generation ..................................................................... 97
LCD External Circuitry .............................................................. 97
LCD Function in PSM2 .............................................................. 98
Flash Memory Overview ............................................................ 99
Flash Memory Organization ...................................................... 99
Using the Flash Memory ......................................................... 100
Protecting the Flash Memory ................................................. 103
In Circuit Programming ......................................................... 105
Timer Registers ......................................................................... 106
Timer 0 and Timer 1 ................................................................ 108
Timer 2 ...................................................................................... 109
PLL Registers ............................................................................ 111
Access to RTC SFRs ................................................................. 112
Access to Internal RTC Registers ........................................... 112
RTC SFRs .................................................................................. 113
RTC Registers ........................................................................... 116
RTC Calendar ........................................................................... 117
RTC Interrupts ......................................................................... 118
RTC Crystal Compensation .................................................... 119
UART SFRs ............................................................................... 120
Rev. 0 | Page 3 of 148
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
UART2 Serial Interface................................................................. 127
Serial Peripheral Interface (SPI) .................................................. 131
I
I/O Ports ......................................................................................... 140
Determining the Version of the ADE5166/ADE5169 .............. 145
Outline Dimensions ...................................................................... 146
2
C-Compatible Interface ............................................................. 137
UART Operation Modes .......................................................... 123
UART Baud Rate Generation .................................................. 124
UART Additional Features ...................................................... 126
UART2 SFRs .............................................................................. 127
UART2 Operation Mode ......................................................... 129
UART2 Baud Rate Generation ................................................ 129
UART2 Additional Features .................................................... 130
SPI Registers .............................................................................. 131
SPI Pins ....................................................................................... 134
SPI Master Operating Modes .................................................. 135
SPI Interrupt and Status Flags ................................................. 136
Serial Clock Generation ........................................................... 137
Slave Addresses .......................................................................... 137
I
Read and Write Operations ..................................................... 138
I
Parallel I/O ................................................................................. 140
I/O Registers .............................................................................. 141
Port 0 ........................................................................................... 144
Port 1 ........................................................................................... 144
Port 2 ........................................................................................... 144
Ordering Guide ......................................................................... 146
2
2
C Registers ............................................................................... 137
C Receive and Transmit FIFOs ............................................. 139
ADE5166/ADE5169
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Related parts for ADE5166_08