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

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
Activating Serial Communication ADE7878 − LPC2368
The ADE7878 evaluation board comes with the communication
between ADE7878 and LPC2368 set through SPI ports. Jumpers
JP32, JP34, JP36 and JP38 are closed using 0Ω resistors and
JP31, JP33, JP35 and JP37 are open. In this case, the SPI port
should be chosen as active port in the ADE7878 control panel.
Communication between ADE7878 and LPC2368 is also
possible using the I
JP33, JP35 and JP37 should be closed using 0Ω resistors and
JP32, JP34, JP36 and JP38 should be open. In this case, the I
port should be chosen as active port in the ADE7878 control
panel (See Table 2).
Table 2. Jumpers State to Activate SPI or I
Communication
Active Comm
SPI (default)
I
Using the Evaluation Board with another
microcontroller
It is possible to manage the ADE7878 mounted on the
evaluation board with a different microcontroller mounted on
another board. The ADE7878 may be connected to this other
board through two connectors: P11 or P38. P11 is placed on the
same power domain as the ADE7878. P38 is placed on the
power domain of the LPC2368 and communicates with the
ADE7878 through the isocouplers. If P11 is used, then the
power domain of the LPC2368 should not be supplied at P12. If
P38 is used, a conflict may arise with LPC2368 I/O ports. Two
choices are provided to deal with this situation:
-One is to keep the LPC2368 running and close JP9. This tells
LPC2368 to set all its I/Os high in order to allow the other
microcontroller to communicate with the ADE7878. Once JP9
is closed, the reset button S2 should be pressed low to force
LPC2368 to reset. This is necessary because JP9 state is checked
inside LPC2368 program only once after reset.
-The other choice is to cut the power supply of LPC2368 by
disconnecting JP7.
ADE7878 EVALUATION SOFTWARE
The ADE7878 evaluation board is supported by Windows based
software that allows the user to access all the functionality of
ADE7878. The software communicates with the LPC2368
microcontroller using the USB as a virtual COM port. On its
side, LPC2368 communicates with ADE7878 to accomplish the
requests arrived from the PC.
Installing the ADE7878 Software
The ADE7878 Software is supplied on one CD-ROM. It
contains two projects: one that represents the LPC2368 project
and one LabView based program that runs on the PC. The
LPC2368 project is already loaded into the processor, but the
2
C
2
C ports. To accomplish this, jumpers JP31,
Jumpers closed
with 0Ω resistors
JP32, JP34, JP36,
JP38
JP31, JP33, JP35,
JP37
2
C
Jumpers open
JP31, JP33, JP35,
JP37
JP32, JP34, JP36,
JP38
2
Rev. PrB | Page 7 of 30
C
LabView based program must be installed. Place the CR-ROM
in the CDROM reader and double click on
LabView_project\installation_files\setup.exe. This launches the
setup program that automatically installs all the software
components including the uninstall program and creates the
required directories.
To launch the software, simply go to the Start->Programs-
>ADE7878 Eval Software menu and click on “ADE7878 Eval
Software”.
Uninstalling the ADE7878 Software
Both the ADE7878 Eval Software program and the NI run-time
engine are easily uninstalled by using the Add/Remove
Programs option in the control panel. Simply select the
program to uninstall and click the Add/Remove button.
When installing a new version of the ADE7878 evaluation
software, the previous version should be first uninstalled.
Front Panel Screen
When the software is launched, the front panel screen is
opened. Three windows compose this screen: the main menu at
the left, the submenu at the right and a window showing the
communication port used by PC to connect to the evaluation
port (see Figure 6). The serial port chosen on the board is
introduced using a switch. By default, the communication
between the microcontroller and ADE7878 uses the SPI port.
Note the active serial port must first be set in hardware. See
Activating Serial Communication ADE7878 − LPC2368 section
for details on how to set it up.
The main menu has only one choice enabled, “Find COM Port”.
Clicking on it starts a process in which the PC tries to connect
to the evaluation board and learn what PC port to use. It uses
the Echo function of the Communication protocol (see
Communication Protocol Between Microcontroller and
ADE7878). It visualizes the port that matches the protocol and
then sets it to 9600 baud, 8 data bits, no parity, no flow control,
1 stop bit. If the evalution board is not connected, the port is
Figure 6. Front panel of ADE7878 Software
EVAL-ADE7878EB

Related parts for EVAL-ADE7878EBZ