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

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
You have to complete the “main.c” and “itenviro.c” programs, according to the explanatory
comments.
The first step is to send “value[3]” into the EEPROM, starting at the address 0x00. Each value
has to be displayed on the 7-segment LED display. Then, by pressing push-button switches
EI1, EI2 or EI3, the previously sent value must be read at the 0x00, 0x01 and 0x02 addresses,
and the result must be displayed on the 7-segment LED display in hex value. If the 0x00
EEPROM memory address is read, LED PB5 has to light up; LEDs PB6 or PB7 LED have to
light up if the 0x01 or 0x02 memory addresses are read.
3.6 EXERCISE 6: USING THE SCI DRIVER
The purpose of this exercise is to use the SCI driver to communicate with your PC, with the
help of the “Hyperterminal” software. The parameters for this software program must be cor-
rectly configured before use.
1) Click on “File → Properties” and select the correct COM port.
2) In the “Settings” menu, check the “Windows Keys” and “ANSI Emulation” check boxes.
3) In “File → Properties → Configure”, set the following parameters: “Bits per second: 19200”,
“Data bits: 8”, “Parity: None”, “Stop bits: 1”, “Flow control: None”.
The ST72334 environment in HIWARE C language is located in the ex_SCI directory.
First, open the “SCI.wsp” project file.
Figure 14. SCI Resource Files
Then, complete the “main.c” program, according to the explanatory comments.
The first step is to send “title[ ]” to the PC. Then, wait for eight characters to be entered before
sending it back to the PC. Afterwards, the program starts over, and eight new characters must
be entered.
26/33

Related parts for ST7MDT20-EVY/US