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..
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.