Post Reply 
monic part 1: connecting the display
06-12-2020, 03:08 AM
Post: #3
RE: monic part 1: connecting the display
3) Writing to the display (continued)

The final step before downloading the code to the EVK is to configure the pins on the microcontroller. Press “ConfigTools” at the top of the screen, followed by “Pins” to open the pin configuration tool:

[Image: 49994075513_dc4a1cf3c1_z.jpg]

Then select the “Pins” tab on the left hand side of the screen:

[Image: 49994846517_03a2d161ea_z.jpg]

Scroll down the “Pins” tab to pin number 43 (“GPIO_AD_14”). Select this pin, then select the second option and press “Done”:

[Image: 49994592421_87fc2e5bf5_z.jpg]

This pin will be connected to C/D on the display. Click on the “Identifier” label in the highlighted section at the bottom of the screen and enter “CD_26_08”. Then click on “Direction” and select “Output”:

[Image: 49994592356_b69931a518_z.jpg]

This process is repeated to configure the remaining pins as per the table below:

[Image: 49994069568_836841ac88_z.jpg]

Then press “Update Code” at the top of the screen, followed by “OK”:

[Image: 49996992452_3b4188113f_z.jpg]

Now press the hammer icon at the top of the screen to build the code:

[Image: 49996992672_2d24952639_z.jpg]

We are now ready to download the code to the EVK. Connect the EVK to the computer (close the “AutoPlay” screen if it appears), then select “Debug” to download the code (below “New project…” in the bottom left hand corner):

[Image: 49996230063_8930ea489a_z.jpg]


[Image: 49996749801_c7b7b2dbdb_z.jpg]

The first time “Debug” is selected the IDE carries out a probe search. Press “OK”:

[Image: 49994591996_4e1f45c392_z.jpg]

The C language combines all the power of assembly language with all the ease-of-use of assembly language
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: monic part 1: connecting the display - F-73P - 06-12-2020 03:08 AM



User(s) browsing this thread: 1 Guest(s)