Hmm, I was thinking the NLAS44599 was 30 cents, but I must have been thinking of a different device. The 74ls153 would be a cheaper option, but after starting the design I realized I need two DPDT "switches". Now the question is whether to use one 16-pin device with analog switches on a board with little space, or use two 16-pin devices with digital switches on a board with little space? I forgot to mention, by the way, that I only have one I/O pin available to control both DPDT switches.
The name of the device you seem to be after is called a data selector, or a multiplexer. Here are some 4000-series ICs that allow 4 outputs and 4 pairs of inputs and a control line to choose which input is switched to the output:
- 40257 Quad 2-line to 1-line data selector/multiplexer (tri-state)
- 4551 Quad 2-channel analog multiplexer/demultiplexer
- 4519 Quad 2-input multiplexer (data selector) -- requires additional inverter
One point that has not been addressed is whether the data flow is unidirectional or bidirectional. If it's bidirectional, then an analog switch such as a CD4016, or analog multiplexer such as CD4053 is needed. If it's unidirectional then standard gate logic can be used.
I think the 4053 would likely address all of the requirements with a single chip.
I'm thinking I would need a couple of 4551s, plus a couple of inverters in order to make that work as two DPDT switches. I may have to do something of that sort anyway, but still hoping for a one-chip solution. Then again, the one I already found doesn't require any inverters and it's got both DPDT switches in a single 16-pin package.
I'm thinking I would need a couple of 4551s, plus a couple of inverters in order to make that work as two DPDT switches. I may have to do something of that sort anyway, but still hoping for a one-chip solution.
Ahh, that's the 14551. I was just looking at the 4551. Even so, I don't think I would need two chips, but in order to get the control on the 4551 to work properly (to swap the "positions" of two data lines), I would still need an inverter on one of the switches. The 14551 looks more promising (unless I'm completely misreading this, which is a distinct possibility. Since Friday I've been a bit under the weather and my brain hasn't been working very well )
Ahh, that's the 14551. I was just looking at the 4551. Even so, I don't think I would need two chips, but in order to get the control on the 4551 to work properly (to swap the "positions" of two data lines), I would still need an inverter on one of the switches. The 14551 looks more promising (unless I'm completely misreading this, which is a distinct possibility. Since Friday I've been a bit under the weather and my brain hasn't been working very well ).