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

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
Table 139. SPI Configuration SFR 2 (SPIMOD2, 0xE9)
Bit No.
7
6
5
4
3
2
1
0
Mnemonic
SPICONT
SPIEN
SPIODO
SPIMS_b
SPICPOL
SPICPHA
SPILSBF
TIMODE
Default
0
0
0
0
0
0
0
1
Description
Master Mode, SPI Continuous Transfer Mode Enable Bit.
SPICONT
0
1
SPI Interface Enable Bit.
SPIEN
0
1
SPI Open Drain Output Configuration Bit.
SPIODO
0
1
SPI Master Mode Enable Bit.
SPIMS_b
0
1
SPI Clock Polarity Configuration Bit (see Figure 105).
SPICPOL
0
1
SPI Clock Phase Configuration Bit (see Figure 105).
SPICPHA
0
1
Master Mode, LSB First Configuration Bit.
SPILSBF
0
1
Transfer and Interrupt Mode of the SPI Interface.
TIMODE
1
Result
The SPI interface stops after one byte is transferred and SS is deasserted. A new data transfer
can be initiated after a stalled period.
The SPI interface continues to transfer data until no valid data is available in the SPI2CTx SFR.
SS remains asserted until the SPI2CTx SFR and the transmit shift register is empty.
Result
The SPI interface is disabled.
The SPI interface is enabled.
Result
Internal pull-up resistors are connected to the SPI outputs.
The SPI outputs are open-drain and need external pull-up resistors. The pull-up voltage
should not exceed the specified operating voltage.
Result
The SPI interface is defined as a slave.
The SPI interface is defined as a master.
Result
The default state of SCLK is low, and the first SCLK edge is rising. Depending on SPICPHA bit,
the SPI data output changes state on the falling or rising edge of SCLK while the SPI data
input is sampled on the rising or falling edge of SCLK.
The default state of SCLK is high, and the first SCLK edge is falling. Depending on SPICPHA
bit, the SPI data output changes state on the rising or falling edge of SCLK while the SPI data
input is sampled on the falling or rising edge of SCLK.
Result
The SPI data output changes state when SS goes low at the second edge of SCLK and then
every two subsequent edges whereas the SPI data input is sampled at the first SCLK edge
and then every two subsequent edges.
The SPI data output changes state at the first edge of SCLK and then every two subsequent
edges whereas the SPI data input is sampled at the second SCLK edge and then every two
subsequent edges.
Result
The MSB of the SPI outputs is transmitted first.
The LSB of the SPI outputs is transmitted first.
Result
This bit must be left set for proper operation.
Rev. 0 | Page 121 of 136
ADE7566/ADE7569

Related parts for ade7566