Hello, welcome back in the section, we are going to take a look at the broad support package of the
SDM 32 efore board.
The assignment's shall be based on the disco board for the initial videos.
However, the very last video of this section shall point out the differences that need to be made for
the nuclear board.
Also, you can download the source project for the Nuclear PSP as well as the disco PSP at the end of
the lesson.
Remember, the essence of this section is not to master SDM 32 for driver development, but to give
a quick overview of some peripheral APIs we will use in this course and also demonstrate the benefits
of using a broad support package.
That being said, if you wish to understand how any of these peripheral drivers was written, you can
send me a message and I'll be glad to take you through the steps.
So I'm going to create a new project by clicking over here project new project.
I'm going to create a new folder for my tbsp new project and I'm going to call this SDM 32 F for ATA's
PSP.
And within the folder I can name the project.
I keep the project in the folder estimated to have four quarters PSP.
So I'm using the Stamford's to F for one one V.
So I select the board and over here.
When I using the broad support package provided by the electronics, we just need to Simms's call.
And under startup, we need.
And the device will start up later on, we shall come here to add more peripherals, so I just click,
OK, and I'm going to create my target.
My target is the estimated to F for the scoreboard as the M 32 for.
Disko.
And over here, I'm going to add the source group or rename it to Artist Tbsp Artist Hyphen Vesp.
And now I can create my files, so I'm going to create.
I don't see five to show the implementation, how the system does what it does.
Like we discussed and taught each file to explain what the system does.
But before I do that, I'm just going to create a file here called Abstract.
And in this file, I'm going to list out the PIN arrangement so that we can always refer to this file
when we want to connect hardware to our microcontroller board.
I'm going to go to add new item, and this is a text file and I'm going to call it abstract.
So I'll just give a quick overview of some of the features of our ports support package.
We're going to provide for GPO pins to be used as props for what we're going to use this pins for is
we're going to place these pins, as you would see in the practical lesson, going to place this in
the various threads that we were right.
And if we want to verify the frequency of the thread is where we've set it to be, we just probe this
pin.
So we're going to call these pins probes.
And after that, we're going to initialize the arm the spy to connect our LCD screen to it and then
we shall initialize the ATCs.
Well.
So these are the hardware interfaces that will be connecting the external devices to be apart from that
internally we show initialize for general-purpose time is to provide interrupt and also to create delay
functions for us.
And we shall look at more as we do it.
So let's get started.
We'll start from the top by defining the assignment of the disco board.
So I just say this assignment just put this here like this, which I initialised GPI or Potsy, and
then we show initialise Peine zero, one, two, three, and we shall call them Proops zero, poop one,
poop two, three, and would do that very soon.
And then for the ADC, we show initialise ADC one, Channel four.
And this is connected to the it's connected to pay four.
And then for the graphic display, like I said, if you have the graphic display, that's fine, we
can practice with it.
If you don't, you perfectly understand discourse and implement what we implement here without using
this hardware.
But if you have one, the one that I call is the SD seven seven three five and it's called five pins
that need to be connected to the microcontroller board.
It's called the Stupenda in the Iris, the DC.
And then to see this, if you have this hardware and you check the back.
These are these are the names you find there, so this all we need for the hardware interface that will
be connected to our estimate, 32 F for the school board and for the nuclear board is exactly the same
hardware.
However, the assignment is different.
Remember, the disco and the nuclear have the same microcontroller, but not all Europeans are exposed
on both boards.
So on the nuclear board, we shall connect our probes to cheaper ports a and we're going to use eight,
eight, nine, eight and 11.
And the Edison remains the same and the and the LCD shall be connected here.
So one thing you should note is that this pin out is not a pin out that is actually printed on the board.
No, it's not that this PIN artist where you find in the user manual.
And when we start developing the tbsp for the nuclear, I'll show you to use a manual and how the how
the penult is shown there.
So that's done.
So we move on to right in the dot h file the interface file and I'll see you in the next lesson as we
do the.