EVAL-ADE7878EBZ Analog Devices Inc, EVAL-ADE7878EBZ Datasheet - Page 19

no-image

EVAL-ADE7878EBZ

Manufacturer Part Number
EVAL-ADE7878EBZ
Description
Energy Meter Eval. Board
Manufacturer
Analog Devices Inc
Datasheet

Specifications of EVAL-ADE7878EBZ

Silicon Manufacturer
Analog Devices
Application Sub Type
Energy Meter
Kit Application Type
Data Converter
Silicon Core Number
ADE7878
Features
External Transducers, LED Indicators, Logic Outputs
Kit Contents
Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
Q4472972
Q4684026
Q5015773
Preliminary Technical Data
Byte
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
After receiving the command, the microcontroller enables the
HSDC port, and acquires 67*7*4=1876 bytes into buffer0. As
soon as buffer0 is filled, data is acquired in buffer1 (equal in
size to buffer0), while 2*3*67=402 bytes (134 24-bit words)
from buffer0 are transmitted to the PC. As soon as buffer1 is
filled, data is acquired into buffer0 while 402 bytes from buffer1
are transmitted to the PC. Only the less significant 24 bits of
every 32 bit instantaneous value is sent to PC in order to
decrease the size of the buffer sent to PC. The most significant 8
bits are only an extension of a 24 bit signed word anyway, so no
information is lost. The protocol used by the microcontroller to
send data to the PC is as follows:
Table 21. Acquire HSDC Data Continuously—Answer from
Microcontroller to PC
Byte
0
1
2
3
4
5
402
0
Increment_BWATT_Byte2. If BWATT is to be acquired,
then bytes 19, 18, 19 are 1. Otherwise they are 0.
Increment_BWATT_Byte1
Increment_BWATT_Byte0
0
Increment_CWATT_Byte2. If CWATT is to be acquired,
then bytes 23, 24, 25 are 1. Otherwise they are 0.
Increment_CWATT_Byte1
Increment_CWATT_Byte0
0
Increment_AVAR_Byte2. If AVAR is to be acquired, then
bytes 27, 28, 29 are 1. Otherwise they are 0.
Increment_AVAR_Byte1
Increment_AVAR_Byte0
0
Increment_BVAR_Byte2. If BVAR is to be acquired, then
bytes 31, 32, 33 are 1. Otherwise they are 0.
Increment_BVAR_Byte1
Increment_BVAR_Byte0
0
Increment_CVAR_Byte2. If CVAR is to be acquired, then
bytes 35, 36, 37 are 1. Otherwise they are 0.
Increment_CVAR_Byte1
Increment_CVAR_Byte0
Byte1 of M. M is a 16 bit number. The number of 32 bit
samples that will be acquired by the microcontroller is
(2*M+1)*67 per channel.
Byte0 of M
Description
Description
‘R’=0x52
Byte 2 (MS) of word 1
Byte 1 of word 1
Byte 0 (LS) of word 1
Byte 2 (MS) of word 2
Byte 1 (MS) of word 2
Byte 0 (LS) of word 134
Rev. PrB | Page 19 of 30
Start ADE7878 DSP
This function orders the microcontroller to start the DSP. The
Microcontroller writes RUN register with 0x1.
Table 22. Start ADE7878 DSP—Message from PC to
Microcontroller
Byte
0
1
2
Table 23. Start ADE7878 DSP—Answer from
Microcontroller to PC
Byte
0
1
Stop ADE7878 DSP
This function orders the microcontroller to stop the DSP. The
Microcontroller writes RUN register with 0x0.
Table 24. Stop ADE7878 DSP—Message from PC to
Microcontroller
Byte
0
1
2
Table 25. Stop ADE7878 DSP—Answer from
Microcontroller to PC
Byte
0
1
UPGRADING MICROCONTROLLER FIRMWARE
Although the evaluation board is supplied with the
microcontroller firmware already installed, the ADE7878
Evaluation Software CD provides the microcontroller LPC2368
project developed under IAR Embedded Workbench
Environment for ARM. Users in possession of this tool can
modify the project at will and can download it using an IAR J-
Link debugger. As an alternative, the executabale can be
downloaded using a program called Flash Magic, available on
the Evaluation Software CD or at this website:
http://www.flashmagictool.com/
Flash Magic uses the PC COM port to download the
microcontroller firmware. In the following, the procedure to
use Flash Magic is presented:
-Plug a serial cable into connector P15 of ADE7878 evaluation
board and into a PC COM port. As an alternative, use
ADE8052Z-DWDL1 ADE downloader from Analog Devices
together with a USB cable.
-Launch the Device Manager under Windows XP by writing
devmgmt.msc into Start->Run window. This helps in
Description
‘R’=0x52
‘~’=0x7E to acknowledge the operation was successful
‘N’=0x4E
N= Number of bytes transmitted after this byte. N=1
Any byte
Description
‘R’=0x52
‘~’=0x7E to acknowledge the operation was successful
Description
‘N’=0x4F
N= Number of bytes transmitted after this byte. N=1
Any byte
Description
EVAL-ADE7878EB

Related parts for EVAL-ADE7878EBZ