2019-01-30 01:21 AM
Hi,
how can i program the BRR Register in the USB Device CDC Standalone example for STM32F4xx?
The Example code uses
UartHandle.Init.BaudRate = 9600;
How can i directly access to USART_BRR Register?
2019-01-30 01:31 AM
USART1->BRR = whatever;
Why do you want to change it if you are using the Cube generated code? Just change the 9600 to whatever baud rate you want and HAL will take care of changing the BRR register for you.