Question: Is it possible to change the UART pin type (2-pin, 4-pin, or 6-pin) using UART APIs after the device has been programmed?
No. The UART pin type (2-pin, 4-pin, or 6-pin) cannot be changed after the device has been programmed.
The UART APIs will allow you to change only the following configurations:
1. Baud rate
2. Data width
3. Stop bits
5. Drop packets on RX error