Question
How to change SPI module baud rate at run time
Hello Support Team,
Currently, I am working on the STM32H745-Disc board.
In that, I have used the SPI2 module and I have also configured the baud rate as a 3Mbit/s using the STM32CubeMX configuration tool and generated code for the same. (SPI Init done Inside the main() function)
Now, I need to change the SPI2 module baud rate to 12Mbit/s from 3Mbit/s baud rate at run time.
Please suggest any API or an appropriate way for the above scenario.
Thanks In Advance.
