If LS1021a GPIO1_15 is used, the LS1021a RCW UART_BASE bits should be cleared.
If LS1021a GPIO3_13 and GPIO3_15 are used, the LS1021a RCW EC1 bits should be set to 001.
See the Table 4-14 of the LS1021a Reference Manual.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------