The maximum clock frequency that can be used with the internal oscillator is 16 MHz.
To configure the watchdog timer to reset the microcontroller, set the WDPG bit in the WCR register to 1, and then set the WDV bit to 1 to enable the watchdog timer. The watchdog timer will then reset the microcontroller if it is not reset or disabled within the timeout period.
The BOR circuitry is used to reset the microcontroller if the supply voltage falls below a certain threshold (typically around 1.9V). This helps to prevent the microcontroller from operating erratically or unpredictably when the supply voltage is low.
To use the UART peripheral, configure the UART registers (e.g. USART_CR1, USART_CR2, USART_BRR) to set the baud rate, word length, and other parameters. Then, use the USART_DR register to transmit and receive data. Make sure to enable the UART clock and configure the GPIO pins as UART pins.
The option bytes are used to store configuration data, such as the boot mode, clock configuration, and other settings. They can be programmed using the STMicroelectronics programming tools or other third-party tools.