How to change the NX debug UART/ttyTHS1 to a general UART function?

hello Ciya.Jiang,

could you please check similar discussion thread, Topic 145106 for reference,
thanks