AnsweredAssumed Answered

How to write on external IC's registers connected to the SPI2 line of STM32F407VG MCU?

Question asked by Lorenzo Estienne on Dec 9, 2017
Latest reply on Dec 9, 2017 by Lorenzo Estienne

Hello 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:




which documentation can be found at STM32F4xx_StdPeriph_Driver: Data transfers functions


I just didn't get how to tell the function which register I want to write to, since the SPI_I2S_SendData() accepts only 2 parameters: SPI line number (e.g. SPI1, SPI2, SPI3) and the data to be transmitted.


Any help is highly appreciated.


Thank you,

best regards,