Other Parts Discussed in Thread: MSP430FG4619, CC1101, MSP430G2553
Hi
i try to build up a SPI Bus with one Master and some Slaves. Both Master and Slaves are MSP430FG4619.
The Communication between the Master and one Slave works well. But if i try to communicated to the other slaves it doesn't work.
All slaves has the same source code and where connected in the same way. I think the problem is the chip select PIN STE from the slaves. I have for each slave on I/O Port by the master to select the slave device. If i look with a oscilloskop at the SOMI Pin i see that the voltage level is very low. I see a signal with a maximum value of 0.4 V. I think more than one slave try to send values over the SOMI channel at the same time.
Which configuration is nessary to set the STE Pin in the correct way? At the moment all CS channels are low. only the CS pin of the active slave is put to high. I made the following configuration at the slave device: UCB0CTL0 |= UCSYNC+UCCKPL+UCMSB+UCMODE_1;
Unfortunately i don't understand
what the Table 20−1.UCxSTE Operation of the user guide SLAU056J whould like to tell me? Can anyone explain it to me? thanks Peter