The SIM7080G UART is 1.8V voltage interface. If user’s UART application circuit is 3.3V voltage interface,
the level shifter circuits should be used for voltage matching.
so the question is will esp32 read 1.8v or not. coz we can step down 3.3 to 1.8 for simcom
If you find 115200 to be a problem, try reducing the 5V pullup resistor to 4.7K. That will speed things up a bit. Also, you might get faster speed by replacing the mosfet with an NPN transistor to reduce capacitance issues. You would need to add a base resistor, but could eliminate the 3.3V pullup resistor.
Edit: Actually, since this is a unidirectional line, I don't think you need the 3.3V pullup resistor (R3) in any case.
As per the ESP32 datasheet, a high signal should be 0.75*VDD so 2.475V if VDD = 3.3V.
For the ESP's Tx to GSM Rx, a voltage divider will do.
For the GSM's Tx to ESP's Rx, the circuit above - or if the GSM's output is push-pull, just a diode will do (using either the internal pull-up of the ESP or an external pull-up on the 3.3V side).
Well, no, not a diode. You would have 2.7V or so applied to the 1.8V GPIO. Can't do that.
So you need the circuit above, or the equivalent using an NPN with the emitter to 1.8V TX, collector to 3.3V RX, and the base connected to the 1.8V rail via a resistor (47-100K or so).