1
00:00:02,320 --> 00:00:07,840
Hello, welcome back in the section, we are going to take a look at the broad support package of the

2
00:00:07,840 --> 00:00:09,820
SDM 32 efore board.

3
00:00:10,240 --> 00:00:14,420
The assignment's shall be based on the disco board for the initial videos.

4
00:00:14,980 --> 00:00:20,770
However, the very last video of this section shall point out the differences that need to be made for

5
00:00:20,770 --> 00:00:21,950
the nuclear board.

6
00:00:22,610 --> 00:00:28,840
Also, you can download the source project for the Nuclear PSP as well as the disco PSP at the end of

7
00:00:28,840 --> 00:00:29,460
the lesson.

8
00:00:30,250 --> 00:00:37,930
Remember, the essence of this section is not to master SDM 32 for driver development, but to give

9
00:00:37,930 --> 00:00:44,470
a quick overview of some peripheral APIs we will use in this course and also demonstrate the benefits

10
00:00:44,470 --> 00:00:46,210
of using a broad support package.

11
00:00:47,140 --> 00:00:52,870
That being said, if you wish to understand how any of these peripheral drivers was written, you can

12
00:00:52,870 --> 00:00:55,930
send me a message and I'll be glad to take you through the steps.

13
00:00:56,740 --> 00:01:01,540
So I'm going to create a new project by clicking over here project new project.

14
00:01:01,690 --> 00:01:12,370
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

15
00:01:13,090 --> 00:01:13,780
PSP.

16
00:01:14,770 --> 00:01:17,800
And within the folder I can name the project.

17
00:01:17,800 --> 00:01:24,100
I keep the project in the folder estimated to have four quarters PSP.

18
00:01:24,400 --> 00:01:28,270
So I'm using the Stamford's to F for one one V.

19
00:01:31,490 --> 00:01:35,390
So I select the board and over here.

20
00:01:37,170 --> 00:01:43,710
When I using the broad support package provided by the electronics, we just need to Simms's call.

21
00:01:44,820 --> 00:01:46,560
And under startup, we need.

22
00:01:48,750 --> 00:01:56,610
And the device will start up later on, we shall come here to add more peripherals, so I just click,

23
00:01:56,610 --> 00:01:59,340
OK, and I'm going to create my target.

24
00:01:59,340 --> 00:02:06,060
My target is the estimated to F for the scoreboard as the M 32 for.

25
00:02:07,880 --> 00:02:08,510
Disko.

26
00:02:11,690 --> 00:02:22,010
And over here, I'm going to add the source group or rename it to Artist Tbsp Artist Hyphen Vesp.

27
00:02:25,250 --> 00:02:28,040
And now I can create my files, so I'm going to create.

28
00:02:29,010 --> 00:02:35,260
I don't see five to show the implementation, how the system does what it does.

29
00:02:35,280 --> 00:02:40,950
Like we discussed and taught each file to explain what the system does.

30
00:02:41,340 --> 00:02:45,870
But before I do that, I'm just going to create a file here called Abstract.

31
00:02:46,260 --> 00:02:51,660
And in this file, I'm going to list out the PIN arrangement so that we can always refer to this file

32
00:02:51,660 --> 00:02:55,140
when we want to connect hardware to our microcontroller board.

33
00:02:56,040 --> 00:03:01,680
I'm going to go to add new item, and this is a text file and I'm going to call it abstract.

34
00:03:02,280 --> 00:03:07,130
So I'll just give a quick overview of some of the features of our ports support package.

35
00:03:07,620 --> 00:03:14,970
We're going to provide for GPO pins to be used as props for what we're going to use this pins for is

36
00:03:15,000 --> 00:03:20,940
we're going to place these pins, as you would see in the practical lesson, going to place this in

37
00:03:20,940 --> 00:03:23,610
the various threads that we were right.

38
00:03:23,880 --> 00:03:30,390
And if we want to verify the frequency of the thread is where we've set it to be, we just probe this

39
00:03:30,390 --> 00:03:30,750
pin.

40
00:03:31,290 --> 00:03:33,480
So we're going to call these pins probes.

41
00:03:33,990 --> 00:03:41,100
And after that, we're going to initialize the arm the spy to connect our LCD screen to it and then

42
00:03:41,100 --> 00:03:43,050
we shall initialize the ATCs.

43
00:03:43,050 --> 00:03:43,420
Well.

44
00:03:43,710 --> 00:03:50,760
So these are the hardware interfaces that will be connecting the external devices to be apart from that

45
00:03:50,760 --> 00:03:58,200
internally we show initialize for general-purpose time is to provide interrupt and also to create delay

46
00:03:58,200 --> 00:03:59,250
functions for us.

47
00:03:59,760 --> 00:04:01,800
And we shall look at more as we do it.

48
00:04:01,830 --> 00:04:03,030
So let's get started.

49
00:04:04,290 --> 00:04:09,030
We'll start from the top by defining the assignment of the disco board.

50
00:04:10,320 --> 00:04:18,450
So I just say this assignment just put this here like this, which I initialised GPI or Potsy, and

51
00:04:18,450 --> 00:04:23,820
then we show initialise Peine zero, one, two, three, and we shall call them Proops zero, poop one,

52
00:04:23,820 --> 00:04:28,230
poop two, three, and would do that very soon.

53
00:04:28,590 --> 00:04:32,940
And then for the ADC, we show initialise ADC one, Channel four.

54
00:04:33,120 --> 00:04:37,650
And this is connected to the it's connected to pay four.

55
00:04:38,490 --> 00:04:44,850
And then for the graphic display, like I said, if you have the graphic display, that's fine, we

56
00:04:44,850 --> 00:04:45,930
can practice with it.

57
00:04:45,930 --> 00:04:51,960
If you don't, you perfectly understand discourse and implement what we implement here without using

58
00:04:51,960 --> 00:04:52,740
this hardware.

59
00:04:52,860 --> 00:04:59,610
But if you have one, the one that I call is the SD seven seven three five and it's called five pins

60
00:04:59,610 --> 00:05:02,990
that need to be connected to the microcontroller board.

61
00:05:03,000 --> 00:05:07,680
It's called the Stupenda in the Iris, the DC.

62
00:05:07,680 --> 00:05:11,430
And then to see this, if you have this hardware and you check the back.

63
00:05:12,920 --> 00:05:19,700
These are these are the names you find there, so this all we need for the hardware interface that will

64
00:05:19,700 --> 00:05:26,150
be connected to our estimate, 32 F for the school board and for the nuclear board is exactly the same

65
00:05:26,150 --> 00:05:26,750
hardware.

66
00:05:26,990 --> 00:05:30,330
However, the assignment is different.

67
00:05:31,100 --> 00:05:36,980
Remember, the disco and the nuclear have the same microcontroller, but not all Europeans are exposed

68
00:05:36,980 --> 00:05:38,090
on both boards.

69
00:05:38,270 --> 00:05:44,680
So on the nuclear board, we shall connect our probes to cheaper ports a and we're going to use eight,

70
00:05:44,680 --> 00:05:46,760
eight, nine, eight and 11.

71
00:05:47,060 --> 00:05:51,860
And the Edison remains the same and the and the LCD shall be connected here.

72
00:05:52,400 --> 00:05:58,860
So one thing you should note is that this pin out is not a pin out that is actually printed on the board.

73
00:05:58,880 --> 00:06:03,240
No, it's not that this PIN artist where you find in the user manual.

74
00:06:03,530 --> 00:06:10,220
And when we start developing the tbsp for the nuclear, I'll show you to use a manual and how the how

75
00:06:10,220 --> 00:06:12,120
the penult is shown there.

76
00:06:12,920 --> 00:06:14,990
So that's done.

77
00:06:14,990 --> 00:06:21,920
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

78
00:06:21,920 --> 00:06:22,340
do the.
