Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

[Moved]: AD7746 + Arduino Uno I2C

Status
Not open for further replies.

leo2b2006

Member level 2
Joined
Nov 9, 2014
Messages
50
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
353
Hi,

0x90 = read address
0x91 = write address

If I use arduino uno to read the registers from AD7746, should I use 0x90 or 0x91?
 

leo2b2006

Member level 2
Joined
Nov 9, 2014
Messages
50
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
353
Hello!

For I2C in arduino, the register is 1 byte.
If I have another IC having 2-byte register, how can I communicate with it using arduino?
 

milan.rajik

Banned
Joined
Apr 1, 2013
Messages
2,528
Helped
540
Reputation
1,078
Reaction score
523
Trophy points
1,393
Activity points
0
You have to send the two byte address. I guess high byte first and then low address byte. Check the device datasheet. What device it is ?
 

leo2b2006

Member level 2
Joined
Nov 9, 2014
Messages
50
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
353
Are you familiar with this IC?
 

leo2b2006

Member level 2
Joined
Nov 9, 2014
Messages
50
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
353
Also, if I retrieve value from IC, it is 2 bytes.
Do I save the value and obtain the high byte and then low byte?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top