Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Huh??
Maximum speed of the slowest UART might be a possiblity...
Unless, of course, R101 was 0Ω, in which case I can safely state that the maximum speed would be zero baud...
I apologize for being glib.
The voltage level(s) will have no effect on baud rate, which, as I said, is limited by the slowest UART and if the receiving UART is a 3.3V unit.
Now, if what your asking is "will a reduced TXD voltage level (from 5 to 3.3V) effect a receiving UART expecting a 5V signal, then yes, the speed would have to be reduced as well.
This would be because the received signal level may very well be too close to the "is it a '1' or a '0' " threshold, thus requiring massive CRC checking. Or, at worst, not be able to successfully decode the analog signal correctly at all.
Is this what you were asking?
The max baud rate will depend on the capacitive loading on the voltage divider tap. If, for example, you were to put the divider at the TX, and the RX were to be hundred feet away on a twisted pair that has a capacitance of 50pF per ft, then you would have to consider the low-pass filtering effect of shunting the voltage divider tap with 5000pF. A sim of this case at 115KBaud shows the voltage at the RX as a function of stepping the resistance values in the voltage divider as R = 500, 1K, 2K, 4K and 8K. In the example, I would say R=500 and 1K would work, but R>=2K is getting marginal. You will have to recalculate based on a realistic estimate of your line capacitance.
ps, it occurs to me that the RX has a line terminating resistance which appears in parallel with R2 in my schematic, so you will have to consider that as well. Also, if you put the divider near the RX, then the line termination could be combined with the divider.
Mike in your simulation is the digital source using push/pull drivers? Or it is just sourcing 5v in the ON period and then open circuit (and not sinking current) in the OFF period?
Please note its just a UART connection between an RF module(5V UART- TXpin) and my MCU Atxmega128's(3.3V USART-RXpin) and not RS232. I think capacitive loading should be in order of few pico Farads. Rgds
If you put a capacitor in parallel with R1 you can compensate for the load capacitance and turn the signal back into a square wave, just like the compensation on oscilloscope probes is done.If, for example, you were to put the divider at the TX, and the RX were to be hundred feet away on a twisted pair that has a capacitance of 50pF per ft, then you would have to consider the low-pass filtering effect of shunting the voltage divider tap with 5000pF...
Likely 5V CMOS output to 3.3V CMOS input. The total capacitive loading would be the sum of the output pin capacitance, the pc traces, and the input pin, likely about 20pF on each side of R1. I sim-ed again at 115kbaud, stepping R2 from 10K to 100K. If this was a battery-powered CMOS circuit, you would likely be interested in making R1, R2 as high as possible. Even 100K would work...
If you put a capacitor in parallel with R1 you can compensate for the load capacitance and turn the signal back into a square wave, just like the compensation on oscilloscope probes is done.
If you put a capacitor in parallel with R1 you can compensate for the load capacitance and turn the signal back into a square wave, just like the compensation on oscilloscope probes is done.
Unfortunately, you can't tune it directly with a scope, because the probe capacitance is of the same order of magnitude as the stray. I have done this by connecting a 1pF cap between the node in question and the probe. This reduces the probe loading to <1pF, obviously.The amplitude will be wrong, due to the capacitive divider, but the wave shape will be correct.You would have to "tune" it to match the parasitic capacitances. Here is the sim again, this time stepping the compensation capacitor C3 from 10pF (undercompensated), 40pF(just right for these parasitics), and 100pF (overcompensated, peaking).
The signal source is a Voltage Source with a zero output impedance, meaning that when it is at 0V, it sinks current out of the capacitor.
...