1
00:00:00,060 --> 00:00:07,230
Lobbied condition is successful, will just go ahead and try to exploded into doing so will be programming

2
00:00:07,260 --> 00:00:08,910
Ibeju from instigates.

3
00:00:08,910 --> 00:00:12,630
It will go to an export and then will choose export.

4
00:00:12,630 --> 00:00:16,560
Typekit will also be including a bit and then will to.

5
00:00:17,580 --> 00:00:21,380
The next step is to again go to a fight and launch in history, right?

6
00:00:21,390 --> 00:00:25,080
So we'll be using the Space Deploy to approach it.

7
00:00:25,380 --> 00:00:27,490
Then we'll proceed with stick.

8
00:00:28,620 --> 00:00:34,920
OK, so we already have our high risk specification that now the next thing is to create a new application

9
00:00:34,920 --> 00:00:43,170
project, so go to file new application project and will you just be naming this as GPO EMI, right?

10
00:00:43,560 --> 00:00:47,100
And then the template that will be utilizing is again, an halloway.

11
00:00:47,910 --> 00:00:53,430
So once you create a new application project, you get this and this file open by default, and this

12
00:00:53,430 --> 00:01:00,560
is really helpful to know the specific driver that we want to utilize for the GPI that we have added,

13
00:01:00,590 --> 00:01:00,780
right?

14
00:01:00,790 --> 00:01:06,560
So if you just schooland an analyst, yes, seven GPI zero.

15
00:01:06,570 --> 00:01:11,280
So the specific set of four driver that we need to utilizes GPI.

16
00:01:11,520 --> 00:01:12,270
Yes, right.

17
00:01:12,600 --> 00:01:18,000
So what we need to do is you need to just add an X and then that will give us an access to a drive say

18
00:01:18,050 --> 00:01:18,290
so.

19
00:01:18,300 --> 00:01:22,140
Let it just go ahead and try to open our Halliwell Dot C.

20
00:01:23,640 --> 00:01:27,060
OK here will proceed with asking.

21
00:01:27,100 --> 00:01:32,320
Look, we already know that the driver that we require this x GPIO.

22
00:01:32,970 --> 00:01:33,570
Yes.

23
00:01:34,500 --> 00:01:43,350
So once you do this, just see code and try to see whether you whether it's able to invoke this library.

24
00:01:43,650 --> 00:01:50,190
So if you do not find any error and be successful, that this basically represent that this driver is

25
00:01:50,190 --> 00:01:51,180
present in an.

26
00:01:51,690 --> 00:01:51,960
Right.

27
00:01:52,260 --> 00:01:57,210
So we'll just click F3 to explore the content of a library, right?

28
00:01:57,420 --> 00:02:01,460
Again, this will follow the same procedure that we have for other Typekit, right?

29
00:02:01,470 --> 00:02:02,790
So we'll first.

30
00:02:04,190 --> 00:02:05,760
Look up for our device.

31
00:02:05,780 --> 00:02:09,620
OK, from our configuration table by utilizing look up config.

32
00:02:09,800 --> 00:02:16,060
OK, and then we'll be utilizing CMG initialize OK to initialize GPI.

33
00:02:16,070 --> 00:02:20,850
And then we have been specific APIs over here, right?

34
00:02:20,870 --> 00:02:24,770
So we'll just be performing them when we work with the API.

35
00:02:24,860 --> 00:02:25,610
Yes, OK.

36
00:02:25,910 --> 00:02:28,400
So you need to set the direction.

37
00:02:28,440 --> 00:02:28,820
OK.

38
00:02:28,850 --> 00:02:31,400
This is one of an epidemic of utilizing.

39
00:02:31,640 --> 00:02:34,790
And then you have to set an output rate.

40
00:02:34,790 --> 00:02:41,840
So when we working around with an LCD, we do need to specify the duration and we need to enable an

41
00:02:41,840 --> 00:02:42,070
output.

42
00:02:42,200 --> 00:02:43,970
Is that the two things that we need to do?

43
00:02:44,360 --> 00:02:48,200
And then we could ride the value that we want utilizing the right.

44
00:02:48,380 --> 00:02:48,650
Right.

45
00:02:48,860 --> 00:02:51,650
So when we consider an e-mail to the spin.

46
00:02:53,390 --> 00:02:59,780
Act 50, four eight zero two five three, we have an email and the first bin is at 54, so you're required

47
00:02:59,780 --> 00:03:01,430
to specify that on, right?

48
00:03:01,670 --> 00:03:07,760
Remember, the first bin for your mail will always start at 50, so let's just go ahead and try to develop

49
00:03:07,760 --> 00:03:08,430
an application.

50
00:03:08,460 --> 00:03:08,810
All right.

51
00:03:08,820 --> 00:03:11,110
So we already included the driver that we required.

52
00:03:11,750 --> 00:03:14,690
So very quick to point to structures over here.

53
00:03:14,690 --> 00:03:17,150
First one will be the.

54
00:03:18,400 --> 00:03:21,030
The Triber instance data, which is ex.

55
00:03:21,890 --> 00:03:23,150
Yes, so we'll just copy it.

56
00:03:23,480 --> 00:03:23,800
OK.

57
00:03:24,100 --> 00:03:27,570
And then we'll be adding it to work here so this will not be appointed.

58
00:03:27,650 --> 00:03:29,860
OK, will just be adding this as.

59
00:03:31,240 --> 00:03:31,570
OK.

60
00:03:31,960 --> 00:03:34,810
The second one is the config structure.

61
00:03:34,820 --> 00:03:37,180
So here we have on fixed structure.

62
00:03:37,480 --> 00:03:39,850
We'll just copy and this will be pointed, right?

63
00:03:40,870 --> 00:03:43,900
So this will be winter and this will do led.

64
00:03:45,150 --> 00:03:45,860
Conflict.

65
00:03:47,830 --> 00:03:48,060
OK.

66
00:03:49,240 --> 00:03:54,760
So we added the first Dubai, for instance, structure and then conflict such right?

67
00:03:54,790 --> 00:03:56,440
These are the two things that we need to do.

68
00:03:56,740 --> 00:04:02,070
We start with an innate function that will be helpful in initializing are very friendly.

69
00:04:02,080 --> 00:04:04,960
So White will just be naming it as in it.

70
00:04:05,060 --> 00:04:05,410
OK.

71
00:04:05,770 --> 00:04:11,230
And then first thing for initialization of devices to look for our device.

72
00:04:11,540 --> 00:04:11,800
Right.

73
00:04:11,800 --> 00:04:14,260
So the function or API that we have is.

74
00:04:15,530 --> 00:04:22,610
Look up conflicts, so we'll just cop it, and then this will be connected to alleged conflict.

75
00:04:23,000 --> 00:04:23,300
Right.

76
00:04:23,600 --> 00:04:31,370
This week was to the conflict and you need to specify the device so how you find a device IED.

77
00:04:31,760 --> 00:04:35,330
Just go ahead and try to include x parameters.

78
00:04:37,070 --> 00:04:43,760
Daughter trait, this gives an access to and tied information related to the petty theft, and so just

79
00:04:43,760 --> 00:04:45,040
go ahead and click SD.

80
00:04:45,770 --> 00:04:53,310
So here if you just search for pill, so this will take us to the GP, B.S. institutes, right?

81
00:04:53,330 --> 00:04:55,220
And this is the device that we have.

82
00:04:55,220 --> 00:04:59,930
So we'll just copy this will go back to our code and will add this over here.

83
00:05:00,160 --> 00:05:07,170
Right now, this will give us an access to up reset rate, which is required for the GPI Owens's that

84
00:05:07,210 --> 00:05:08,090
we created, right?

85
00:05:08,630 --> 00:05:13,460
The next thing that we will do is to utilize CFD initialize, right?

86
00:05:13,460 --> 00:05:15,350
So this is the function that we have.

87
00:05:15,620 --> 00:05:17,240
It requires three arguments again.

88
00:05:17,300 --> 00:05:19,220
First, one is an instance.

89
00:05:19,520 --> 00:05:22,690
Second one is the conflict pointer.

90
00:05:22,910 --> 00:05:24,620
And then the last one is, Hemby said.

91
00:05:24,860 --> 00:05:24,990
So.

92
00:05:25,200 --> 00:05:31,770
So we said, does this president configured set or you could copy the state for my next parameter darknet.

93
00:05:32,170 --> 00:05:33,320
Both the methods are fine.

94
00:05:33,680 --> 00:05:35,180
We just added, We're here.

95
00:05:36,170 --> 00:05:36,500
OK.

96
00:05:36,530 --> 00:05:37,880
First document is to.

97
00:05:38,770 --> 00:05:39,890
GPA nonsense.

98
00:05:40,150 --> 00:05:45,970
So that is the point, is it will just specify an address, so this we do like design Goodson.

99
00:05:46,660 --> 00:05:47,020
OK.

100
00:05:47,200 --> 00:05:49,720
And then for us and Instance.new means right.

101
00:05:49,810 --> 00:05:53,250
Second one is the config pointer.

102
00:05:53,260 --> 00:05:55,600
So we just copied and pasted over here.

103
00:05:55,840 --> 00:05:57,580
The last one is to be said.

104
00:05:57,950 --> 00:06:00,730
We could just use our config.

105
00:06:01,750 --> 00:06:05,550
OK, and then in this, we do have these ideas.

106
00:06:06,040 --> 00:06:12,070
So this is one of the methods that we have right now, this will return whether initialization is successful

107
00:06:12,070 --> 00:06:12,430
or not.

108
00:06:13,030 --> 00:06:18,330
So to verify this, OK, what we could do is we could just declare one ready.

109
00:06:18,730 --> 00:06:21,250
We just need to see this, OK?

110
00:06:21,550 --> 00:06:29,920
And we'll be connecting this status to CFD initially, right?

111
00:06:29,920 --> 00:06:32,500
And then we'll just be verifying whether.

112
00:06:33,480 --> 00:06:40,660
We'll just be verifying whether it is successful or not, so we do have the macros for that if state

113
00:06:40,680 --> 00:06:44,040
as is equals to excess key.

114
00:06:45,150 --> 00:06:45,920
Sexist.

115
00:06:46,370 --> 00:06:51,420
OK, that is basically if it returns true, then our initialization is sexist for this, we already

116
00:06:51,430 --> 00:06:51,600
know.

117
00:06:52,320 --> 00:06:56,840
So in that case, we will be utilizing the if.

118
00:06:57,770 --> 00:06:58,130
OK.

119
00:06:58,580 --> 00:07:09,970
And then here we will be mentioning that device, and it is success rate else and it will just be adding

120
00:07:10,130 --> 00:07:11,600
in brain death.

121
00:07:12,460 --> 00:07:14,200
Device in it.

122
00:07:14,710 --> 00:07:21,820
We did help us really to understand where our is feeling, right, so if everything goes fine, really

123
00:07:21,820 --> 00:07:24,080
well to see this message right?

124
00:07:24,100 --> 00:07:25,450
So let me just see cool.

125
00:07:25,930 --> 00:07:26,890
The next thing is.

126
00:07:27,070 --> 00:07:28,880
So when we go to the mean.

127
00:07:28,900 --> 00:07:33,550
So this allows us to detect initialize what and that is what we require.

128
00:07:33,640 --> 00:07:33,930
Right.

129
00:07:33,940 --> 00:07:36,040
Then we'll just be calling in and it function.

130
00:07:36,050 --> 00:07:40,620
So that will also initialize the GPI so that we have right.

131
00:07:41,140 --> 00:07:43,420
Then we proceed with a call.

132
00:07:43,760 --> 00:07:48,890
So we'll set the direction, will enable an output and then continuously will be toggling all the bit.

133
00:07:48,910 --> 00:07:50,350
That is what we call right.

134
00:07:50,770 --> 00:07:51,670
We just go ahead.

135
00:07:51,940 --> 00:07:56,810
The functions that we have, the EPA is that we have for a pin number.

136
00:07:56,980 --> 00:08:02,920
So we already knew that the coup leader work around with the bank or with the pin.

137
00:08:02,920 --> 00:08:06,500
But here we know that EMI start acting number fifty four.

138
00:08:06,730 --> 00:08:08,620
So let it just focus on a pin rate.

139
00:08:08,620 --> 00:08:10,790
So you have an EPA is related to bank.

140
00:08:11,230 --> 00:08:13,930
And you also have an EPA related to PIN, right?

141
00:08:13,930 --> 00:08:16,930
So we'll proceed with an EPA is related to.

142
00:08:17,200 --> 00:08:17,440
Right.

143
00:08:17,800 --> 00:08:20,110
First thing is to set the direction rate.

144
00:08:20,110 --> 00:08:21,730
So if you just click on an F3.

145
00:08:22,990 --> 00:08:30,820
So this said, the direction of a specific thing, so I alluded that 54, 55, 56 and 57 because our

146
00:08:30,820 --> 00:08:32,530
e-mails start at 54, right?

147
00:08:32,950 --> 00:08:35,920
So this could be used to say to the election of a specified been.

148
00:08:36,360 --> 00:08:37,660
OK, and here.

149
00:08:39,070 --> 00:08:40,030
Direction.

150
00:08:41,180 --> 00:08:47,930
Of valid values are zero for an input direction and one for an output direction, and we want to control

151
00:08:47,940 --> 00:08:51,740
energy, so basically they behave as an output board, right?

152
00:08:51,890 --> 00:08:53,860
So we'll just be adding a value of what?

153
00:08:53,870 --> 00:08:55,760
So let it just copy this function.

154
00:08:56,060 --> 00:09:01,270
Now it required for us to achieve by instance, then the pin number and finally direction.

155
00:09:02,120 --> 00:09:02,960
You just go ahead.

156
00:09:03,800 --> 00:09:09,890
So first is that the GPI instance, which we named as an early OK, then the pin number, which is 54,

157
00:09:10,280 --> 00:09:12,830
and we want to set it as an output.

158
00:09:13,190 --> 00:09:13,430
OK.

159
00:09:14,030 --> 00:09:19,520
Similarly, we need to enable, right, so to enable it.

160
00:09:20,240 --> 00:09:25,100
We have a function which we need to set output in.

161
00:09:25,350 --> 00:09:26,600
So if you just explore it.

162
00:09:27,560 --> 00:09:35,300
So this is used to say to the label of the specified dates, you need to manually enable an output and

163
00:09:35,300 --> 00:09:38,900
then only you could see the valid values on an LCD three.

164
00:09:39,550 --> 00:09:44,780
So zero for the sibling output enable and this will be by default rate.

165
00:09:44,800 --> 00:09:46,510
So by default, it will be set at zero.

166
00:09:46,520 --> 00:09:53,620
So you won't be able to see anything unless you enable one for enabling an outbreak.

167
00:09:53,900 --> 00:09:54,770
They just copy this.

168
00:09:54,930 --> 00:09:58,730
They can required an instance, the pin number and the value, right?

169
00:09:59,940 --> 00:10:02,550
So for us, we'll just be adding.

170
00:10:04,170 --> 00:10:06,360
Plus, instance name is a lady.

171
00:10:06,690 --> 00:10:11,820
Then we have a pin number, which is 54, and then we want to enable you great.

172
00:10:11,820 --> 00:10:13,890
So this will enable our first lady.

173
00:10:14,390 --> 00:10:19,340
OK, the next one could just be copied like this.

174
00:10:19,340 --> 00:10:23,270
So we have a full release and the pin number will be implemented by one, right?

175
00:10:23,280 --> 00:10:27,150
So this will be 50 where we have the next EMI open.

176
00:10:27,450 --> 00:10:30,630
Then the next one is fifty six.

177
00:10:31,530 --> 00:10:36,170
OK, and the last thing that we have is fifty seven.

178
00:10:36,180 --> 00:10:41,910
And since all are and output think we do need to apply the same configuration setting, right?

179
00:10:41,910 --> 00:10:49,320
So here we are, initializing our driver and then we also set the data channel will to build them continuously,

180
00:10:49,320 --> 00:10:49,620
right?

181
00:10:49,620 --> 00:10:51,630
So we will just utilize the while one.

182
00:10:52,970 --> 00:10:53,330
OK.

183
00:10:54,900 --> 00:11:02,610
And then to send the values, we must be having an API so you have a right thing, which basically right

184
00:11:02,610 --> 00:11:08,810
the values to the specific number, right, so if you just explode, so this function is used to write

185
00:11:08,820 --> 00:11:14,280
the that was specified means so you just need to add an instance name, then the pin number and delete.

186
00:11:14,280 --> 00:11:17,520
All right, so let me just go ahead and.

187
00:11:18,700 --> 00:11:19,660
Had this right.

188
00:11:20,020 --> 00:11:26,860
So, for instance, you may say Lady PIN number is first one fifty four and we want to write when we

189
00:11:26,860 --> 00:11:31,900
start with one and then we'll wait for some time and then realized, See, right, this is what we're

190
00:11:31,900 --> 00:11:32,970
going to.

191
00:11:34,100 --> 00:11:39,610
So here we just need to change the pin number that is the next one that we have is fifty five.

192
00:11:39,650 --> 00:11:46,020
Then next, when it's fifty six and then fifty seven plus will be sending one to all the beans.

193
00:11:46,100 --> 00:11:53,210
OK, we'll just be waiting for one second, OK, and then we'll be turning all of them off, right?

194
00:11:53,210 --> 00:11:56,710
So let me just go ahead and try to turn them off, right?

195
00:11:56,720 --> 00:12:04,550
So pin number will remain C. We'll just be changing the value to you right again before turning them

196
00:12:04,550 --> 00:12:07,580
all will be waiting for details.

197
00:12:07,790 --> 00:12:07,980
Right.

198
00:12:08,000 --> 00:12:13,600
So this is the simple program that will be executing on and if right.

199
00:12:13,670 --> 00:12:20,150
So what we did was we initially said that you said, OK, then we said the direction and we enable and

200
00:12:20,150 --> 00:12:25,520
our great desire to the two to thing that we need to do because by default, output pen is disabled,

201
00:12:25,940 --> 00:12:28,820
then the next one is we are sending the value.

202
00:12:28,820 --> 00:12:31,600
So for that, you also have a specific EPA.

203
00:12:31,610 --> 00:12:37,700
So we are utilizing the right thing again that we are specifying a pin number instance and the value

204
00:12:37,710 --> 00:12:38,060
rate.

205
00:12:38,600 --> 00:12:43,990
We are waiting for one second and then we are turning them off, right?

206
00:12:44,000 --> 00:12:47,160
So this will give us a cooling effect on all their leads.

207
00:12:47,180 --> 00:12:51,500
That is what we are expecting to learn to see the whole.

208
00:12:51,530 --> 00:12:55,630
It will automatically be OK and this should be successful.

209
00:12:55,640 --> 00:12:59,030
So here you could see everything is understood by an SDK.

210
00:12:59,090 --> 00:13:02,540
The next thing is to turn on the bulb and then connect.

211
00:13:03,350 --> 00:13:10,720
They FPGA to the right, so first thing after this is to program it, so let it just program, and we've

212
00:13:10,730 --> 00:13:14,870
already included Bitstream into any institute data.

213
00:13:14,870 --> 00:13:17,750
This will allow us to program our BJU from an SDK.

214
00:13:18,050 --> 00:13:25,340
So once you see that done late, been all on an FPGA right, we will be running this on and if we do

215
00:13:25,340 --> 00:13:27,350
so, right click run as.

216
00:13:28,410 --> 00:13:34,290
Launch on Harvard and just to analyze the device and the initialization is successful or not, right?

217
00:13:35,580 --> 00:13:40,630
We just be first connecting and sticky, so let me just go click on this st.

218
00:13:41,070 --> 00:13:41,430
OK?

219
00:13:41,640 --> 00:13:47,220
Select Comfort and then click OK, so that you can't go disconnected.

220
00:13:48,090 --> 00:13:51,120
Go ahead and this launch on highway.

221
00:13:51,660 --> 00:13:58,050
So if everything is successful, OK, you could able to see device initialization a successful line

222
00:13:58,050 --> 00:14:01,750
on the board if you analyze you able to see the LCD.

223
00:14:01,770 --> 00:14:02,310
Totally.
