If you need to use a 2-wire serial port, you can refer to the following serial port design:
Figure 9 UART serial port design
The serial port of the module is TTL 1.8V level. If the serial port needs to be connected to the MCU of 3.3V
level, it is necessary to add a level conversion chip externally to achieve level matching. Use an external 1.8V
power source for VCCA. For the chip connection method, refer to the following circuit:
Figure 10 Level conversion chip circuit