Multiple 3-wire peripherals
Hello everyone,
I was wondering if I could "share" some pins when connecting multiple 3-wire peripherals to the Javelin, so that I do not need 3 pins of the Javelin per peripheral.
My guess would be that I can use one Javelin pin to connect to the SCLK pin of all the peripherals tied together, and the same for the I/O pin.
That would leave only the RST pin of each peripheral, for which I would need a Javelin pin for each peripheral.
Is my assumption right, could this work ?
Thank you,
Phaedra
·
I was wondering if I could "share" some pins when connecting multiple 3-wire peripherals to the Javelin, so that I do not need 3 pins of the Javelin per peripheral.
My guess would be that I can use one Javelin pin to connect to the SCLK pin of all the peripherals tied together, and the same for the I/O pin.
That would leave only the RST pin of each peripheral, for which I would need a Javelin pin for each peripheral.
Is my assumption right, could this work ?
Thank you,
Phaedra
·
Comments
CS (chipselect), CLK (clock), DIN (data in), DOUT (data out).
All CLK's can be connected, as can all DIN's. If all DOUT's are hi-Z
when not selected (CS inactive) then all DOUT's can be tied together.
You need individual CS lines, could be via a multiplexer.
regards peter
thank you for this very clear answer.
Have a nice weekend still !
Phaedra