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

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
ADE5166/ADE5169
Table 153. SPI Configuration SFR 1 (SPIMOD1, Address 0xE8)
Bit
[7:6]
5
4
3
2
[1:0]
Bit Address
0xEF to 0xEE
0xED
0xEC
0xEB
0xEA
0xE9 to 0xE8
Reserved
INTMOD
AUTO_SS
SS_EN
RxOFW
SPIR
Mnemonic
Default
0
0
1
0
0
0
Description
Reserved.
SPI interrupt mode.
INTMOD
0
1
Master mode, SS output control (see
AUTO_SS
0
1
Slave mode, SS input enable.
When this bit is set to Logic 1, the SS pin is defined as the slave select input pin for the
SPI slave interface.
Receive buffer overflow write enable.
RxOFW
0
1
Master mode, SPI SCLK frequency.
SPIR
00
01
10
11
Rev. 0 | Page 132 of 148
Result
SPI interrupt is set when the SPI Rx buffer is full
SPI interrupt is set when the SPI Tx buffer is empty
Result
The SS pin is held low while this bit is cleared, allowing manual chip select
control using the SS pin
Single byte read or write; the SS pin goes low during a single byte
transmission and then returns high
Continuous transfer; the SS pin goes low during the duration of the
multibyte continuous transfer and then returns high
Result
If the SPI2CRx SFR has not been read when a new data byte is received,
the new byte is discarded
If the SPI2CRx SFR has not been read when a new data byte is received,
the new byte overwrites the old data
Result
f
f
f
f
CORE
CORE
CORE
CORE
/8 = 512 kHz (if f
/16 = 256 kHz (if f
/32 = 128 kHz (if f
/64 = 64 kHz (if f
CORE
CORE
CORE
CORE
Figure 106
= 4.096 MHz)
= 4.096 MHz)
= 4.096 MHz)
= 4.096 MHz)
).

Related parts for ADE5166_08