Using SPI mode to interface msp430 with RF transciever and SD card

AI Thread Summary
The discussion focuses on interfacing an eZ430-RF2500, which includes an MSP430 microcontroller and a CC2500 RF transceiver, with a Sandisk SD card using SPI mode. The main concern is whether the same SPI pins (SOMI, SIMO, SCK, STE) can be used for both the RF transceiver and the SD card, with the MSP430 acting as the master. While it's suggested that the STE pin can be utilized for slave selection, caution is advised as connecting both devices could lead to data conflicts if not managed properly. A not gate can be used to control the chip select for the SD card, but it is recommended to use a separate line for better reliability. Proper slave selection is crucial to avoid unintended data reception from the SD card when the RF transceiver is not selected.
mz8e08
Messages
3
Reaction score
0
Hi,

I am planning to use SPI mode to interface a eZ430-RF2500 with a Sandisk Secure Digital Card. The eZ430-RF2500 includes a MSP430 microcontroller and a CC2500 RF transceiver. According to the schematic, the RF transceiver interfaces the MSP430 utilizing the SPI mode, using the SOMI, SIMO, SCK, STE(for chip selecting) pins of MSP430.

The problem is can I connect the MSP430 with SD card using the same set of input wires(SOMI, SIMO, SCK, STE)? In this case, I suppose MSP430 is the master, both RF transceiver and SD card are slaves. If it is possible, how to use the STE signal to perform slave selecting. ALL the information I've got is that the chip selecting can be done by using the STE, but no detailed examples to demonstrate it.

Thanks
 
Last edited:
Engineering news on Phys.org
You can do daisy chained SPI, although I don't think that is possible in this case.
I think you can use the STE pin to select between the SD and the CC2500. You have to use a not gate and make sure only one slave is selected at a time.
connect STE directly to chip select/slave select of cc2500. Use a not gate to connect STE to chip select pin of SD.
This is not recommended though coz whenever cc2500 is not selected, SD is selected. If you are not aware and send some clk pulses you might end up receiving data from SD.
Try to use another line to slave select of SD.
 
Very basic question. Consider a 3-terminal device with terminals say A,B,C. Kirchhoff Current Law (KCL) and Kirchhoff Voltage Law (KVL) establish two relationships between the 3 currents entering the terminals and the 3 terminal's voltage pairs respectively. So we have 2 equations in 6 unknowns. To proceed further we need two more (independent) equations in order to solve the circuit the 3-terminal device is connected to (basically one treats such a device as an unbalanced two-port...
suppose you have two capacitors with a 0.1 Farad value and 12 VDC rating. label these as A and B. label the terminals of each as 1 and 2. you also have a voltmeter with a 40 volt linear range for DC. you also have a 9 volt DC power supply fed by mains. you charge each capacitor to 9 volts with terminal 1 being - (negative) and terminal 2 being + (positive). you connect the voltmeter to terminal A2 and to terminal B1. does it read any voltage? can - of one capacitor discharge + of the...
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...

Similar threads

Replies
1
Views
2K
Back
Top