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

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
I
The ADE7518 supports a fully licensed I
interface is implemented as a full hardware master.
SDATA is the data I/O pin, and SCLK is the serial clock. These
two pins are shared with the MOSI and SCLK pins of the on-chip
SPI interface. Therefore, the user can enable only one interface
on these pins at any given time. The SCPS bit in the Configuration
SFR (CFG, 0xAF) selects which peripheral is active.
The two pins used for data transfer, SDATA and SCLK, are
configured in a wire-AND format that allows arbitration in a
multimaster system.
The transfer sequence of an I
initiating a transfer by generating a start condition while the bus
is idle. The master transmits the address of the slave device and
the direction of the data transfer in the initial address transfer.
If the slave acknowledges the start condition, the data transfer is
initiated. This continues until the master issues a stop condition
and the bus becomes idle.
SERIAL CLOCK GENERATION
The I
transfer. The master channel can be configured to operate in
fast mode (256 kHz) or standard mode (32 kHz).
Table 132. I
SFR Address
0x9A
0x9B
0xE8
0xE9
0xEA
Table 133. I
Bit
7
6 to 5
4 to 0
Table 134. I
Bit
7 to 1
0
2
C-COMPATIBLE INTERFACE
2
C master in the system generates the serial clock for a
Address
0xEF
0xEE to 0xED
0xEC to 0xE8
Mnemonic
I2CSLVADR
I2CR_W
2
2
2
C SFR List
C Mode SFR (I2CMOD, 0xE8)
C Slave Address SFR (I2CADR, 0xE9)
Name
SPI2CTx
SPI2CRx
I2CMOD
I2CADR
SPI2CSTAT
Mnemonic
I2CEN
I2CR[1:0]
I2CRCT[4:0]
Default
0
0
2
C system consists of a master device
Description
Address of the I
Command Bit for Read or Write. When this bit is set to Logic 1, a read command is transmitted on the
I
to Logic 0, a write command is transmitted on the I
2
C bus. Data from the slave in the SPI2CRx SFR is expected after a command byte. When this bit is set
Default
0
00
0
2
C interface. The I
R/W
W
R
R/W
R/W
R/W
Description
I
I2CADR SFR starts a communication.
I
I2CR[1:0]
00
01
10
11
Configures the length of the I
I2CRCT, Bits[4:0] + 1 byte have been read or if an error occurs.
2
2
C Enable Bit. When this bit is set to Logic 1, the I
C SCLK Frequency.
2
C Slave Being Addressed. Writing to this register starts the I
Length
8
8
8
8
8
2
C
Rev. 0 | Page 118 of 128
Result
f
f
f
f
CORE
CORE
CORE
CORE
/16 = 256 kHz if f
/32 = 128 kHz if f
/64 = 64 Hz if f
/128 = 32 kHz if f
Default
0
0
0
0
0
The bit rate is defined in the I2CMOD SFR as follows:
SLAVE ADDRESSES
The I
device ID. The LSB of this register contains a read/write request.
A write to this SFR starts the I
I
The I
Because the SPI and I
they also share the same SFRs, such as the SPI2CTx and SPI2CRx
SFRs. In addition, the I2CMOD, I2CADR, and SPI2CSTAT SFRs
are shared with the SPIMOD1, SPIMOD2, and SPISTAT SFRs,
respectively.
2
C REGISTERS
I2CMOD
SPI2CSTAT
I2CADR
SPI2CTx
SPI2CRx
2
2
2
f
C received FIFO buffer. The I
C Slave Address SFR (I2CADR, 0xE9) contains the slave
C peripheral interface consists of five SFRs.
SCLK
CORE
CORE
CORE
CORE
= 4.096 MHz.
=
= 4.096 MHz.
= 4.096 MHz.
= 4.096 MHz.
16
2
C bus. Data to slave is expected in the SPI2CTx SFR.
Description
SPI/I
SPI/I
I
I
I
2
2
2
×
C Mode (see Table 133).
C Slave Address (see Table 134).
C Interrupt Status Register (see Table 135).
f
2
CORE
I
2
2
2
C Transmit Buffer (see Table 127).
C Receive Buffer (see Table 128).
CR
2
: 1 [
C serial interfaces share the same pins,
] 0
2
C interface is enabled. A write to the
2
C communication.
2
C peripheral stops when
2
C transmission (read or write).

Related parts for ade7518