Electronic – Serial communication between two devices with seperate logic levels

dc/dc converterserialuart

The question is more about the DC-DC converter and baud rate between two separate logic level UART devices.

My master device operates at a 3.3v logic level, while my slave operates at a 1.8v logic level.

My proposed solution to allow communication between the two devices is to pull down the tx line of the master device to ground and get 1.8v from 3.3v using a simple voltage divider. To get my slave tx line back up from 1.8v to 3.3v, a simple boost pmic.

The devices communicate at a baud rate of 921600. Is my solution viable? And if so, what considerations must be made about the specs of the resistors in the voltage divider and the pmic boost converter?

Thank you.

Best Answer

"shopping" questions are off-topic, so instead I will explain how to do the search, so you can do it yourself next time.

You need a chip to convert 1.8V to 3.3V levels, presumably CMOS. As explained by Janka in the comments, this is not a DC-DC converter, the proper name is "level shifter" or better "logic level translator".

There are many different designs, the simplest are simply open-collector or open drain transistors, but these require pullup resistors which create a compromise in speed versus idle current. For faster switching you need a low value pullup, which then draws lots of current even when not in use.

Your high bit rate would be better handled with a chip dedicated to voltage translation, which will be low power and high speed.

Go there.

Click the usual suspects: "in stock", packaging "bulk, cut tape, tube" since you don't want a reel of them, then apply filters.

Now you need either one chip with 2 bits, one bit in each direction for your serial port, or 2 chips with one bit each. Problem with the first solution is that most chips with 2 bits will have both in the same direction. Anyway, I will click:

"number of channels" = 2 (presumably one channel is one direction, you need both directions)

"circuits per channel" = 1 to 4 because we don't want a package with too many pins.

This one comes up, in easy to solder SOIC, it has 2x2 bits and you can set the direction independently for both, so you could have 2 extra lines if you want. If you want only one bit try this one.