In this lesson we shall see how to configure the SS I or SBA module on the TVC lunch by board so to
enable and use any of the pair form modules we must enable the clock to it which SSA will use the RC
GC SSA register to enable the clock to the SSA modules.
Notice that the RC GC SSI is part of the S why as CTO or system controller registers.
A right and a one to either R as you are 1 or 2 are 3 enables the corresponding SSI module.
So if we want to use SSI or SBA one you simply need to write one at our zeros position.
If when I use I mean if I want to use yet SSI 0 we write one at our receivers position.
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
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.
The next register is the SSI control register 0 over here I'm showing the function of each bit in the
register although the conventional SBI uses 8 bit data the SSI modules allow transfer of data between
4 bits to 16.
But please take a look at this table post the video and spend some time observing it.
And since you are so familiar with navigating the data sheet now you can go to the data sheet and find
these registers.
Read more about them.
The purpose of this course was to get you familiar with navigating the data sheet so that you become
an independent self-reliant and proficient and better to develop the next register.
Is the SSI pre-schooler register the lower a bit of the SS ICP s r register are used to divide the CPI
clock before it is fed to the bitrate circuit only if even numbers can be used for the pre-school lessons
that d you must always be 0 for a preschooler registered the lowest value is 2 and the highest value
is two hundred and fifty for the SS AI module in the USC tube can be either master or slave.
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
must use the M S bit over here to designate the TVC chip as a master or slave and other important bits
in the SS I see R1 one register that is the Enable Disable bit we must use this to disable the module
during initialization process and sort of enable it after the initialization process to enable disable
bits as bits one over here routine here as SS E.
Now let's take a look at the SS AI data register written here as SS Ida R.
The data is placed in the SS Ida R for transmission the SS I.D. R is also used for the received data
buffer in 8 bits.
Data say selection we must place the data into the lower 8 bits of the register in the rest and the
rest of the register is not used in the receive mode.
The data is right justified in the lower 8 bit holds their received data.
This table over here show says the the various SS AI pins we have on our Texas Instruments TVC board
please post the video to take a look at this.
This this image or this table here over here we know where to find SS I 0 pins as well as SSI 1 SSI
2 and SSA 3.
We're going to refer to this table in order to connect our slave device to our microcontroller.
So this the end of this lesson if you have any questions just leave in the questions area and actually
see you in the next lesson.