UART logic level

I have a gps module which uses uart for connection to the mcu and I wany to use it with the teensy 4.1. The problem here is that the uart of the gps is 1.8v and I am not sure if the teensy will be able to read the data from the gps?
 
Are you needing duplex serial or only simplex?

There are some chips that can do 1.8V->3.3V level translation, but maybe someone does a module that can level shift in both directions 1.8V <-> 3.3V these days? Perhaps some of the 3.3V <-> 5V also work at lower voltages?

Its worth checking if the GPS module is 3.3V tolerant if you also sending data to it as then a level-shifter in that direction isn't needed.

BTW you have cross-posted, which means the details of the GPS are in a different thread to this one--this is not helpful, please abandon the other thread and post all details here... Cross posting usually leads to confusion and is counter-productive for everyone.
 
Last edited:
I need a duplex communication as the moduel also has GSM and I need to send AT commands to it, I will attach the datasheet again. Also is it possible to delete the older thread?
 

Attachments

  • Quectel_EG915N_Series_Hardware_Design_V1.3.pdf
    1.6 MB · Views: 58
yes (re p#2) - check - UART spec puts both ends of Rx and Tx at high Voltage on Stop - so the 1.8V GPS will need to tolerate 3.3V from Teensy.

Thread delete is rare - just mark with link to this thread as Active - it may get closed ...
 
I see that the Quectel device provides 1.8V pins to be used for pull ups for OpenCollector devices.
You need either a level shifter to 1.8V or a buffer with an O/C output.
 
I need a duplex communication as the moduel also has GSM and I need to send AT commands to it, I will attach the datasheet again.

I looked briefly at the datasheet and found this diagram on page 29 (30th page of the PDF). Looks like all the signals are unidirectional. I'd recommend looking for unidirectional buffers from 1.8V to 3.3V, and from 3.3V to 1.8V.

1725371337481.png
 
You're much better off using either a unidirectional shifter or one with directional control. TXS0108 is known to have problems detecting the direction of a signal when in push-pull mode.

(Also why are there both pull-up and pull-down resistors attached to OE?)
 
If you do use the TXS part, keep the wires short and route the GND return wires close or use a 4 layer board with GND plane.

We've previously heard people report problems with those TXS level shifters when using longer wires.
 
I choosed it primarily because it was recommended in the datasheet of the GPS. The pcb will be 6/8 layers (at least 2 of them will be ground planes).
 
Last edited:
Back
Top