Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

ADE7754 interfacing with megga88 through SPI lines...

Status
Not open for further replies.

preeti

Newbie level 1
Joined
Feb 24, 2006
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,289
ade7754 interfacing

Hi Alls,

Can anybody send me read routine that is...how to performe read operation from ADE7754 with megga88 microcontroller using SPI lines......send me what ever the related code......that use SPI lines in AVR series.
regds
preeti
 

akhileshchidare

Member level 3
Joined
Oct 4, 2005
Messages
59
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,758
ade7754

hi
Did u start working on your project?
have you calibrated the ADE7754?
its not only you have to perform the read operations from the microcontroller...but calibration should me done thru the microcontroller as the end product may or maynot have PC.
reading the registers from ADE involves the interrupts..u need to check interrupt
before you read the data from the registers.
if you have done some work on this i can help you....

Akhilesh Chidare
akhileshchidare@gmail.com
 

mustafa.golam

Newbie level 1
Joined
Jun 5, 2006
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,290
reading data from ade7754

We brought ADE7754 Evaluation board.
The supplier gave us ADE7754Evalr3pa and ADE7754Cal software, of which 1st one runs
smoothly but second one fails to recognize the
board software.
What is wrong any idea?
 

akhileshchidare

Member level 3
Joined
Oct 4, 2005
Messages
59
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,758
reading data from ade7754 spi

both are differnt softwares they have to be used for differnt purpose.
calibration software is to calibrate the meter just check out the procedure to calibrate the meter. the doument comes with the CD.
 

r.madhav

Newbie level 5
Joined
Jul 8, 2008
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,350
avr ade7754

unsigned char spi_read()
{
#asm("nop");
SPDR=0x00; // data register
while(SPSR.7==0); // wait up to read cycle to complete
return SPDR;
}

use this if u had inbuilt SPI lines
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top