ST7MDT20-EVY/US STMicroelectronics, ST7MDT20-EVY/US Datasheet - Page 24

no-image

ST7MDT20-EVY/US

Manufacturer Part Number
ST7MDT20-EVY/US
Description
BOARD EVALUATION/TRAINING/PROGRM
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST7MDT20-EVY/US

Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
497-2898
TRAINING EXERCISES
I
3.3.2 How to Use the Hiware C Demo Program
The Hiware C Compiler demo can be directly installed on the PC using the “MCU ON CD” CD-
ROM (Welcome.exe file) or downloaded from their Internet site (http://www.hiware.com).
When the installation is completed, open the HIWARE TOOLS icons in the group of HIWARE
demo icons (Start Menu) and click on the first icon displayed in the Hiware tools toolbar.
Figure 11. HiWare Tools Toolbar
This icon opens the Configuration dialog box. Click on New button and enter the application di-
rectory (C:\exercise\init\C334) and the various tabs (refer to Application Note AN989), then
click on OK.
This action creates or updates the project.ini and default.env files located in the application di-
rectory.
An editor is not required for the Hiware Tool box which is just used to create the default.env
and project.ini files.
Once the Hiware configuration parameters are entered, open the STVD7 program (simulator
or development kit) and create a new project by specifying the Hiware toolchain in the project
settings window.
The correct configuration is listed in the technical manual.
3.4 EXERCISE 4: USING THE ADC
The purpose of this exercise is to write lines of code in C language that are able to read an an-
alog voltage and to show the result in hex value on the two 7-segment LED displays by multi-
plexing.
The the ST72334 C-environment is located in the C:\exercise\init\ADC directory. Click on the
“ADC.wsp” project in this directory and the resource files are displayed as shown in
24/33
– Toggles pin PFO.
– Clears interrupt flags ICF1 and ICF2.
Write an interrupt function in itenviro.c file that:
Figure 12.

Related parts for ST7MDT20-EVY/US