Other Parts Discussed in Thread: MSP430F2013, MSP430F47176
I have a question on SPI communication.
Most sample code from TI shows that before using SPI, the SPI master resets SPI slave device. And according
to what I tried, without reset, the SPI communication does not correctly work.
I have two device on my mind. Device A is based on MSP430F47176. The other (Device B) is based on MSP430F2013.
I would like to use Device A as master of controlling Device B and other modules (such as SD card, PC serial).
However, I would like to obtain analog data from Device B also. The Device B obtian analog data, and every 64
times averaged data need to be sent to Device A.
In this case, should I use Device B as SPI master? The problem for using Device B as SPI master is
the reset of SPI slave device (in this case Device A) before establishment of SPI communication
between Device A and Device B. The Device A will control power off/on of Device B. So the Device B
should not reset Device A after power up.
Are there any way to establish communication without reset of Device A from Device B? The MSP430F2013
seems not have SPI STE (or Chip Select). So, I may need to work with 3-wire SPI.