Author Topic: Why is it recommended to use diodes and resistors for UART communication  (Read 627 times)

0 Members and 1 Guest are viewing this topic.

Offline saroseTopic starter

  • Newbie
  • Posts: 4
  • Country: np
Why is it recommended to use diodes and resistors for serial communication as shown in the circuit given? It is given in datasheet of SIM800C. Why we cannot directly connect TX and RX?
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22383
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Why is it recommended to use diodes and resistors for UART communication
« Reply #1 on: December 04, 2020, 06:19:08 am »
Guessing DTE is 5V TTL or something.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline Ian.M

  • Super Contributor
  • ***
  • Posts: 13076
Re: Why is it recommended to use diodes and resistors for UART communication
« Reply #2 on: December 04, 2020, 08:20:02 am »
Well that's one of the less dodgy interface circuits in a somewhat crappy datasheet (see page 25). .

The SIM800C runs at a nominal 4.0V, so with 0.6V-0.7V diode Vf drop you'll get pretty close to 3.3V levels if the 3.3V DTE's got CMOS outputs.  On the module side it shifts the UART1_RXD level up by one diode drop.  Note that although the datasheet specifies Voh-min and Vol-max it doesn't specify at what current, so its insufficient for designing a passive level shifter properly!

However, no matter what voltage (between 1.8V & 5.5V) the DTE uses for logic levels, one could simply use a bunch of 74LVC1T45 or 74LVC2T45 dual supply level shifters (depending on how many digital signals in each direction you need), and get much lower quiescent power consumption, and better signal quality with far more drive strength on the digital interface lines. 
« Last Edit: December 04, 2020, 08:22:06 am by Ian.M »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf