hello everyone, I have a problem in communication 2 slaves and 1 master using SPI.master will send a code to activate one of the slaves and then the master will receive data from the slave, but sending the initial data is always wrong and only when t...
Hello I'm try to connect 1 master and 2 slave, but failed, I use stm32f427VI, and use Truestudio for programing, thanks for your help./* SPI4 init function */ //SLAVE1
static void MX_SPI4_Init(void)
{
/* SPI4 parameter configuration*/
hspi4.Ins...
thank you @. , I understand what you're talking about, but I was confused when writing it in the master and slave program, can you give a little sample code?
thank you beredindi, sorry I'm new about this, what should I do and what's the difference between soft NSS and hard NSS? Does it have to be a different type of slave and master? and this is my code in slave __HAL_SPI_ENABLE(&hspi4);
HAL_SPI_Recei...
thank you, I use STM32F427VI for master and slave, i try send "hello" from slave1 and "world" from slave2,I don't know much about the synchronization of master and slave, but what I know between slave and master is that the clock must be the same and...
my scenario is that the master will send a character, when the character "1" is sent via serial, slave 1 will be active and send data, then the data will be received by master, when the character "2" is sent via serial, slave 2 will be active and sen...