Connecting multiple SPI devices to Texas Instruments CC3200 LaunchPad

microcontroller

I want to connect one of the two (or both) 433 MHz RF receiver modules to the Texas Instruments CC3200 LaunchPad:

I also want to connect an SD Card connector to the LaunchPad at the same time. Is this possible? Is it possible to connect all three devices to the CC3200 LaunchPad at the same time and get each of these addressed?

I guess it would require two additional chips, one to change binary format to dedicated lines (green below) and one 4-way AND gate (blue below):

Multi SPI Device Scheme

Is this assumption correct? Or is there already something similar available on the CC3200 LaunchPad?

Which chips would I require to accomplish the green and blue area?

Your help is appreciated.

Best Answer

You can replace all the logic in both those boxes with a 2-line to 4-line binary decoder chip, such as the 74LS139. The '139 actually gives you two such decoders. A 74LS138 will give you a single 3-line to 8-line decoder.