2025-07-16 1:36 AM
Hi,
i working on stm32u083rctx micro with package FW_U0_V1.3.0. I want to report that in CubeMX v6.15 i selected lpuart3 to with LSE oscillator. The execution of product code, when lpuart3 has been initialized goes to Error_Handler() function. In file usart.c into function HAL_UART_MspInit() miss the the line to populate struct PeriphClkInit.Lpuart3ClockSelection with correct clock source. So inside HAL_UART_MspInit(UART_HandleTypeDef* uartHandle) at the appropriate condition (uartHandle->Instance==LPUART3) before to call HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) i inserted:
PeriphClkInit.Lpuart3ClockSelection = RCC_LPUART3CLKSOURCE_LSE;
now is working. I ask to someone to double check this issue. Thank you.
Best regards.
Enrico.
2025-07-16 2:58 AM
Hello @enmarke
Could you please provide your IOC file in order to investigate the issue?
KR,
Souhaib
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-07-16 3:04 AM
2025-07-16 5:56 AM
Hello @enmarke
Thank you for your contribution.
I escalated the issue to the relevant team for fixing (Internal ticket number: 214195: Internal ticket number is only for reference, not accessible or usable outside of ST).
KR,
Souhaib
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.