Questions tagged [serial]
In serial communication data is transmitted as a sequence in time. Main advantage: much less wires needed. Main disadvantage: Higher bandwidth for the same throughput.
119
questions
130
votes
5
answers
231k
views
Difference between UART and RS-232?
Most of the time RS-232 and UART come together in serial communication theories. Are they both the same? From my readings I concluded UART is a hardware form of the RS-232 protocol. Am I correct?
30
votes
6
answers
16k
views
Serial protocol delimiting/synchronization techniques
As asynchronous serial communication is widely spread among electronic devices even nowadays, I believe many of us have encountered such a question from time to time. Consider an electronic device <...
6
votes
4
answers
2k
views
Reconstructing Clock for Serial Signal
Suppose that I have a serial signal (example below), which is transmitted without an accompanying clock signal, I would like find a circuit (using discrete components / ICs, possibly an FPGA, but not ...
45
votes
8
answers
60k
views
How to resolve I2C address clashes?
I want to connect multiple I2C slave devices to a micro controller all on the same set of pins but the I2C devices all share the same address. The addresses are fixed in the hardware.
Is there any ...
15
votes
4
answers
32k
views
AC-coupling capacitors for high-speed differential interfaces
Can you explain me why and where I should put AC-coupling capacitors (usually around 0.1uF) on high-speed (1...5 GHz) differential serial interfaces (like SerDes for Gigabit Ethernet SFP modules)?
...
0
votes
1
answer
931
views
Capacitor in RS232 level shifter. Data is strictly half-duplex
I have created a level shifter very similar to the schematic at: http://picprojects.org.uk/projects/simpleSIO/ssio.htm except for the capacitor I use 47nF because the page claims:
at high bit rates ...
14
votes
3
answers
28k
views
UART receiver clock speed
I was trying to understand UART fundamentals.It is understood that
It is an asynchronous communication protocol and hence the TX and RX clocks are independent of each other
The data reception is ...
11
votes
6
answers
26k
views
Resistors in series with Tx and Rx
I'm making my own board and using an ATmega 328 with the Arduino bootloader. I have a DIP switch to select either an FTDI chip (for programming) to be connected to the ATMega's Rx and Tx, or a GPS ...
6
votes
5
answers
11k
views
UART Receiver Sampling Rate
I am trying to create a UART receiver in Verilog for my FPGA. I was following this guide http://www.fpga4fun.com/SerialInterface4.html
According to it the standard practice for asynchronous ...
6
votes
2
answers
7k
views
RS 232 serial sniffing
We have a task in hand to sniff a RS232 protocol in a certain industrial automation setting (we have been asked to do this legally by the manufacturing company itself). We are planning to send a ...
0
votes
1
answer
541
views
deserializing high speed data
I am trying deserialize data that come out of a LM98640 into 14 bits words:
Attached you can find a figure of the signals out of the LM98640.
http://www.ti.com/lit/ds/symlink/lm98640qml-sp.pdf
(...
18
votes
6
answers
71k
views
Max Serial Cable Length?
What is the maximum length of serial cable I can use, to connection work properly? Is length of serial cable in connection with baud rate? I am using about 5 meter cable at speed 38400 bauds and RS232 ...
12
votes
6
answers
14k
views
Good RS232-based Protocols for Embedded to Computer Communication
I'm working on a project that involves a good bit of data communication between a remote Arduino and a computer. The wireless connection is through a pair of XBees, so we have a RS232 link between the ...
10
votes
1
answer
9k
views
MIDI IN : many circuits
I'm building a MIDI IN to serial port RX cicruit (for Raspberry Pi, or Arduino, or anything else...) using a 6N138 optoisolator.
But I find many different circuits, I don't know why there are so ...
4
votes
3
answers
4k
views
Serial Output returns wrong ASCII
I am using a FTDI cable and connected it with my mac. I can connect successfully with my serial terminal on my mac via the cable and can input text on my keyboard to be transmitted to the AVR. When ...