1
00:00:00,960 --> 00:00:01,300
Hello.

2
00:00:01,320 --> 00:00:02,520
Welcome back.

3
00:00:02,520 --> 00:00:08,060
In this lesson we shall give a quick overview of estimate that 32 Cuban mix.

4
00:00:08,100 --> 00:00:12,590
Okay so my Cuban makes us open over here to create on your projects.

5
00:00:12,630 --> 00:00:19,110
I can just click I can open existing project if I had existing projects that will be listed here but

6
00:00:19,110 --> 00:00:26,310
I do not have a need so there is nothing here I can start from access MCU selector access Booth selector

7
00:00:26,950 --> 00:00:29,120
or access cross selector.

8
00:00:29,440 --> 00:00:30,310
Right.

9
00:00:30,330 --> 00:00:34,200
One other key point is the um 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 projects and a list of recent projects if we have a need.

11
00:00:40,800 --> 00:00:47,460
We've got a Windows type and this allows us to set the um the font size etc. and then we've got this

12
00:00:47,460 --> 00:00:51,860
one this very important one to help one when you click on Help top.

13
00:00:51,870 --> 00:00:55,980
You can check for updates you can manage embedded software packages.

14
00:00:55,980 --> 00:00:59,700
Let's say you want to install a b l e for Bluetooth Low Energy.

15
00:00:59,700 --> 00:01:05,250
If you want a store a Bluetooth Low Energy package or some other package you've got to come to manage

16
00:01:05,320 --> 00:01:11,400
embedded software packages to do that and you can set your user preferences by clicking over here as

17
00:01:11,400 --> 00:01:12,120
well.

18
00:01:12,250 --> 00:01:20,220
Over here you can give consent for data to be sent to SD microelectronics to sort of monitor the usage

19
00:01:20,220 --> 00:01:24,570
of Cuba it makes in order to improve the product as it is written over here.

20
00:01:24,600 --> 00:01:31,190
If you don't want to do that you can simply on check this right and you can check for updates as well

21
00:01:31,200 --> 00:01:32,500
by clicking this.

22
00:01:32,580 --> 00:01:35,010
So I'm gonna start a new project by coming over here.

23
00:01:35,010 --> 00:01:37,940
Access to board selector click here.

24
00:01:44,120 --> 00:01:52,810
It's open in the first time so it's taken a while it's still got certain things to download and on zip

25
00:01:54,390 --> 00:01:55,470
it's quickly doing that

26
00:02:04,710 --> 00:02:05,610
and it's opened.

27
00:02:06,990 --> 00:02:07,860
So here we are.

28
00:02:08,250 --> 00:02:11,950
We've got our various development boards over here.

29
00:02:12,000 --> 00:02:13,860
We've called the discovery boards

30
00:02:16,760 --> 00:02:18,410
different types cross.

31
00:02:18,450 --> 00:02:19,830
Amanda Porter selector.

32
00:02:19,850 --> 00:02:25,740
If I want to select just the MCU Chip I can click over here and simply search the chip.

33
00:02:25,800 --> 00:02:30,920
I'll see m 32 4 1 1 and then it will list.

34
00:02:30,920 --> 00:02:33,740
And when you check here it keeps the parameter.

35
00:02:33,750 --> 00:02:40,130
It keeps the price range as well over here the price starts from two point to eighty four two three

36
00:02:40,130 --> 00:02:41,060
point four five.

37
00:02:41,060 --> 00:02:45,920
I can reduce the price range if I can afford all of this to reduce the options.

38
00:02:45,920 --> 00:02:50,840
These are the options that I have if I want the price to be within this range.

39
00:02:51,170 --> 00:02:52,420
Right.

40
00:02:52,920 --> 00:02:58,340
Because the kingdom makes a setup from you know prototyping to development such that you have a clear

41
00:02:58,340 --> 00:03:01,340
picture of where you are dealing with right here as well.

42
00:03:01,340 --> 00:03:04,510
It gives the peripherals I feel I bought on a particular port.

43
00:03:04,520 --> 00:03:13,810
We can filter by peripherals as well so should I say I want I want to EDC these and other platforms

44
00:03:13,850 --> 00:03:20,260
I can just enable them and hit enter and Cuban makes you suggest the MSE use that I can use.

45
00:03:21,010 --> 00:03:23,450
So let's see you can select by core as well.

46
00:03:23,450 --> 00:03:28,730
This one day I type this acoustics except for that is why I just call tech's voice highlighted I can

47
00:03:28,730 --> 00:03:34,190
delete this such that I'll let Cuban mics make their choice for me I'm gonna select cortex M 33 over

48
00:03:34,190 --> 00:03:37,690
here and it gives me the options.

49
00:03:37,700 --> 00:03:45,380
These are the options and these are the preference available as well right to this for the MCU selector.

50
00:03:45,380 --> 00:03:52,700
Let's see how the takes M7 I've included critics M7 and it's increased my list and we can check for

51
00:03:52,700 --> 00:04:00,460
the lines or by here whether we want f 1 series f 0 series etc. and then okay.

52
00:04:00,610 --> 00:04:10,520
That's what I meant by the lines F1 f 0 etc and then the prize the package as well you can select the

53
00:04:10,520 --> 00:04:17,090
package if you are into designing your own BCBS you can filter by packages as well right.

54
00:04:17,960 --> 00:04:26,180
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,210 --> 00:04:31,170
the nuclear f for 1 1 ft EDT.

56
00:04:31,620 --> 00:04:34,330
There is the new clue f for 1 one over here.

57
00:04:34,460 --> 00:04:36,150
Just double click this.

58
00:04:36,470 --> 00:04:37,890
And when you highlight it.

59
00:04:38,090 --> 00:04:41,350
It tells you gives you the specifications of the port.

60
00:04:41,690 --> 00:04:44,900
If it's obsolete it would tell you it's obsolete.

61
00:04:44,900 --> 00:04:45,890
But this is active.

62
00:04:45,890 --> 00:04:50,060
Therefore it is written in a market price that retail prices move up here.

63
00:04:50,060 --> 00:04:57,390
This is 13 dollars and the futures of the board is listed right here or are listed over here.

64
00:04:57,440 --> 00:05:04,940
I should say and if you want access to the data sheet as well as other documentation you can click these

65
00:05:04,940 --> 00:05:06,800
types over here to take a look at them.

66
00:05:07,610 --> 00:05:11,740
Okay so once I've highlighted I can double click it or just click starts.

67
00:05:11,750 --> 00:05:13,940
Project over here like this.

68
00:05:14,750 --> 00:05:20,570
And when you select a board it would ask you what you want to initialize or pair fields with default

69
00:05:20,570 --> 00:05:20,910
mode.

70
00:05:20,910 --> 00:05:21,800
I'll click yes

71
00:05:27,070 --> 00:05:29,710
and it's setting up the project

72
00:05:33,690 --> 00:05:35,940
Okay so that's what it looks like.

73
00:05:37,080 --> 00:05:39,610
So those I want nuclear MCU are here.

74
00:05:39,630 --> 00:05:46,200
These are the default setups and we've got the push button enabled for us.

75
00:05:46,200 --> 00:05:55,800
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

76
00:05:55,800 --> 00:06:02,590
we've got other things with regards to the serial wire interface and Dethklok settings.

77
00:06:03,420 --> 00:06:09,070
Okay so that's known as the pin out of you.

78
00:06:09,120 --> 00:06:13,960
We've got a pin out and configuration tab over here with click to set a pin.

79
00:06:13,980 --> 00:06:17,490
Let's say I want to set a as an output pin.

80
00:06:17,490 --> 00:06:23,110
I will simply click this and select GPL output and it becomes an output pin.

81
00:06:23,130 --> 00:06:29,100
Let's say I want to rename this right click this and see to use a label.

82
00:06:29,100 --> 00:06:31,720
I can simply call this my output.

83
00:06:32,490 --> 00:06:35,100
And then it becomes an output to be as simple as that.

84
00:06:35,130 --> 00:06:37,310
If I want to set it to a different type of pin.

85
00:06:37,320 --> 00:06:41,220
I simply click and select the type that I want.

86
00:06:41,220 --> 00:06:47,910
This is known as the s known as the pin out pin out and configuration view.

87
00:06:47,910 --> 00:06:53,790
Right and I can drag and click and hold too drunk to move it around.

88
00:06:54,060 --> 00:06:55,250
It's allowable to do that.

89
00:06:55,260 --> 00:06:59,020
I can zoom in I can zoom out.

90
00:06:59,020 --> 00:07:02,070
I can rotate if I want.

91
00:07:02,070 --> 00:07:02,840
Right.

92
00:07:02,880 --> 00:07:06,710
Okay so there's the pin out view and we have these.

93
00:07:06,930 --> 00:07:17,290
So you know in microcontroller setup when we select a pin we've got to do further photo configurations.

94
00:07:17,310 --> 00:07:24,360
And what I mean by this is to setup two sets up something like a queue at a you.

95
00:07:24,440 --> 00:07:30,660
It's an alternate function on the MCU meaning we take a GPL European pin and then we set it alternate

96
00:07:30,690 --> 00:07:33,910
function as you but before we are able to use it.

97
00:07:33,930 --> 00:07:37,590
So for instance if I want to say this as you said it's done over here.

98
00:07:37,590 --> 00:07:45,450
After I have selected it as you but I've got to come over here and configure its alternate function.

99
00:07:45,450 --> 00:07:53,500
So under system call over here we are given you know we are given options to figure out what GPL you

100
00:07:53,940 --> 00:07:59,880
and these often we wouldn't talk much about these we just explained them when we require them RCC over

101
00:07:59,880 --> 00:08:02,420
here is the bits that don't forget these lines.

102
00:08:02,490 --> 00:08:09,600
Clock high speed extend or when I use under so we are saying bypass or we can simply say disable as

103
00:08:09,610 --> 00:08:12,890
I click disable you realize that this chain to yellow.

104
00:08:13,090 --> 00:08:19,570
But I can see bypass which is its default mode is back to green and low speed extend or here.

105
00:08:19,590 --> 00:08:21,800
Thus we are using a crystal for it.

106
00:08:21,900 --> 00:08:26,570
So we find disturbing that you see that it's been to get disabled from here.

107
00:08:26,820 --> 00:08:30,000
So as I click the saber it becomes yellow right.

108
00:08:30,000 --> 00:08:37,380
Yellow means you've set the GPL you've gotta go and do its actual alternate function configuration.

109
00:08:37,380 --> 00:08:41,460
So whenever you see a pin that's yellow it's means it sets up is incomplete.

110
00:08:42,120 --> 00:08:46,440
So I'll see you use ceramic and then it's back to green.

111
00:08:47,520 --> 00:08:48,240
Right.

112
00:08:48,330 --> 00:08:55,490
And then I stop over here to somewhere where I can disable it.

113
00:08:55,590 --> 00:08:57,850
I'll show you that is on the other side.

114
00:08:57,870 --> 00:09:01,890
I just disabled it when I see it use 0 wire 10.

115
00:09:01,950 --> 00:09:03,510
Back to Green.

116
00:09:03,510 --> 00:09:04,460
Right.

117
00:09:04,590 --> 00:09:08,860
And this you can still disable the pin by selecting reset.

118
00:09:09,790 --> 00:09:11,740
Okay right.

119
00:09:11,820 --> 00:09:18,180
And with tops here for other configuration if we want analog configuration for our ADC we simply click

120
00:09:18,220 --> 00:09:20,690
on a lock and then we select our ADC.

121
00:09:20,700 --> 00:09:29,280
This MCU has a single ADC module but the single module has about sixteen channels so if we want an ADC

122
00:09:29,580 --> 00:09:31,410
This is where the configuration will be done.

123
00:09:31,410 --> 00:09:36,510
But we're not using an ADC now so ADC is under analogue.

124
00:09:36,630 --> 00:09:43,830
We've got timers and this tab allows us to configure our various general purpose timers as well as a

125
00:09:44,220 --> 00:09:45,980
real time clock.

126
00:09:46,050 --> 00:09:47,840
We've got connectivity as well.

127
00:09:47,850 --> 00:09:57,120
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.

128
00:09:57,120 --> 00:10:02,070
That is why it is green and that is why we've got it correct or take over here.

129
00:10:02,070 --> 00:10:08,000
So to see the configuration or to change the configuration or simply click here and as you can see it

130
00:10:08,000 --> 00:10:11,780
says mode is synchronous and then hardware flow control disable.

131
00:10:11,910 --> 00:10:12,660
Okay.

132
00:10:12,690 --> 00:10:20,640
When I disable this when I come over here mode and disable it when I come over here and change it or

133
00:10:20,640 --> 00:10:27,210
disable it you'll see that these pins will be affected because these pins the ones connected to the

134
00:10:27,220 --> 00:10:27,910
U.

135
00:10:28,300 --> 00:10:35,840
Let's say I go a single wire you see now we've disabled our slide shows that the IRS is back to yellow

136
00:10:35,840 --> 00:10:38,060
meaning its configuration is incomplete.

137
00:10:38,060 --> 00:10:43,410
Single white or half duplex means just one direction communication.

138
00:10:43,540 --> 00:10:54,220
Go back to asynchronous and then this is here and the configuration of the actual ADC or the actual

139
00:10:54,230 --> 00:10:54,630
you.

140
00:10:54,680 --> 00:10:57,410
I should say down here things like to portray.

141
00:10:57,440 --> 00:11:00,200
We can change over here to Redlands.

142
00:11:00,230 --> 00:11:01,120
We can change it.

143
00:11:01,130 --> 00:11:05,860
Select the pirate t the data direction etc..

144
00:11:05,880 --> 00:11:15,090
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

145
00:11:15,100 --> 00:11:15,650
these pingers.

146
00:11:15,650 --> 00:11:22,250
They got added here automatically and whether we want to set ADC interrupt we come to in fixed settings

147
00:11:23,390 --> 00:11:27,980
and fixed terms for nets that effect or interrupt controller.

148
00:11:27,980 --> 00:11:35,290
So yeah so connectivity provides us access to a wide connectivity modules and these are the the I to

149
00:11:35,290 --> 00:11:37,080
see DSP and you.

150
00:11:37,820 --> 00:11:38,290
Okay.

151
00:11:38,330 --> 00:11:39,840
The next one is multimedia.

152
00:11:39,980 --> 00:11:44,360
We have a two s over here which we can use for sound and other things.

153
00:11:44,420 --> 00:11:50,500
We've got computing and we've got this module known as the C I mean into cyclic redundancy check.

154
00:11:50,660 --> 00:11:56,290
We can use that as well if we want to add a metal word such as a file system.

155
00:11:56,300 --> 00:12:00,220
We've got fats efforts that we can include here.

156
00:12:00,350 --> 00:12:06,150
We can also include a real time operating system like our toes and we can include the embed.

157
00:12:06,170 --> 00:12:10,490
Tell us if we want as well as USP devices right.

158
00:12:10,520 --> 00:12:14,900
So these we talk about them deeper when we are using them.

159
00:12:14,980 --> 00:12:21,590
The next step up here is known as the clock configuration so we can simply click here and this gives

160
00:12:21,590 --> 00:12:24,680
us a few of our clock.

161
00:12:24,680 --> 00:12:28,640
We can um we can increase the clock frequency.

162
00:12:28,640 --> 00:12:33,380
It says over here that Max is a hundred megahertz so we've got to keep that in mind and we can know

163
00:12:33,380 --> 00:12:36,330
the clock for our various bedfellows.

164
00:12:36,350 --> 00:12:41,480
For instance over here it tells us that the clock for what time is the time is connected to the input

165
00:12:41,510 --> 00:12:51,000
be 1 The APB 1 bus clock currently is set at eighty four megahertz the clock to do cortex system time

166
00:12:51,030 --> 00:12:57,980
assisted time is clock is eighty four etc. So over here we have exactly the values that our fair buried

167
00:12:57,980 --> 00:13:00,080
fields would have for their clocks.

168
00:13:00,170 --> 00:13:05,660
So let's say I want to increase the clock to 100 I simply need to type one hundred here.

169
00:13:05,690 --> 00:13:12,480
Hit enter and it's going to configure everything appropriately and it's sort of free I arranged everything.

170
00:13:12,650 --> 00:13:20,060
And frankly that too we can see I use the high speed internal edge as I hear storms for high speed internal

171
00:13:20,340 --> 00:13:24,770
remember I know what sets up we say it bypass high speed extend or HFC.

172
00:13:24,830 --> 00:13:28,070
That is why this is selected high speed in 10 on this being used.

173
00:13:28,880 --> 00:13:37,260
And we are also using low speed external right of using low speed extend.

174
00:13:37,450 --> 00:13:46,780
Let's see uh.

175
00:13:47,650 --> 00:13:55,730
So we said low speed external use this ceramic ceramic resonator and I think there is a ceramic resonator

176
00:13:55,760 --> 00:14:00,670
or oscillator on our PCV on a white microcontroller board I should say.

177
00:14:00,670 --> 00:14:00,960
Okay.

178
00:14:01,000 --> 00:14:09,040
So that's a quick overview of the clock tab and then the next top let's see us there's this 2s here

179
00:14:09,130 --> 00:14:14,790
which you use for checking the um the Polycom assumptions and other things with regards to your your

180
00:14:14,800 --> 00:14:24,250
board the final tab in the in the process is to click the project manager tab and over here you can

181
00:14:24,250 --> 00:14:26,310
give your project a name.

182
00:14:26,770 --> 00:14:32,240
I'll call this simple and then you can decide on the tool chain you want to use.

183
00:14:32,770 --> 00:14:43,060
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.

184
00:14:43,090 --> 00:14:48,700
So this allows me to generate code for various ideas and you can come over here.

185
00:14:48,730 --> 00:14:52,460
This is the project that's another type the court code generator.

186
00:14:54,450 --> 00:14:58,080
It says the project's location cannot be empty.

187
00:14:58,120 --> 00:15:02,830
So we've gotta give a location for a project.

188
00:15:04,870 --> 00:15:05,980
Let's see.

189
00:15:11,580 --> 00:15:12,600
A creative photo code.

190
00:15:12,600 --> 00:15:13,310
Cuba makes

191
00:15:19,060 --> 00:15:21,480
Okay so right.

192
00:15:21,520 --> 00:15:27,840
So let's say we want to generate a project for SDM 32 to cube IDC like this.

193
00:15:27,880 --> 00:15:30,050
And then there's the code generator here.

194
00:15:30,310 --> 00:15:37,150
And over here you can take such that your files are separated into the various dots H and C files.

195
00:15:37,150 --> 00:15:40,170
I often do this or you simply tick here like this.

196
00:15:41,650 --> 00:15:47,410
And then once you've selected the IP you wish to use you can simply click generate and it would generate

197
00:15:47,410 --> 00:15:48,040
it for you.

198
00:15:48,760 --> 00:15:55,000
We'll see how that works when we start dealing with actual projects and there isn't much any more we

199
00:15:55,000 --> 00:15:56,710
can also generate a report.

200
00:15:56,710 --> 00:16:04,090
Over here we can generate a report for our setup simply come to file generate the report right here

201
00:16:04,990 --> 00:16:07,130
and then we'll do like to create the project first.

202
00:16:07,160 --> 00:16:07,790
I'll click here.

203
00:16:07,870 --> 00:16:10,440
Because the project hasn't been created yet.

204
00:16:10,450 --> 00:16:10,690
OK.

205
00:16:10,710 --> 00:16:18,430
A report has been generated so I'm going to open the folder and the report comes in to form out does

206
00:16:18,430 --> 00:16:25,110
the text file as well as a PD f encapsulating all these elections you made.

207
00:16:25,260 --> 00:16:27,820
So I'm open into PBF so that we take a look at it.

208
00:16:32,060 --> 00:16:40,070
So there's the PDA of the project name and DMC you you chose as well as the dates all of it exists.

209
00:16:41,030 --> 00:16:42,170
This is the pin out

210
00:16:48,660 --> 00:16:57,120
and your clock configuration is also included here as well as the other setups that you have the RCC

211
00:16:57,120 --> 00:16:59,400
sets up values you find them here.

212
00:16:59,400 --> 00:17:01,780
This is the art.

213
00:17:02,010 --> 00:17:03,350
Everything is included here.

214
00:17:03,780 --> 00:17:05,550
So this that report.

215
00:17:05,610 --> 00:17:06,820
Right.

216
00:17:06,900 --> 00:17:10,850
So that's a quick overview of the SDM data to keep makes five.

217
00:17:10,860 --> 00:17:15,150
If you have any questions at all just send me a message or leave in the questions area and I shall see

218
00:17:15,150 --> 00:17:16,320
you in the next lesson.

219
00:17:16,320 --> 00:17:17,120
Have a nice day.
