Hello, welcome back.
And this lesson, we shall give a quick overview of the 32 Chebet mix.
OK, so my cue that makes us open over here to create a new project.
I can just click I can open existing project if I had existing projects that would be listed here,
but I do not have any.
So there's nothing here I can start to from access MCU Selector Access Board Selector or access cross
selector.
Right.
One of the key points is the the tops we've got over here.
We've got a file type for new project to load project and a list of recent project, if we have any.
We've got a Windows type and this allows us to set the, the font size cetera.
And then we've got this one, this very important one to help one.
When you click on Help Tab, you can check for updates.
You can manage embedded software packages.
Let's say you want to install the P l e for Bluetooth low energy.
You want to install a Bluetooth low energy package or some other package.
You've got to come to manage embedded software packages to do that.
And you can set your user preferences by clicking over here as well.
Over here, you can give consent for data to be sent to STMicroelectronics to sort of monitor the usage
of Cuba makes in order to improve the product as it is written over here.
If you don't want to do that, you can simply go and check this right.
And you can check for updates as well by clicking this.
So I'm going to start a new project by coming over here, access to Port Select.
Click here.
It's open and it's the first time, so it's taken a while.
It's still got certain things to download and on the ship, it's quickly doing that.
And it's opened, so here we are.
We've got our various development boards over here.
We've got the discovery boards.
Different types, of course, Amanda brought Selecter, if I want to select just the MCU chip, I can
click over here and simply search the chip SDM 32 for one one and then it will list.
And when you check here, it gives the parameter, it keeps the price range as well.
Over here, the price starts from two point two eight four to three point forty five.
I can reduce the price range if I cannot afford all of this to reduce the options.
These are the options that I have if I want the price to be within this range right now, because the
the key that makes it set up from, you know, prototype into development such that you have a clear
picture of what you are dealing with over here as well, it gives the peripherals available on a particular
port we can filter by peripherals as well.
So should I say I want I want to X and other peripherals.
I can just enable them and hit enter and Cubitt makes you suggest other mce use that I can use.
So let's see, you can select by well this one that I type this a Coatex M for.
That is why I just Coatex invoice highlighted.
I can delete this such that I'll let the Cuban mix make the choice for me.
I'm going to select Coatex M thirty three over here and it gives me the options.
These are the options and these are the preference available as well.
Right.
So this for the MCU selector.
Let's see how Coatex criticsm seven.
I've included Coatex M seven and it's increased my list and we can check for the lines over here whether
we want F one series, F zero series, etc. and then, OK, that's what I meant by the lines, F1,
F zero, etc. and then the price, the package as well.
You can select the package if you are into designing your own PCBs, you can filter by packages as well.
Right.
So I'll just close this and then I'll come back to board selector and then I'm going to just select
the nuclear F for one one.
Fiete, there was the nuclear F for one one over here.
Just double click this.
And when you highlighted it tells you gives you the specifications of the board.
If it's obsolete, it would tell you it's obsolete.
But this is active.
Therefore it is written at a market price.
The retail price is over here.
This is thirteen dollars and the futures of the board is listed over here or are listed over here,
I should say.
And if you want access to the data sheet as well as other documentation, you can click these tops over
here to take a look at them.
OK, so once I've highlighted I can double click it or just click start project over here like this.
And when you select a board, it would ask you what you want to initialize or peripherals with default
mode.
I'll click.
Yes.
And it's setting up the project.
OK, so that's what it looks like, so that's our nuclear arms, you over here.
These are the default setups and we've got the push-Button enabled for us.
We've got the ability also set as an output pin and then we've got the Ewart's at two and three.
And then we've got other things which regards to the zero wire interface and the clock settings.
OK, so this is the pin out for you.
We've got a pin out and configuration tab over here.
We click to set a pin.
Let's say I want to set it in as an output pin.
I will simply click this and select the output and it becomes an output pin.
Let's say I want to rename this a right.
Click this and see and to use a label, I can simply call this my output and then it becomes an output
being as simple as that if I want to set it to a different type of pin.
I simply click and select the type that I want.
This is known as the this is known as the pin out penult and configuration view.
Right.
And I can drag a click and hold to drag to move it around.
It's allowable to do that.
I can zoom in, I can zoom out, I can rotate if I want.
Right.
OK, so that's the penult view.
And we have these.
So, you know, in microcontroller setup, when we select a pin, we've got a two fer up for the configurations.
And what I mean by this is to set up to set up something like a you got a you is an alternate function
on the MCU, meaning we take a GPL European and then we set it alternate function as UAT before we are
able to use it.
So for instance, if I want to say this, as you said, it's done over here after I have selected it
as you, but I've got to come over here and configure its alternate function.
So on the system over here, we are given you know, we are given options to figure out what GPU and
these often we wouldn't talk much about these.
We just explained them when we require them.
RACC over here is the bits that configure these lives, our clock high speed extend or we're not using
this or we are saying bypass or we can simply say disable, acyclic, disable.
You realize that this change to yellow, but I can say bypass, which is its default mode, is back
to green and low speed extension or here this we are using a crystal for it.
So if I disable it, you see that it's going to get disabled from here.
So as I click disable, it becomes yellow, right?
Yellow means you've set the GPL.
You've got to go and do its actual alternate function configuration.
So whenever you see a pin as yellow, it means it sets up is incomplete.
So I'll see you ceramic and then it's back to green.
Right.
And then I stop over here, the single wire, I can disable it.
I'll show you that is on the other side.
I just disable it when I see it.
You the wire turn back to green.
Right.
And this you can still you disable the pin by selecting reset.
OK, right.
And we've got stops here for other configuration.
If we want analogue configuration for our ATCs, we simply click on a lock and then we select our ADC.
This MCU has a single ADC module, but this single module has about sixteen channels.
So if we want an ADC, this is where the configuration will be done.
But we're not using an ADC now, so everything is under analogue.
We've got timers and this top allows us to configure our various general-purpose timers as well as our
real time clock.
We've got connectivity as well.
This deals with things like the eye to see the spy and the Ewart's.
As you can see, the you add to is set setup over here.
That is why it is green and that is why we've got a correct or a take over here.
So to see the configuration or to change the configuration or simply click here.
And as you can see, it says mode asynchronous and then hardware flow control disable.
OK, when I disable this, when I come over here mode and disable it, when I come over here and change
it or disable it, you would see that these pins would be affected because these pins, the ones connected
to that, you at let's say I go single wire.
You see now we've disable the.
Our slide shows that at the Eriksson's back to yellow, meaning its configuration is incomplete, single
wire or half duplex means just one direction communication.
I'll go back to asynchronous and then this is here.
And the configuration of the actual ADC or the actual you are, I should say, is down here, things
like the portrait we can change over here to what length we can change and select the priority, the
data direction, etc. If we are using DMA, we can click over here and add and you settings since we
know it's a two three.
When we selected these prints, they got added here automatically.
And whether we want to set ADC interrupt, we come to any settings and fixed terms for nested vector
interrupt controller.
So yeah.
So connectivity provides us access to our connectivity modules and these are the the two S.P.I and the
U at.
OK, the next one is multimedia.
We have to s over here, which we can use for sound and other things.
We've got computing and we've got this module known as the CRC, meaning the cyclic redundancy check.
We can use that as well.
If we want to add at a middle word such as a file system, we've got flatfish that we can include here.
We can also include a Real-Time operating system like free artists, and we can include the embed tools
if we want, as well as USB devices.
Right.
So these we talk about them deeper when we are using them.
The next step up here is known as the configuration.
So we can simply click here.
And this gives us a view of our Klok.
We can, um, we can increase the clock frequency.
It says over here the max is one hundred megahertz.
So we've got to keep that in mind and we can know the clock for our various peripherals price times
over here.
It tells us that the clock for our time is the time is connected to the NPP, one the APB, one bus.
The clock currently is set at eighty four megahertz.
The clock to the cortex system, time odysseys, the time clock is eighty four, etc..
So over here we have exactly the values that our various peripherals would have for their clocks.
So let's say I want to increase the clock to one hundred.
I simply need to type one hundred here hits enter and it's going to configure everything appropriately
and it's sort of rearranged everything.
And over here too, we can see we are using the high speed internal HSR.
Yes.
Thumbs for high speed internal remember and our sets are preset bypass, high speed extend or HSC.
That is why this is selected.
High speed Internet is being used and we are also using low speed external.
Right.
Um, are we using low speed extend or let's see.
Um.
So we said no speed, external use, the ceramic ceramic resonator, and I think there is a ceramic
resonator or oscillator on our PCB, on our microcontroller.
What I should say.
OK, so that's a quick overview of the clock top and then the next top lets you choose.
There's this to here, which you use for checking the power consumptions and other things which regards
to your your port.
The final tub in the in the process is to click the project manager top.
And over here you can give your project a name.
I guess I'll call the Simple and then you can decide on the toolchain you want to use.
So I can say I want to generate code for STEM 32, cube 80, Medicare or other other ideas if I prefer.
So this allows me to generate code for various ideas.
And you can come over here.
This is the project.
That's another topic.
Code generator.
OK, it says project location cannot be empty, so we've got to give it location for our project.
Um, let's see.
A creature from Cuba makes.
OK, so right, so let's say we want to generate a project for extempore to keep it like this and then
there's the, quote, generator.
Yeah.
And over here you can take such that your files are separated into the various parts, H and C files.
I often do this.
So you simply take like this.
And then once you've selected the idea you wish to use, you can simply click generate and it would
generate it for you.
We'll see how that works when we start dealing with actual projects.
And there isn't much anymore.
We can also generate a report over here.
We can generate a report for our set up, simply come to file generates report right here.
And then we do like to create the project first.
I'll click.
Yes, because the project hasn't been created yet.
OK, the report has been generated, so I'm going to open the folder and the report comes in to formatted
as the text file as well as a PDF encapsulating all the selections you made.
So I'm open to the PDF so that we take a look at it.
So there's the PDF, the project name and DMC you chose, as well as the date, all of it exists and
this is the pin out.
And your core configuration is also included here.
As well as the other setups that you have, the RACC set up values, we find him here to suggest to
you that everything is included here.
So there's the report, right.
So that's a quick overview of the estimate that it took.
That makes five.
If you have any questions at all, just send me a message or leave in the questions area and I shall
see you in the next lesson.
Have a nice day.