Wired Communication Systems (Week 4) Flashcards

1
Q

Synchronous Serial

A

A way for two devices to send data using a clock signal to keep them in sync

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

I2C (Inter-Integrated Circuit)

A

A simple way for a microcontroller to talk to multiple sensors or devices just using two wires. (it can sendand receive, but only one device can talk at a time)

Can connect to one or more peripherals (a device that connects to a microcontroller).
Each peripheral listens for their own address to determine if data is for them.
Two wires:
(1) SDA =Data
(2) SCL =clock

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

SPI (Serial Peripheral Interface)

A

Super fast way for devices to send and receive data at the same time using four wires.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Asynchronous Serial

A

Its a way for devices to send data without needing a shared clock.

This reduces the number of wires.

Connected devices have to follow a set of rules to ensure reliable data transfer:
-Data bits/chunk
-Synchronization bits
-parity bits

The rate of the data transfer is determined by the baud rate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Data bit/chunk

A

Contains information to be transferred.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Synchronization bits

A

They are special bits that are added to each data chunk to show where the data starts and ends.

start bit: always 1 bit

end bit: usually 1 bit sometimes 2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Parity Bits

A

Its a tiny error checking tool. It helps catch mistakes if a bit got messed up during transition

They count the number of 1s in the message.

if they want it to be even and there is an even number of 1s then –> Parity bit =0

if they want even and its odd then parity bit =1

if you want odd and its odd =0
if you want odd and its even =1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Baud Rate

A

The baud rate refers to how fast data is sent (measured in bits per second). Both the sending and receiving devices must use the same baud rate so that the data is not misread.

When sending bits, the transmitter holds the line at a high or low voltage (representing 1 or 0).The baud rate determines how long it holds each bit for. The receiver checks the line at that timing — based on the baud rate — to correctly read the bits.
That’s why both devices need to be synchronized to the same baud rate.

Line= the wire or electrical connection that caries the signal between the devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Asynchronous Serial Wiring

A

You need two wires (or pins)

TX= transmitter (Sends data)
RX= Receiver (Recives data)

The RX from one device connects to the TX of the other device, and vice versa
The ground is shared

Can operate at half or full duplex (half- devices take turns communicating, full- communicate at the same time) or can be simplex (one way communication)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

UART

A

Universal asynchronous Reciver/transmitter that implements serial communicaation. It operates between parallel and serial interfaces.

serial - bits sent one at a time, fewer wires, slower
parrallel- multiple bits sent at the same time (8 bits need 8 wires because its all at once), multiple data lines needed, faster

most UARTs place data into a buffer
-Holds data until it is processed
-buffered data is release on a FIFO basis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly