Hello.
Welcome back.
In this lesson we shall give a quick overview of estimate that 32 Cuban mix.
Okay so my Cuban makes us open over here to create on your projects.
I can just click I can open existing project if I had existing projects that will be listed here but
I do not have a need so there is nothing here I can start from access MCU selector access Booth selector
or access cross selector.
Right.
One other key point is the um the tops we've got over here.
We've got a file type for new project to load projects and a list of recent projects if we have a need.
We've got a Windows type and this allows us to set the um the font size etc. and then we've got this
one this very important one to help one when you click on Help top.
You can check for updates you can manage embedded software packages.
Let's say you want to install a b l e for Bluetooth Low Energy.
If you want a store 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 SD microelectronics to sort of monitor the usage
of Cuba it makes in order to improve the product as it is written over here.
If you don't want to do that you can simply on check this right and you can check for updates as well
by clicking this.
So I'm gonna start a new project by coming over here.
Access to board selector click here.
It's open in the first time so it's taken a while it's still got certain things to download and on zip
it's quickly doing that
and it's opened.
So here we are.
We've got our various development boards over here.
We've called the discovery boards
different types cross.
Amanda Porter selector.
If I want to select just the MCU Chip I can click over here and simply search the chip.
I'll see m 32 4 1 1 and then it will list.
And when you check here it keeps the parameter.
It keeps the price range as well over here the price starts from two point to eighty four two three
point four five.
I can reduce the price range if I can 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.
Because the kingdom makes a setup from you know prototyping to development such that you have a clear
picture of where you are dealing with right here as well.
It gives the peripherals I feel I bought on a particular port.
We can filter by peripherals as well so should I say I want I want to EDC these and other platforms
I can just enable them and hit enter and Cuban makes you suggest the MSE use that I can use.
So let's see you can select by core as well.
This one day I type this acoustics except for that is why I just call tech's voice highlighted I can
delete this such that I'll let Cuban mics make their choice for me I'm gonna select cortex M 33 over
here and it gives me the options.
These are the options and these are the preference available as well right to this for the MCU selector.
Let's see how the takes M7 I've included critics M7 and it's increased my list and we can check for
the lines or by here whether we want f 1 series f 0 series etc. and then okay.
That's what I meant by the lines F1 f 0 etc and then the prize the package as well you can select the
package if you are into designing your own BCBS 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 1 1 ft EDT.
There is the new clue f for 1 one over here.
Just double click this.
And when you highlight it.
It tells you gives you the specifications of the port.
If it's obsolete it would tell you it's obsolete.
But this is active.
Therefore it is written in a market price that retail prices move up here.
This is 13 dollars and the futures of the board is listed right 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
types over here to take a look at them.
Okay so once I've highlighted I can double click it or just click starts.
Project over here like this.
And when you select a board it would ask you what you want to initialize or pair fields with default
mode.
I'll click yes
and it's setting up the project
Okay so that's what it looks like.
So those I want nuclear MCU are here.
These are the default setups and we've got the push button enabled for us.
We've got the LCD also set as an output pin and then we've got the you got a P two and P three and then
we've got other things with regards to the serial wire interface and Dethklok settings.
Okay so that's known as the pin out of you.
We've got a pin out and configuration tab over here with click to set a pin.
Let's say I want to set a as an output pin.
I will simply click this and select GPL output and it becomes an output pin.
Let's say I want to rename this right click this and see to use a label.
I can simply call this my output.
And then it becomes an output to be 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 s known as the pin out pin out and configuration view.
Right and I can drag and click and hold too drunk 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.
Okay so there's the pin out view and we have these.
So you know in microcontroller setup when we select a pin we've got to do further photo configurations.
And what I mean by this is to setup two sets up something like a queue at a you.
It's an alternate function on the MCU meaning we take a GPL European pin and then we set it alternate
function as you but 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 under system call over here we are given you know we are given options to figure out what GPL you
and these often we wouldn't talk much about these we just explained them when we require them RCC over
here is the bits that don't forget these lines.
Clock high speed extend or when I use under so we are saying bypass or we can simply say disable as
I click disable you realize that this chain to yellow.
But I can see bypass which is its default mode is back to green and low speed extend or here.
Thus we are using a crystal for it.
So we find disturbing that you see that it's been to get disabled from here.
So as I click the saber it becomes yellow right.
Yellow means you've set the GPL you've gotta go and do its actual alternate function configuration.
So whenever you see a pin that's yellow it's means it sets up is incomplete.
So I'll see you use ceramic and then it's back to green.
Right.
And then I stop over here to somewhere where I can disable it.
I'll show you that is on the other side.
I just disabled it when I see it use 0 wire 10.
Back to Green.
Right.
And this you can still disable the pin by selecting reset.
Okay right.
And with tops here for other configuration if we want analog configuration for our ADC we simply click
on a lock and then we select our ADC.
This MCU has a single ADC module but the 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 ADC is under analogue.
We've got timers and this tab allows us to configure our various general purpose timers as well as a
real time clock.
We've got connectivity as well.
This deals with things like the eye to see the SBI and the U S S we can see the U too s setup over here.
That is why it is green and that is why we've got it correct or 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 is synchronous and then hardware flow control disable.
Okay.
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'll see that these pins will be affected because these pins the ones connected to the
U.
Let's say I go a single wire you see now we've disabled our slide shows that the IRS is back to yellow
meaning its configuration is incomplete.
Single white or half duplex means just one direction communication.
Go back to asynchronous and then this is here and the configuration of the actual ADC or the actual
you.
I should say down here things like to portray.
We can change over here to Redlands.
We can change it.
Select the pirate t the data direction etc..
If we are using DME we can click over here and add and GPL sets as we know he's P2P P3 when we selected
these pingers.
They got added here automatically and whether we want to set ADC interrupt we come to in fixed settings
and fixed terms for nets that effect or interrupt controller.
So yeah so connectivity provides us access to a wide connectivity modules and these are the the I to
see DSP and you.
Okay.
The next one is multimedia.
We have a two 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 C I mean into cyclic redundancy check.
We can use that as well if we want to add a metal word such as a file system.
We've got fats efforts that we can include here.
We can also include a real time operating system like our toes and we can include the embed.
Tell us if we want as well as USP devices right.
So these we talk about them deeper when we are using them.
The next step up here is known as the clock configuration so we can simply click here and this gives
us a few of our clock.
We can um we can increase the clock frequency.
It says over here that Max is a hundred megahertz so we've got to keep that in mind and we can know
the clock for our various bedfellows.
For instance over here it tells us that the clock for what time is the time is connected to the input
be 1 The APB 1 bus clock currently is set at eighty four megahertz the clock to do cortex system time
assisted time is clock is eighty four etc. So over here we have exactly the values that our fair buried
fields would have for their clocks.
So let's say I want to increase the clock to 100 I simply need to type one hundred here.
Hit enter and it's going to configure everything appropriately and it's sort of free I arranged everything.
And frankly that too we can see I use the high speed internal edge as I hear storms for high speed internal
remember I know what sets up we say it bypass high speed extend or HFC.
That is why this is selected high speed in 10 on this being used.
And we are also using low speed external right of using low speed extend.
Let's see uh.
So we said low speed external use this ceramic ceramic resonator and I think there is a ceramic resonator
or oscillator on our PCV on a white microcontroller board I should say.
Okay.
So that's a quick overview of the clock tab and then the next top let's see us there's this 2s here
which you use for checking the um the Polycom assumptions and other things with regards to your your
board the final tab in the in the process is to click the project manager tab and over here you can
give your project a name.
I'll call this simple and then you can decide on the tool chain you want to use.
So I can say I want to generate the code for SDM 32 cube IDE e m k or other other idc 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 type the court code generator.
It says the project's location cannot be empty.
So we've gotta give a location for a project.
Let's see.
A creative photo code.
Cuba makes
Okay so right.
So let's say we want to generate a project for SDM 32 to cube IDC like this.
And then there's the code generator here.
And over here you can take such that your files are separated into the various dots H and C files.
I often do this or you simply tick here like this.
And then once you've selected the IP 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 any more we
can also generate a report.
Over here we can generate a report for our setup simply come to file generate the report right here
and then we'll do like to create the project first.
I'll click here.
Because the project hasn't been created yet.
OK.
A report has been generated so I'm going to open the folder and the report comes in to form out does
the text file as well as a PD f encapsulating all these elections you made.
So I'm open into PBF so that we take a look at it.
So there's the PDA of the project name and DMC you you chose as well as the dates all of it exists.
This is the pin out
and your clock configuration is also included here as well as the other setups that you have the RCC
sets up values you find them here.
This is the art.
Everything is included here.
So this that report.
Right.
So that's a quick overview of the SDM data to keep 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.