Data Sheet
UART INTERFACE
Table 10. Frames in the UART Packet
ADE7953
The ADE7953 provides a simple universal asynchronous
receiver/transmitter (UART) interface that allows all the functions
of the ADE7953 to be accessed using only two single-direction
pins. The UART interface allows an isolated communication
Frame
F1
F2
F3
Function
Read/write
Address MSB
Address LSB
interface to be achieved using only two low cost opto-isolators.
The UART interface operates at a fixed baud rate of 4800 bps
and is therefore suitable for low speed designs.
The UART interface on the ADE7953 is accessed via the Tx pin
(Pin 26), which transmits data from the ADE7953 , and the Rx
pin (Pin 27), which receives data from the microcontroller. A
simple master/slave topology is implemented on the UART inter-
face with the ADE7953acting as the slave. All communication
is initiated by the sending of a valid frame by the master (the
microcontroller) to the slave (the ADE7953 ). The format of the
frame is shown in Figure 72.
As shown in Figure 72, each frame consists of 10 bits. Each bit is
sent at a bit rate of 4800 bps, resulting in a frame time of 2.08 ms
((1/4800) × 10). A wait period of 6 ms should be added from
when the UART communication mode is established using the
CS and SCLK pins to when the first frame is sent. A minimum
wait of 0.2 ms should be included between frames. All frame
data is sent LSB first.
Communication via the UART interface is initiated by the
master sending a packet of three frames (see Table 10).
F1 determines whether the communication is a read or a write
operation, and the following two frames (F2 and F3) select the
register that is to be accessed. Each frame consists of eight data
bits, as shown in Figure 72. A read is issued by writing the value
0x35 to F1, and a write is issued by writing the value 0xCA to
F1. Any other value is interpreted as invalid and results in an
unsuccessful communication with the ADE7953 . The address
bytes are sent MSB first; therefore, F2 contains the most
significant portion of the address, and F3 contains the least
significant portion of the address. The bits within each address
frame are sent LSB first.
The ADE7953 UART interface uses two timeouts, t 1 and t 2 , to
synchronize the communication and to prevent the communi-
cation from halting. The first timeout, t 1 , is the frame-to-frame
delay and is fixed at 4 ms max. The second timeout, t 2 , is the
packet-to-packet delay and is fixed at 6 ms min. These two
timeouts act as a reset for the UART function. More informa-
tion about how the timeouts are implemented is provided in
the UART Read section and the UART Write section.
Verification of a successful UART communication can be
achieved by implementing a write/read/verify sequence in the
microcontroller. Successful communications are also recorded
in the LAST_ADD, LAST_RWDATA, and LAST_OP registers,
as described in the Communication Verification section.
t 2
SCLK
CS
t 1
Rx
FRAME
t 1 = FRAME DELAY: 0.2ms (MIN), 4ms (MAX)
t 2 = PACKET DELAY: 6ms (MIN)
Figure 72. UART Frame
Rev. B | Page 55 of 72
相关PDF资料
EVAL-ADF4002EBZ1 BOARD EVAL FOR ADF4002
EVAL-ADG788EBZ BOARD EVALUATION FOR ADG788
EVAL-ADM1021AEB BOARD EVAL FOR ADM1021
EVAL-ADM1023EB BOARD EVAL FOR ADM1023
EVAL-ADM1031EB BOARD EVAL FOR ADM1031
EVAL-ADM1062TQEBZ BOARD EVALUATION FOR ADM1062TQ
EVAL-ADM1075CEBZ BOARD EVAL FOR ADM1075
EVAL-ADM1087EBZ BOARD EVALUATION FOR ADM1087
相关代理商/技术参数
EVAL-ADF4001EBZ2 制造商:Analog Devices 功能描述:Evaluation Board For Pll Frequency Synthesizer 制造商:Analog Devices 功能描述:ADF4001 PLL SYNTHESIZER EVAL BOARD
EVAL-ADF4002EB1 制造商:Analog Devices 功能描述:EVAL BOARD - Bulk
EVAL-ADF4002EBZ1 功能描述:BOARD EVAL FOR ADF4002 RoHS:是 类别:编程器,开发系统 >> 评估演示板和套件 系列:- 产品培训模块:Obsolescence Mitigation Program 标准包装:1 系列:- 主要目的:电源管理,电池充电器 嵌入式:否 已用 IC / 零件:MAX8903A 主要属性:1 芯锂离子电池 次要属性:状态 LED 已供物品:板
EVAL-ADF4007EBZ1 功能描述:BOARD EVALUATION FOR ADF4007EB1 RoHS:是 类别:编程器,开发系统 >> 评估演示板和套件 系列:- 标准包装:1 系列:PSoC® 主要目的:电源管理,热管理 嵌入式:- 已用 IC / 零件:- 主要属性:- 次要属性:- 已供物品:板,CD,电源
EVAL-ADF4106EB1 制造商:Analog Devices 功能描述:PLL, Frequency Synthesizer
EVAL-ADF4106EBZ1 功能描述:BOARD EVAL FOR ADF4106 RoHS:是 类别:编程器,开发系统 >> 评估演示板和套件 系列:- 标准包装:1 系列:PSoC® 主要目的:电源管理,热管理 嵌入式:- 已用 IC / 零件:- 主要属性:- 次要属性:- 已供物品:板,CD,电源
EVAL-ADF4108EB1 制造商:AD 制造商全称:Analog Devices 功能描述:PLL Frequency Synthesizer
EVAL-ADF4108EBZ1 制造商:Analog Devices 功能描述:Evaluation Board For ADF4108 制造商:Analog Devices 功能描述:ADF4108 Evaluation Board 制造商:Analog Devices 功能描述:ADF4108, PLL FREQUENCY SYNTHESIZER, EVAL BOARD; Silicon Manufacturer:Analog Devices; Silicon Core Number:ADF4108; Kit Application Type:Clock & Timing; Application Sub Type:PLL Frequency Synthesizer; MCU Supported Families:ADF4108 ;RoHS Compliant: Yes