UM0796 Graphical user interface
Doc ID 16227 Rev 1 15/34
The functions of the four main sections of the window are described below:
1. “Main control” (Figure 9, ref 1) - connects/disconnects the board and starts acquisition
via the Start/Stop buttons.
2. “Saving” box (Figure 9, ref 2) - allows the user to save the data to a specified text file,
choosing the data type to write. Data types available are:
a) LSB: the analog values measured by the 8-bit A/D converter of the microcontroller
are converted to 8-bit values, hence the 256 magnitude levels.
b) Angular rate: LSB data are multiplied by the sensitivity to obtain the angular rate,
expressed in deg/sec.
3. “Tab selector” (Figure 9, ref 3) - used to toggle between the different features of the
demonstration kit.
4. “Legend” (Figure 9, ref 4) - used to enable/disable viewing the axes.
5. “Details” (Figure 9, ref 5) - shows information about the demonstration kit, such as the
name of the sensor, the version of the firmware loaded on the microcontroller and the
version of the PC software.
4.1 Connecting to the virtual COM port
Before using the functions of the demonstration kit software, the connection with the
STEVAL-MKI0xxV1 board must be opened using the following steps:
1. Connect the STEVAL-MKI0xxV1 to the desired USB port.
2. In the “Select COM” drop-down menu (Figure 9 ref 1), choose the virtual COM number
to which the board has been mapped. For additional information on how to obtain this
number, see section 3.3. Otherwise, press “Find” to automatically get the correct COM
number.
3. Open the connection by clicking on “Connect” (Figure 9 ref 1). Opening the connection
starts the board model recognition flow. If the flow terminates successfully, a
recognized board code and mounted device code is generated and written on the
“Home” tab. Otherwise, a message on the same tab alerts the user to check the board.
At this point, the user can acquire, plot and save the angular rate data measured by the
sensor and access the content of the registers embedded in the device.
If the “Find” button is pressed (Figure 9 ref 1), the GUI attempts to automatically find the
COM number assigned to the demonstration kit, and displays it in the list box as a selected
item.
4.2 GUI main window functions
The following sections provide details regarding the functions of the tabs and buttons on the
GUI main window (see Figure 9).
4.2.1 “Easy Start” button
When the “Easy Start” button is clicked (Figure 9, ref 1), the GUI attempts to automatically
find the COM number assigned to the demonstration kit, to recognize the connected board
and its device and, if successful, starts the acquisition. If recognition is unsuccessful, a
message alerts the user to verify that the board type is in the list of managed ones, or to
update the SW.