1
00:00:00,780 --> 00:00:01,130
Hello.

2
00:00:01,140 --> 00:00:01,970
Welcome back.

3
00:00:01,980 --> 00:00:09,180
In this lesson we shall give a brief overview of the universal asynchronous receiver transmitter otherwise

4
00:00:09,180 --> 00:00:18,540
known as the U art computers transfer data in two ways parallel and serial in parallel data transfers

5
00:00:18,630 --> 00:00:27,030
often eight or more lines or wires are used to transfer data to another device in serial communication.

6
00:00:27,030 --> 00:00:31,400
The data is sent one bit at a time in the past.

7
00:00:31,500 --> 00:00:38,160
Parallel data transfer was preferred for short distances because it's made transfer multiple bits at

8
00:00:38,160 --> 00:00:42,480
the same time and provide higher throughput.

9
00:00:42,540 --> 00:00:49,440
As technology advances the data rate of serial communications sometimes exceed parallel communication

10
00:00:49,770 --> 00:00:57,550
while parallel communication still retains the disadvantages of the size and cost of cable and connector.

11
00:00:58,000 --> 00:01:05,180
The crosstalk between the data lies and the difficulty of synchronizing the arrival time of data lies.

12
00:01:05,280 --> 00:01:11,410
Longer distances also still existed in the parallel communication you.

13
00:01:11,430 --> 00:01:18,660
Art is one of the most common serial communication protocols and in this lesson we shall explore some

14
00:01:18,660 --> 00:01:26,550
of the basics of the new art protocol the data coming in at the receiving end of the data line in a

15
00:01:26,550 --> 00:01:27,990
serial data transfer.

16
00:01:28,140 --> 00:01:31,020
Is all zeros and ones.

17
00:01:31,260 --> 00:01:38,910
It is difficult to make sense of the data unless the sender and receiver agree on a set of rules or

18
00:01:39,050 --> 00:01:42,280
a protocol on how the data is packed.

19
00:01:42,360 --> 00:01:52,520
How many bits constitute a character and when the data begins and ends a synchronous zero data communication

20
00:01:52,520 --> 00:01:59,170
like the new art is widely used for character oriented transmissions in the asynchronous method.

21
00:01:59,240 --> 00:02:05,420
Each character such as ASCII characters is packed between start and stop it.

22
00:02:05,420 --> 00:02:07,940
This is called framing their starts.

23
00:02:07,960 --> 00:02:10,560
It is always one bit but it's stopped.

24
00:02:10,560 --> 00:02:18,730
Bits can be one or two bits start but is always zero and the stop it is indicated by one for example

25
00:02:18,740 --> 00:02:26,930
over here we send into ASCII character E which has the binary number 1 0 0 0 0 1 which we'll talk about

26
00:02:26,930 --> 00:02:31,370
this other 0 later but there's a reason we have another 0 added here

27
00:02:34,280 --> 00:02:42,010
as we can see the data is framed between the start speeds and to stop it stop it.

28
00:02:42,020 --> 00:02:49,220
As we said are indicated by one and this starts it is always indicated by zero and a stop it can be

29
00:02:49,220 --> 00:02:56,560
two in number by just by the Stop it is always one you can have one bit full stop or two bits full stop.

30
00:02:56,680 --> 00:03:05,600
In this in this example we've got two bit four stop the rightmost bit or the LSP assent first the LSP

31
00:03:05,600 --> 00:03:13,970
stands for the least significant bit in asynchronous serial communications peripheral chips can be programmed

32
00:03:13,970 --> 00:03:23,300
for data that is 5 6 7 or 8 bits wide while in older systems ASCII characters where 7 bit the mode in

33
00:03:23,300 --> 00:03:27,430
systems usually send non ASCII 8 bits data as well.

34
00:03:28,100 --> 00:03:35,330
Now let's talk about parity in some systems in order to maintain data integrity that parity bits of

35
00:03:35,330 --> 00:03:39,290
the character bytes is included in the data frame.

36
00:03:39,440 --> 00:03:46,820
This means that for each character we have a single parity bit in addition to the start and stop bits.

37
00:03:47,090 --> 00:03:54,560
The parity bits may be odd or even in the case of an order parity the number of data bits including

38
00:03:54,560 --> 00:03:57,680
the parity bit has an odd number of ones.

39
00:03:58,400 --> 00:04:06,290
Similarly in an even parity the total number of bits including the parity bits is even for example the

40
00:04:06,500 --> 00:04:16,160
ASCII character a has the binary number 1 0 0 0 0 1 and with course serial included to the beginning

41
00:04:16,160 --> 00:04:25,280
here of course you added here for even parity you R2 chips allow us programming of the parity bit for

42
00:04:25,370 --> 00:04:26,380
odd even.

43
00:04:26,420 --> 00:04:29,680
And in fact we can choose not to have parity at all.

44
00:04:29,840 --> 00:04:34,450
When programming the chips and we shall see how to do this programmatically.

45
00:04:34,730 --> 00:04:42,860
Now we look at data transfer the rate of data transfer in serial data communication is stated in BP

46
00:04:42,870 --> 00:04:45,500
s or bits per second.

47
00:04:45,550 --> 00:04:49,430
Another widely used terminology for BP s is the board rate.

48
00:04:49,940 --> 00:04:55,550
However the both rate and BP s rates are not necessarily equal.

49
00:04:55,580 --> 00:05:02,960
This is due to the fact that both rate is defined as the number of signal changes per second in modems.

50
00:05:02,960 --> 00:05:10,310
It is possible for each signal to transfer multiple bits off of data but when we are talking about wired

51
00:05:10,370 --> 00:05:16,270
connections like that you add that both rate and BP s are the same.

52
00:05:16,310 --> 00:05:17,950
So this order is for this short.

53
00:05:17,950 --> 00:05:22,960
Both of you on you art and the you art data transfer protocol.

54
00:05:23,210 --> 00:05:25,420
If you have any questions just let me know.

55
00:05:25,730 --> 00:05:26,510
I'll see you later.
