2025-08-07 1:47 AM
I am working with the STM32C092CCTx microcontroller and have configured USART2 in asynchronous mode using STM32CubeMX. The system clock (SYSCLK), HCLK, and PCLK1 are all set to 48 MHz. USART2 TX/RX pins are correctly assigned with their alternate functions, and the peripheral is initialized using HAL.
However, I do not see the USART2 clock source (clock mux) option in the Clock Configuration tab. I would like to confirm whether, for this STM32C0 series device, USART2 is fixed to use PCLK1 as its clock source — and whether the absence of the clock mux option is expected behavior in CubeMX for this MCU.
Despite calling HAL_UART_Transmit() with valid parameters and configuring the baud rate to 115200 bps, I am not observing any data on the TX line. All clock and GPIO configurations appear correct. Could this be related to an internal clocking issue, or is there another possible misconfiguration I should look into?
Any guidance on this would be greatly appreciated.