Posted on December 09, 2017 at 12:46Hello everybody,I need to write some registers of an integrated circuit connected to an STM32F407VG MCU by the SPI2 line.I found these two functions: -SPI_I2S_ReceiveData() -SPI_I2S_SendData()which docume...
Posted on December 09, 2017 at 21:54I've created a function that takes as arguments the SPI line, the register, and the data that I want to write.Then this function executed the SPI_I2S_SendData() twice.
Posted on December 09, 2017 at 21:43Thank you both!I firstly had to use the SPI_I2S_SendData() function to select the register, and THEN use it again to tell the data I wanted to write on the register I previously chosen.