1
00:00:00,870 --> 00:00:01,910
Hello, welcome back.

2
00:00:02,400 --> 00:00:07,260
And this lesson, we shall give a quick overview of the 32 Chebet mix.

3
00:00:08,010 --> 00:00:12,500
OK, so my cue that makes us open over here to create a new project.

4
00:00:12,540 --> 00:00:18,930
I can just click I can open existing project if I had existing projects that would be listed here,

5
00:00:18,930 --> 00:00:20,030
but I do not have any.

6
00:00:20,040 --> 00:00:28,100
So there's nothing here I can start to from access MCU Selector Access Board Selector or access cross

7
00:00:28,110 --> 00:00:28,770
selector.

8
00:00:29,400 --> 00:00:29,850
Right.

9
00:00:30,270 --> 00:00:34,200
One of the key points is the the tops we've got over here.

10
00:00:34,200 --> 00:00:40,770
We've got a file type for new project to load project and a list of recent project, if we have any.

11
00:00:40,770 --> 00:00:46,590
We've got a Windows type and this allows us to set the, the font size cetera.

12
00:00:46,590 --> 00:00:50,010
And then we've got this one, this very important one to help one.

13
00:00:50,520 --> 00:00:53,220
When you click on Help Tab, you can check for updates.

14
00:00:53,220 --> 00:00:55,650
You can manage embedded software packages.

15
00:00:55,920 --> 00:00:59,460
Let's say you want to install the P l e for Bluetooth low energy.

16
00:00:59,770 --> 00:01:04,140
You want to install a Bluetooth low energy package or some other package.

17
00:01:04,140 --> 00:01:07,260
You've got to come to manage embedded software packages to do that.

18
00:01:07,770 --> 00:01:11,700
And you can set your user preferences by clicking over here as well.

19
00:01:12,120 --> 00:01:20,220
Over here, you can give consent for data to be sent to STMicroelectronics to sort of monitor the usage

20
00:01:20,220 --> 00:01:24,570
of Cuba makes in order to improve the product as it is written over here.

21
00:01:24,570 --> 00:01:28,230
If you don't want to do that, you can simply go and check this right.

22
00:01:28,800 --> 00:01:32,070
And you can check for updates as well by clicking this.

23
00:01:32,520 --> 00:01:36,720
So I'm going to start a new project by coming over here, access to Port Select.

24
00:01:36,930 --> 00:01:37,550
Click here.

25
00:01:44,030 --> 00:01:47,060
It's open and it's the first time, so it's taken a while.

26
00:01:49,420 --> 00:01:55,480
It's still got certain things to download and on the ship, it's quickly doing that.

27
00:02:04,560 --> 00:02:07,870
And it's opened, so here we are.

28
00:02:08,250 --> 00:02:11,970
We've got our various development boards over here.

29
00:02:12,000 --> 00:02:13,860
We've got the discovery boards.

30
00:02:16,660 --> 00:02:22,660
Different types, of course, Amanda brought Selecter, if I want to select just the MCU chip, I can

31
00:02:22,660 --> 00:02:30,820
click over here and simply search the chip SDM 32 for one one and then it will list.

32
00:02:30,820 --> 00:02:35,340
And when you check here, it gives the parameter, it keeps the price range as well.

33
00:02:35,620 --> 00:02:41,010
Over here, the price starts from two point two eight four to three point forty five.

34
00:02:41,020 --> 00:02:45,930
I can reduce the price range if I cannot afford all of this to reduce the options.

35
00:02:45,940 --> 00:02:53,590
These are the options that I have if I want the price to be within this range right now, because the

36
00:02:53,800 --> 00:02:58,330
the key that makes it set up from, you know, prototype into development such that you have a clear

37
00:02:58,330 --> 00:03:03,670
picture of what you are dealing with over here as well, it gives the peripherals available on a particular

38
00:03:03,670 --> 00:03:06,430
port we can filter by peripherals as well.

39
00:03:06,730 --> 00:03:13,840
So should I say I want I want to X and other peripherals.

40
00:03:13,840 --> 00:03:20,230
I can just enable them and hit enter and Cubitt makes you suggest other mce use that I can use.

41
00:03:20,980 --> 00:03:25,630
So let's see, you can select by well this one that I type this a Coatex M for.

42
00:03:25,660 --> 00:03:27,910
That is why I just Coatex invoice highlighted.

43
00:03:28,360 --> 00:03:31,960
I can delete this such that I'll let the Cuban mix make the choice for me.

44
00:03:31,960 --> 00:03:37,690
I'm going to select Coatex M thirty three over here and it gives me the options.

45
00:03:37,690 --> 00:03:40,720
These are the options and these are the preference available as well.

46
00:03:41,880 --> 00:03:42,360
Right.

47
00:03:42,730 --> 00:03:44,680
So this for the MCU selector.

48
00:03:45,310 --> 00:03:47,590
Let's see how Coatex criticsm seven.

49
00:03:47,590 --> 00:03:53,810
I've included Coatex M seven and it's increased my list and we can check for the lines over here whether

50
00:03:53,830 --> 00:04:03,390
we want F one series, F zero series, etc. and then, OK, that's what I meant by the lines, F1,

51
00:04:03,400 --> 00:04:09,810
F zero, etc. and then the price, the package as well.

52
00:04:09,820 --> 00:04:15,850
You can select the package if you are into designing your own PCBs, you can filter by packages as well.

53
00:04:16,570 --> 00:04:17,080
Right.

54
00:04:17,890 --> 00:04:26,200
So I'll just close this and then I'll come back to board selector and then I'm going to just select

55
00:04:26,200 --> 00:04:28,990
the nuclear F for one one.

56
00:04:28,990 --> 00:04:34,120
Fiete, there was the nuclear F for one one over here.

57
00:04:34,420 --> 00:04:35,620
Just double click this.

58
00:04:36,370 --> 00:04:40,960
And when you highlighted it tells you gives you the specifications of the board.

59
00:04:41,590 --> 00:04:44,650
If it's obsolete, it would tell you it's obsolete.

60
00:04:44,860 --> 00:04:45,910
But this is active.

61
00:04:45,910 --> 00:04:48,310
Therefore it is written at a market price.

62
00:04:48,310 --> 00:04:50,050
The retail price is over here.

63
00:04:50,050 --> 00:04:57,310
This is thirteen dollars and the futures of the board is listed over here or are listed over here,

64
00:04:57,400 --> 00:04:58,090
I should say.

65
00:04:58,450 --> 00:05:05,530
And if you want access to the data sheet as well as other documentation, you can click these tops over

66
00:05:05,530 --> 00:05:06,820
here to take a look at them.

67
00:05:07,490 --> 00:05:13,720
OK, so once I've highlighted I can double click it or just click start project over here like this.

68
00:05:14,620 --> 00:05:20,560
And when you select a board, it would ask you what you want to initialize or peripherals with default

69
00:05:20,560 --> 00:05:20,890
mode.

70
00:05:20,890 --> 00:05:21,370
I'll click.

71
00:05:21,370 --> 00:05:21,820
Yes.

72
00:05:26,900 --> 00:05:29,690
And it's setting up the project.

73
00:05:33,540 --> 00:05:39,510
OK, so that's what it looks like, so that's our nuclear arms, you over here.

74
00:05:39,570 --> 00:05:45,510
These are the default setups and we've got the push-Button enabled for us.

75
00:05:46,140 --> 00:05:54,690
We've got the ability also set as an output pin and then we've got the Ewart's at two and three.

76
00:05:55,470 --> 00:06:02,550
And then we've got other things which regards to the zero wire interface and the clock settings.

77
00:06:03,300 --> 00:06:08,780
OK, so this is the pin out for you.

78
00:06:09,030 --> 00:06:12,620
We've got a pin out and configuration tab over here.

79
00:06:12,630 --> 00:06:13,950
We click to set a pin.

80
00:06:13,960 --> 00:06:17,490
Let's say I want to set it in as an output pin.

81
00:06:17,490 --> 00:06:22,730
I will simply click this and select the output and it becomes an output pin.

82
00:06:23,040 --> 00:06:25,830
Let's say I want to rename this a right.

83
00:06:25,830 --> 00:06:33,920
Click this and see and to use a label, I can simply call this my output and then it becomes an output

84
00:06:33,930 --> 00:06:37,300
being as simple as that if I want to set it to a different type of pin.

85
00:06:37,320 --> 00:06:40,530
I simply click and select the type that I want.

86
00:06:41,160 --> 00:06:47,550
This is known as the this is known as the pin out penult and configuration view.

87
00:06:47,850 --> 00:06:48,420
Right.

88
00:06:48,420 --> 00:06:53,520
And I can drag a click and hold to drag to move it around.

89
00:06:53,940 --> 00:06:55,220
It's allowable to do that.

90
00:06:55,230 --> 00:07:00,360
I can zoom in, I can zoom out, I can rotate if I want.

91
00:07:02,000 --> 00:07:02,550
Right.

92
00:07:02,760 --> 00:07:05,280
OK, so that's the penult view.

93
00:07:05,280 --> 00:07:06,330
And we have these.

94
00:07:06,930 --> 00:07:17,310
So, you know, in microcontroller setup, when we select a pin, we've got a two fer up for the configurations.

95
00:07:17,310 --> 00:07:25,770
And what I mean by this is to set up to set up something like a you got a you is an alternate function

96
00:07:25,770 --> 00:07:32,610
on the MCU, meaning we take a GPL European and then we set it alternate function as UAT before we are

97
00:07:32,610 --> 00:07:33,550
able to use it.

98
00:07:33,900 --> 00:07:39,690
So for instance, if I want to say this, as you said, it's done over here after I have selected it

99
00:07:39,690 --> 00:07:44,550
as you, but I've got to come over here and configure its alternate function.

100
00:07:45,360 --> 00:07:54,060
So on the system over here, we are given you know, we are given options to figure out what GPU and

101
00:07:54,060 --> 00:07:56,760
these often we wouldn't talk much about these.

102
00:07:56,760 --> 00:07:58,650
We just explained them when we require them.

103
00:07:58,980 --> 00:08:05,850
RACC over here is the bits that configure these lives, our clock high speed extend or we're not using

104
00:08:05,850 --> 00:08:10,470
this or we are saying bypass or we can simply say disable, acyclic, disable.

105
00:08:10,470 --> 00:08:16,890
You realize that this change to yellow, but I can say bypass, which is its default mode, is back

106
00:08:16,890 --> 00:08:21,480
to green and low speed extension or here this we are using a crystal for it.

107
00:08:21,820 --> 00:08:25,470
So if I disable it, you see that it's going to get disabled from here.

108
00:08:26,790 --> 00:08:29,880
So as I click disable, it becomes yellow, right?

109
00:08:30,030 --> 00:08:32,700
Yellow means you've set the GPL.

110
00:08:32,740 --> 00:08:37,080
You've got to go and do its actual alternate function configuration.

111
00:08:37,320 --> 00:08:41,430
So whenever you see a pin as yellow, it means it sets up is incomplete.

112
00:08:42,060 --> 00:08:46,440
So I'll see you ceramic and then it's back to green.

113
00:08:47,430 --> 00:08:47,910
Right.

114
00:08:48,210 --> 00:08:53,730
And then I stop over here, the single wire, I can disable it.

115
00:08:55,470 --> 00:08:57,810
I'll show you that is on the other side.

116
00:08:57,810 --> 00:08:59,880
I just disable it when I see it.

117
00:08:59,880 --> 00:09:02,700
You the wire turn back to green.

118
00:09:03,420 --> 00:09:03,870
Right.

119
00:09:04,470 --> 00:09:08,760
And this you can still you disable the pin by selecting reset.

120
00:09:09,450 --> 00:09:11,220
OK, right.

121
00:09:11,670 --> 00:09:14,640
And we've got stops here for other configuration.

122
00:09:14,640 --> 00:09:20,700
If we want analogue configuration for our ATCs, we simply click on a lock and then we select our ADC.

123
00:09:20,700 --> 00:09:26,880
This MCU has a single ADC module, but this single module has about sixteen channels.

124
00:09:27,510 --> 00:09:31,350
So if we want an ADC, this is where the configuration will be done.

125
00:09:31,350 --> 00:09:36,060
But we're not using an ADC now, so everything is under analogue.

126
00:09:36,540 --> 00:09:44,110
We've got timers and this top allows us to configure our various general-purpose timers as well as our

127
00:09:44,160 --> 00:09:45,270
real time clock.

128
00:09:45,960 --> 00:09:47,780
We've got connectivity as well.

129
00:09:47,820 --> 00:09:52,680
This deals with things like the eye to see the spy and the Ewart's.

130
00:09:53,340 --> 00:09:57,120
As you can see, the you add to is set setup over here.

131
00:09:57,120 --> 00:10:01,470
That is why it is green and that is why we've got a correct or a take over here.

132
00:10:02,010 --> 00:10:05,700
So to see the configuration or to change the configuration or simply click here.

133
00:10:05,700 --> 00:10:11,790
And as you can see, it says mode asynchronous and then hardware flow control disable.

134
00:10:11,850 --> 00:10:20,070
OK, when I disable this, when I come over here mode and disable it, when I come over here and change

135
00:10:20,070 --> 00:10:27,000
it or disable it, you would see that these pins would be affected because these pins, the ones connected

136
00:10:27,000 --> 00:10:29,970
to that, you at let's say I go single wire.

137
00:10:31,350 --> 00:10:32,880
You see now we've disable the.

138
00:10:32,960 --> 00:10:38,480
Our slide shows that at the Eriksson's back to yellow, meaning its configuration is incomplete, single

139
00:10:38,480 --> 00:10:42,710
wire or half duplex means just one direction communication.

140
00:10:43,310 --> 00:10:49,130
I'll go back to asynchronous and then this is here.

141
00:10:49,520 --> 00:10:56,530
And the configuration of the actual ADC or the actual you are, I should say, is down here, things

142
00:10:56,540 --> 00:11:04,430
like the portrait we can change over here to what length we can change and select the priority, the

143
00:11:04,430 --> 00:11:11,750
data direction, etc. If we are using DMA, we can click over here and add and you settings since we

144
00:11:11,750 --> 00:11:13,580
know it's a two three.

145
00:11:14,150 --> 00:11:17,450
When we selected these prints, they got added here automatically.

146
00:11:17,960 --> 00:11:25,760
And whether we want to set ADC interrupt, we come to any settings and fixed terms for nested vector

147
00:11:25,760 --> 00:11:27,010
interrupt controller.

148
00:11:27,890 --> 00:11:28,640
So yeah.

149
00:11:28,650 --> 00:11:36,500
So connectivity provides us access to our connectivity modules and these are the the two S.P.I and the

150
00:11:36,500 --> 00:11:37,100
U at.

151
00:11:37,730 --> 00:11:39,910
OK, the next one is multimedia.

152
00:11:39,920 --> 00:11:44,140
We have to s over here, which we can use for sound and other things.

153
00:11:44,390 --> 00:11:50,360
We've got computing and we've got this module known as the CRC, meaning the cyclic redundancy check.

154
00:11:50,600 --> 00:11:51,950
We can use that as well.

155
00:11:52,220 --> 00:11:59,360
If we want to add at a middle word such as a file system, we've got flatfish that we can include here.

156
00:12:00,320 --> 00:12:06,830
We can also include a Real-Time operating system like free artists, and we can include the embed tools

157
00:12:06,830 --> 00:12:08,810
if we want, as well as USB devices.

158
00:12:09,380 --> 00:12:09,860
Right.

159
00:12:10,460 --> 00:12:14,650
So these we talk about them deeper when we are using them.

160
00:12:14,960 --> 00:12:19,130
The next step up here is known as the configuration.

161
00:12:19,550 --> 00:12:20,930
So we can simply click here.

162
00:12:20,930 --> 00:12:23,120
And this gives us a view of our Klok.

163
00:12:24,620 --> 00:12:28,310
We can, um, we can increase the clock frequency.

164
00:12:28,520 --> 00:12:30,890
It says over here the max is one hundred megahertz.

165
00:12:30,890 --> 00:12:36,890
So we've got to keep that in mind and we can know the clock for our various peripherals price times

166
00:12:36,890 --> 00:12:37,310
over here.

167
00:12:37,310 --> 00:12:44,300
It tells us that the clock for our time is the time is connected to the NPP, one the APB, one bus.

168
00:12:44,630 --> 00:12:47,510
The clock currently is set at eighty four megahertz.

169
00:12:48,350 --> 00:12:54,140
The clock to the cortex system, time odysseys, the time clock is eighty four, etc..

170
00:12:54,140 --> 00:12:59,840
So over here we have exactly the values that our various peripherals would have for their clocks.

171
00:13:00,140 --> 00:13:02,270
So let's say I want to increase the clock to one hundred.

172
00:13:02,270 --> 00:13:09,710
I simply need to type one hundred here hits enter and it's going to configure everything appropriately

173
00:13:09,710 --> 00:13:12,140
and it's sort of rearranged everything.

174
00:13:12,560 --> 00:13:18,270
And over here too, we can see we are using the high speed internal HSR.

175
00:13:18,310 --> 00:13:18,620
Yes.

176
00:13:18,620 --> 00:13:24,530
Thumbs for high speed internal remember and our sets are preset bypass, high speed extend or HSC.

177
00:13:24,770 --> 00:13:26,180
That is why this is selected.

178
00:13:26,360 --> 00:13:31,040
High speed Internet is being used and we are also using low speed external.

179
00:13:32,600 --> 00:13:33,140
Right.

180
00:13:35,050 --> 00:13:38,020
Um, are we using low speed extend or let's see.

181
00:13:40,090 --> 00:13:40,850
Um.

182
00:13:47,630 --> 00:13:54,410
So we said no speed, external use, the ceramic ceramic resonator, and I think there is a ceramic

183
00:13:55,010 --> 00:13:59,370
resonator or oscillator on our PCB, on our microcontroller.

184
00:13:59,420 --> 00:14:00,150
What I should say.

185
00:14:00,560 --> 00:14:07,940
OK, so that's a quick overview of the clock top and then the next top lets you choose.

186
00:14:07,950 --> 00:14:13,820
There's this to here, which you use for checking the power consumptions and other things which regards

187
00:14:13,820 --> 00:14:15,230
to your your port.

188
00:14:15,980 --> 00:14:21,130
The final tub in the in the process is to click the project manager top.

189
00:14:22,970 --> 00:14:25,430
And over here you can give your project a name.

190
00:14:25,840 --> 00:14:31,490
I guess I'll call the Simple and then you can decide on the toolchain you want to use.

191
00:14:32,720 --> 00:14:43,040
So I can say I want to generate code for STEM 32, cube 80, Medicare or other other ideas if I prefer.

192
00:14:43,070 --> 00:14:46,430
So this allows me to generate code for various ideas.

193
00:14:46,880 --> 00:14:48,580
And you can come over here.

194
00:14:48,710 --> 00:14:49,790
This is the project.

195
00:14:49,790 --> 00:14:50,660
That's another topic.

196
00:14:50,680 --> 00:14:52,020
Code generator.

197
00:14:54,000 --> 00:15:00,350
OK, it says project location cannot be empty, so we've got to give it location for our project.

198
00:15:04,270 --> 00:15:05,600
Um, let's see.

199
00:15:11,510 --> 00:15:13,310
A creature from Cuba makes.

200
00:15:18,910 --> 00:15:28,270
OK, so right, so let's say we want to generate a project for extempore to keep it like this and then

201
00:15:28,270 --> 00:15:29,320
there's the, quote, generator.

202
00:15:29,350 --> 00:15:29,760
Yeah.

203
00:15:30,190 --> 00:15:36,670
And over here you can take such that your files are separated into the various parts, H and C files.

204
00:15:37,000 --> 00:15:38,090
I often do this.

205
00:15:38,090 --> 00:15:39,820
So you simply take like this.

206
00:15:41,510 --> 00:15:47,000
And then once you've selected the idea you wish to use, you can simply click generate and it would

207
00:15:47,000 --> 00:15:48,050
generate it for you.

208
00:15:48,680 --> 00:15:52,250
We'll see how that works when we start dealing with actual projects.

209
00:15:52,910 --> 00:15:54,840
And there isn't much anymore.

210
00:15:54,860 --> 00:15:57,290
We can also generate a report over here.

211
00:15:57,290 --> 00:16:04,130
We can generate a report for our set up, simply come to file generates report right here.

212
00:16:04,820 --> 00:16:07,150
And then we do like to create the project first.

213
00:16:07,160 --> 00:16:07,520
I'll click.

214
00:16:07,520 --> 00:16:09,830
Yes, because the project hasn't been created yet.

215
00:16:10,370 --> 00:16:18,260
OK, the report has been generated, so I'm going to open the folder and the report comes in to formatted

216
00:16:18,260 --> 00:16:23,900
as the text file as well as a PDF encapsulating all the selections you made.

217
00:16:25,250 --> 00:16:27,920
So I'm open to the PDF so that we take a look at it.

218
00:16:32,020 --> 00:16:40,360
So there's the PDF, the project name and DMC you chose, as well as the date, all of it exists and

219
00:16:40,990 --> 00:16:42,160
this is the pin out.

220
00:16:48,550 --> 00:16:51,520
And your core configuration is also included here.

221
00:16:53,570 --> 00:17:00,540
As well as the other setups that you have, the RACC set up values, we find him here to suggest to

222
00:17:00,560 --> 00:17:03,340
you that everything is included here.

223
00:17:03,740 --> 00:17:05,960
So there's the report, right.

224
00:17:06,830 --> 00:17:10,090
So that's a quick overview of the estimate that it took.

225
00:17:10,100 --> 00:17:10,840
That makes five.

226
00:17:10,850 --> 00:17:14,990
If you have any questions at all, just send me a message or leave in the questions area and I shall

227
00:17:14,990 --> 00:17:16,320
see you in the next lesson.

228
00:17:16,340 --> 00:17:17,140
Have a nice day.
