I am trying to enable UART1 on stm32l151RBXA controller. I am using code generated by Cube. I tried modifying the code but serial port just does not work. I am only trying to send text to serial port but this is not happening. When I debug using ST Link, I don't see the program getting stuck, but no data is output through Tx pin (PORTA pin 9). Will post the code if needed. Kindly help resolve this issue as I have spent many days trying to figure out the problem. Thank you.