1
00:00:00,240 --> 00:00:08,460
In this lesson we shall see how to configure the SS I or SBA module on the TVC lunch by board so to

2
00:00:08,490 --> 00:00:15,450
enable and use any of the pair form modules we must enable the clock to it which SSA will use the RC

3
00:00:15,490 --> 00:00:20,690
GC SSA register to enable the clock to the SSA modules.

4
00:00:20,790 --> 00:00:29,920
Notice that the RC GC SSI is part of the S why as CTO or system controller registers.

5
00:00:30,340 --> 00:00:39,200
A right and a one to either R as you are 1 or 2 are 3 enables the corresponding SSI module.

6
00:00:39,480 --> 00:00:46,510
So if we want to use SSI or SBA one you simply need to write one at our zeros position.

7
00:00:46,510 --> 00:00:54,380
If when I use I mean if I want to use yet SSI 0 we write one at our receivers position.

8
00:00:54,390 --> 00:01:03,900
If when I use SSI or SBA one right one at our Y's position and if we want to use all for SSI modules

9
00:01:03,930 --> 00:01:18,400
we can write 0 0 F to the RC GC SSI register and what 0 extra f gives us is 1 1 is 1 1 1 in 1 over here.

10
00:01:18,550 --> 00:01:25,690
The next register is the SSI control register 0 over here I'm showing the function of each bit in the

11
00:01:25,690 --> 00:01:33,940
register although the conventional SBI uses 8 bit data the SSI modules allow transfer of data between

12
00:01:33,940 --> 00:01:35,260
4 bits to 16.

13
00:01:35,280 --> 00:01:41,050
But please take a look at this table post the video and spend some time observing it.

14
00:01:41,350 --> 00:01:48,040
And since you are so familiar with navigating the data sheet now you can go to the data sheet and find

15
00:01:48,040 --> 00:01:49,300
these registers.

16
00:01:49,310 --> 00:01:50,710
Read more about them.

17
00:01:50,740 --> 00:01:56,260
The purpose of this course was to get you familiar with navigating the data sheet so that you become

18
00:01:56,890 --> 00:02:03,500
an independent self-reliant and proficient and better to develop the next register.

19
00:02:03,520 --> 00:02:12,350
Is the SSI pre-schooler register the lower a bit of the SS ICP s r register are used to divide the CPI

20
00:02:12,370 --> 00:02:19,840
clock before it is fed to the bitrate circuit only if even numbers can be used for the pre-school lessons

21
00:02:19,840 --> 00:02:28,330
that d you must always be 0 for a preschooler registered the lowest value is 2 and the highest value

22
00:02:28,360 --> 00:02:36,490
is two hundred and fifty for the SS AI module in the USC tube can be either master or slave.

23
00:02:36,490 --> 00:02:44,860
We must use the M as bit in the SS AI control register one which is written here as SS I see r one we

24
00:02:44,860 --> 00:02:52,540
must use the M S bit over here to designate the TVC chip as a master or slave and other important bits

25
00:02:52,600 --> 00:03:00,880
in the SS I see R1 one register that is the Enable Disable bit we must use this to disable the module

26
00:03:01,450 --> 00:03:09,010
during initialization process and sort of enable it after the initialization process to enable disable

27
00:03:09,010 --> 00:03:13,990
bits as bits one over here routine here as SS E.

28
00:03:13,990 --> 00:03:21,160
Now let's take a look at the SS AI data register written here as SS Ida R.

29
00:03:21,730 --> 00:03:30,520
The data is placed in the SS Ida R for transmission the SS I.D. R is also used for the received data

30
00:03:30,550 --> 00:03:32,270
buffer in 8 bits.

31
00:03:32,270 --> 00:03:39,850
Data say selection we must place the data into the lower 8 bits of the register in the rest and the

32
00:03:39,850 --> 00:03:43,990
rest of the register is not used in the receive mode.

33
00:03:44,050 --> 00:03:50,080
The data is right justified in the lower 8 bit holds their received data.

34
00:03:52,990 --> 00:04:02,020
This table over here show says the the various SS AI pins we have on our Texas Instruments TVC board

35
00:04:02,440 --> 00:04:05,960
please post the video to take a look at this.

36
00:04:06,070 --> 00:04:15,370
This this image or this table here over here we know where to find SS I 0 pins as well as SSI 1 SSI

37
00:04:15,390 --> 00:04:17,320
2 and SSA 3.

38
00:04:17,320 --> 00:04:23,640
We're going to refer to this table in order to connect our slave device to our microcontroller.

39
00:04:23,770 --> 00:04:28,600
So this the end of this lesson if you have any questions just leave in the questions area and actually

40
00:04:28,600 --> 00:04:29,710
see you in the next lesson.
