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.
When a slave has got the SPI interface and a master has got the I2C interface,
is it possible to communicate between them by combining the 2 interfaces?
It is written in the data sheet of the ADC AD7694 from analog devices that it has got the SPI output. But that chip has got only 2 lines : SCLK and SDO.
Added after 3 minutes:
Quote from the data sheet:
Serial Data Output. The conversion result is output on this pin. It is synchronized to SCK.
Serial Data Clock Input. When CNV is low, the conversion result is shifted out by this clock.
it is a SPI bus. only in one direction.. if you clock it.. it shifts the data out on the SDO pin.. in spi terms MISO (Master in Slave out.) asuming that your controller is a master.
Connect this pin to your controllers MISO pin an tie the SCL to the clock. You need an extra enable line for the CNV line. On avrs you could probably use the SS line.. but i'm not sure on that.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.