help on AD7730 INTERFACE

Status
Not open for further replies.

jujeesh_123

Newbie level 1
Joined
Apr 25, 2007
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,288
ad7730 project

hi..all..i am doing a project on electronic weighing machine.for that i am using analog devises AD7730 and PIC 16f877a mcu.While doing spi i can write and read the DAC register of AD7730,which is 8 bit wide.But i cannt do it on mode reg of ad7730,which is 16-bit wide.is it possible to transmit/receive 16 bit data throuh 8 bit wide spi ?pls send its guidelines..
 

ad7730 example

hi,

Yes, surely it's possible to send/receive more than 8 bits... Here is an example:

SHIFTOUT DATAin,SCLK,MSBFIRST,[$02] 'write to communication register setting next operation as write to mode register.


SHIFTOUT DATAin,SCLK,MSBFIRST,[$3080\16] 'write to mode register starting continuous conversion for 10mV input range,unipolar,16 bit data word and 5V reference.

I hope it is useful
 

ad7730 sclk

Hello brothers;
I can t comunicate with ADE7754, I use a PIC16F876, and use SPI with the MSSP; Can you help me with code of spi?? thanks....
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…