Jaromir Sukuba

connecting 3-wire device to SPI

Discussion created by Jaromir Sukuba on Jun 18, 2006
Latest reply on Jun 20, 2006 by bigmac
Hi all,
i want to connect 3-wire device (DS1302) to SPI bus, I have already connected serial EEPROM (25C640). Problem is, the DS1302 has merged MOSI and MISO pins into one pin. Is there a way to connect it to hw SPI port? I already wrote routines to connect it through bit-banged bus (on JK8, with no HW SPI port), but now i want to connect it to AB32 part with HW SPI port - and consuming additional 3 IO pins to do that (and part of flash memory to save routines) seems to be inefficient.
Thanks for zour help