We are using STM32L431VCT6 in our design.I want to know how to configure USART to UART ?
And what effort have you made to find out so far?
Have you studied the documentation?
It's all available on the Product Page:
STM32L431VC - Ultra-low-power with FPU ARM Cortex-M4 MCU 80 MHz with 256 Kbytes Flash - STMicroelectronics
Have you looked at examples?
Have you tried Cube ?
Have you googled?
You need to use the Synchronous mode?
For the most part the (LP)U(S)ART on the L4 configure in materially the same way, the UART library code being interchangeable in the normative cases, and more compact (less unused baggage).
When asking questions in a technical venue it helps significantly to provide a lot of detail and context.
See: STM32L431VCT6 USART as UART port configuration - the same question, with an answer.
Retrieving data ...