The Project was migrated from STM32L4 to STM32L5. The Baudrate setting with HAL_UART_Init() works fine with L4 MCU. With L5 MCU it returns with an HAL_UART_ERROR_NONE too.
Hi, Problem is solved.The wrong Definition of the "HSE_VALU"E was as mentionend by clive1 in "stm32l5xx_hal_conf.h", but the file "system_stm32l5xx.c" had to be changed in the same way.Thanks very much.
Thanks for the quick and good comments,@TDKThe issue is that the UART just did not recognize the incomming Data with a BRR setting of 0x42 (Set by HAL_UART_Init() Call)Using the Formulaes I got a BRR=0x73 and the UART recognizes incoming Data correct...