Hello,
I'd like to use SPI to communicate between the DA1468x and a sensor that only supports 3-wire SPI. The sensor exposes 3 pins: a clock pin, a chip select pin, and a pin used for both data in and data out. How should I set up the DA1468x so I can communicate with this sensor? Can I configure both SPI_DI and SPI_DO on a single GPIO? Or perhaps I should change the configuration of the GPIO and the SPI bus between reads and writes?
Thanks!
David
Device:
Hi david_33021,
What you could do in order to implement that, keep the configuration on the 68x as is and place a resistor between the MOSI and the MISO lines on and connect the input/output with the SISO pad of your sensor with the MISO pad. The resistor's value depends on the pad strength and voltage level. The higher the resistor, the longer rise and fall times, 1K to 10K can be tried based on the speed.
Thanks MT_dialog
Thanks!
David
Does the resistor between MOSI and MISO work when other SPI devices are on the bus that are 4-wire (standard MOSI/MISO)?
Thanks
Adam
Hi adamschiel,
Yes, the above connection should work as well if the bus is shared with a device that uses tha standard SPI protocol.
Thanks MT_dialog