Graphical user interface (gui) for eval-l9907-h (23 pages)
Summary of Contents for STMicroelectronics STM32100B-EVAL
Page 1
User manual STM32100B-EVAL demonstration firmware Introduction This user manual describes the demonstration firmware running on the STM32100B-EVAL evaluation board, which can be used to evaluate the capabilities of the value line STM32F100VB microcontroller and on-board peripherals. The STM32100B-EVAL board is delivered with the demonstration programmed in the internal Flash memory, and all the files needed by the demonstration are programmed in the MicroSD card.
UM0891 Evaluation board overview Evaluation board overview The STM32100B-EVAL microcontroller evaluation board provides a development and demonstration platform for STM32F100xx-based applications. It allows to evaluate the major functions of the STM32F100VB microcontroller. Figure 1 summarizes the main functional blocks of the evaluation board.
The ST-LINK in-circuit debugger/programmer is embedded on the board. It supports the STM32F100VB MCU. Display devices 1.7.1 A color LCD module is mounted on the STM32100B-EVAL board. It is interfaced through the embedded SPI peripheral. 1.7.2 Four general-purpose LEDs are available.
DAC. 1.11.5 Storage memories The STM32100B-EVAL evaluation board features an 8 Mbyte SPI Flash memory and an SD Card™ memory connected to the SPI1 peripheral. Doc ID 16982 Rev 1...
The STM32100B-EVAL evaluation board includes an I C temperature sensor connected to the I2C1 peripheral. 1.11.7 STM32100B-EVAL board jumper configuration To run the STM32100B-EVAL demonstration correctly, you must configure the following STM32100B-EVAL board jumpers as follows: ● Audio DAC JP2: fitted ●...
UM0891 Running the demonstration Running the demonstration Menu tree and navigation Figure 2 shows the menu system of the STM32F100VB demonstration. The main menu is shown on the left-hand side. The UP, DOWN, RIGHT and LEFT joystick directions allow the user to navigate between items in the main menu and the submenus.
Running the demonstration UM0891 Demonstration startup The demonstration starts after a board reset. The system checks if an SD memory card is already plugged into the connector CN11. If no card detected, the demonstration does not start and the message shown in Figure 3 is displayed on the LCD screen.
UM0891 Running the demonstration After some seconds, the following STM32 slide is displayed on the LCD screen: Figure 6. STM32 family Time and date configuration When the board is powered up for the first time and no power supply is detected on V (battery), you are prompted to set the time, year, month and day.
Running the demonstration UM0891 Figure 8. Application main menu APP Main Menu Name 1. The icons shown in Figure 8 are taken from http://commons.wikimedia.org/wiki/Crystal_Clear. Once a submenu has been selected, the name of the application is listed at the top of the display and all the corresponding submenus are listed below as shown in Figure Figure 9.
UM0891 Running the demonstration Figure 10. Navigating in the demonstration menus Clock sources 2.5.1 Clock control The STM32F100VB’s internal clocks are derived from the HSE clocked by the external 8 MHz crystal. In this demonstration application, the different system clocks are configured as follows: ●...
Running the demonstration UM0891 Figure 11. Clock tree diagram 2.5.2 Clock failure At any point of the demonstration, if no clock is present on OSC_IN (broken or disconnected crystal), the message shown in Figure 12 is displayed on the LCD screen. Figure 12.
Figure 14. Internal Flash memory organization 2.6.5 External memory organisation The STM32100B-EVAL demonstration is based on an embedded free FAT file system, DosFs . The file system is needed to read all media information from the on-board MicroSD memory card.
Running the demonstration UM0891 Figure 15. MicroSD card organization At any point of the demonstration, if the SD card is removed, the demonstration stops and the message shown in Figure 16 is displayed on the LCD screen. Figure 16. SDCard removal Err: SDCard Removed Please check SD Card Press JoyStick UP to...
UM0891 Running the demonstration Demonstration applications The following section provides a detailed description of each part of the demonstration. In the demonstration, the core runs at HCLK = 24 MHz. Four LEDs: LD1, LD2, LD3 and LD4 flash throughout the demonstration at a frequency depending on the core clock. 2.7.1 Product presentation This part of the demonstration presents all the STM32F100VB embedded peripherals and...
UM0891 Figure 19. Last presentation slide Product presentation speech The STM32100B-EVAL features an external audio amplifier used to play speech audio files through the embedded speaker or headphone. The properties of the product presentation speech wave file are the following: ●...
To be able to use the battery to back up the RTC, the JP9 jumper must be in the position Battery-VDD on the STM32100B-EVAL board. In any submenu, if the time and date parameters have not yet been configured, the...
Running the demonstration UM0891 Select Time Adjust. The message shown in Figure 23 is displayed on the LCD. To modify the first digit of the hour field, use the UP and DOWN push-buttons. Press UP to display the current value plus one. Press DOWN to display the previous digit value. After setting the digit value, press SEL.
UM0891 Running the demonstration Date submenu This submenu is divided into two items that allow the user to display or set the current date. ● Date Adjust: this item has to be selected after each power-up in order to set the current date.
Running the demonstration UM0891 Figure 27. Setting the day of the month ● Date Show: this item displays the current date. If the time and date have not been previously configured, the message shown in Figure 28 is displayed. You have the choice to set the time/date or, to exit to the upper submenu.
UM0891 Running the demonstration Figure 29. Setting the alarm activation time ● Alarm Show: this item displays the current alarm time. The default alarm activation time displayed after powering up is 00:00:00. The message shown in Figure 30 displayed on the LCD when this submenu is selected. Figure 30.
Running the demonstration UM0891 This application reads all bitmap pictures from the USER directory (see Section 4.1: Programming the media files) and displays only the .BMP files having the following format: ● Bit depth: 16-bit (RGB) ● Size: 240x320 The maximum images number that can be read from the MicroSD card is 25 images selected by alphabetic order.
UM0891 Running the demonstration the wave signal. The voice sampling period is read from the Wave File Header. An audio amplifier is connected to the DAC interface to play the stored wave files. This application illustrates all STM32 DAC features and modes by dedicated examples and lists the configuration steps for each mode.
Running the demonstration UM0891 Figure 36. Wave Player Playing submenu STM32 DAC audio demo playing wave files PAUSE LEFT BWR DOWN STOP RIGHT FWD Playing USER/xxxxxxxx.WAV The progress bar and the volume bar are displayed at the bottom of the Wave Player Playing submenu.
UM0891 Running the demonstration Stop mode menu This menu allows you to put the STM32F100VB in Stop mode. The software performs the specific instruction sequence needed to enter Stop mode. Figure 38. Stop mode menu There are two ways to make the STM32F100VB exit Stop mode. ●...
Running the demonstration UM0891 Note: If an RTC Alarm is generated while the MCU is in Stop mode and the message shown in Figure 40 is displayed (which means that the Key push-button needs to be pressed to exit the Stop mode), the RTC Alarm causes the MCU to exit Stop mode. The message shown in Figure 41 is then displayed.
UM0891 Running the demonstration After the programmed time has elapsed, the system exits Stop mode. The system clock is then set to 24 MHz and the application resumes execution. The message shown in Figure 44 is displayed on the LCD screen. Figure 44.
Running the demonstration UM0891 There are two ways to make the STM32F100VB exit Standby mode. ● In the first case, you can use the Wakeup push-button. Once the Standby mode submenu has been selected, the red LEDs continue blinking until you press the “SEL” push-button, and the system enters Standby mode.
UM0891 Running the demonstration Figure 49. Setting the wakeup time HH:MM:SS Once the alarm has been configured, the red LEDs stop blinking and the system enters Standby mode. The message shown in Figure 50 is then displayed on the LCD. Figure 50.
The STM32F100VB microcontroller features an ADC peripheral. It measures the I current in Run, Sleep and Stop mode by using the I measurement circuit available on the STM32100B-EVAL board. To select the I Measure menu, press SEL from the main menu. The message shown in Figure 52 is then displayed on the LCD screen.
C protocol including the system management bus (SMBus) mode. An STLM75 (or a compatible device) I C temperature sensor is mounted on the STM32100B-EVAL board and used to get instantaneous external temperature (-55°C to +125°C) . When the Thermometer submenu is selected, the message shown in Figure 56 displayed on the LCD.
Running the demonstration UM0891 Figure 56. Thermometer submenu selected Thermometer Temperature Return Once you select the Temperature submenu, the temperature value is displayed in Celsius and Fahrenheit as shown in Figure Press any key to return to the Thermometer submenu. Figure 57.
UM0891 Running the demonstration The message shown in Figure 58 is displayed on the LCD when the temperature goes under the over-limit low value (TEMPERATURE_THYS: Hysteresis Temperature). You can configure the TOS and THYS thanks to dedicated #define statements in the code. By default they are set to (see menu.c file): #define TEMPERATURE_THYS 31 #define TEMPERATURE_TOS 32...
Running the demonstration UM0891 Once you select the HDMI CEC submenu, if no CEC error is generated, the device is configured as Tuner and the physical and logical addresses are displayed on the LCD as shown in Figure 61. To enter the CEC menu, press the SEL push-button. Figure 61.
UM0891 Running the demonstration When receiving a new message, the following information can be displayed on the LCD: ● Receive status ● Sender address ● Number of bytes (including the sender address) ● Opcode message ● Data (operands) Figure 64 shows that the device has correctly received the frame from the sender with address: 0x5, number of bytes received: 0x3 (header + opcode + data), message opcode: 0x44 and data: 0x41...
Running the demonstration UM0891 Figure 65. Help submenu Help Start Return If you press SEL, the image shown in Figure 66 is displayed on the LCD screen. Figure 66. Joystick buttons Press any joystick push-button to display the next help slide as shown in Figure Figure 67.
About submenu is selected, the message shown in Figure 68 is displayed on the LCD screen. Figure 68. About submenu About About Return Pressing SEL displays a message showing the STM32100B-EVAL demonstration version on the LCD screen. Doc ID 16982 Rev 1 43/48...
STM32100B-EVAL demonstration package UM0891 STM32100B-EVAL demonstration package The STM32100B-EVAL demonstration is supplied in one single zip file. The extraction of the zip file generates one folder, STM32100B-EVAL_FW_VX.Y.Z, which contains the subfolders shown in Figure 69 and described below. Figure 69. STM32100B-EVAL demonstration package directory tree...
HiTOP: contains preconfigured projects for the HiTOP toolchain ● inc subfolder: contains the demonstration header files ● src subfolder: contains the demonstration source files Utilities STM32100B-EVAL: contains the LCD, and other STM32100B-EVAL board-related drivers. Doc ID 16982 Rev 1 45/48...
STM32100B-EVAL demonstration programming Programming the media files The STM32100B-EVAL board comes with an MircoSD card memory preprogrammed with audio and image resources used by the demonstration. However you can load your own image (*.bmp) and audio (*.wav) files in the “USER” directory, providing that these file formats are supported by the demonstration.
UM0891 Revision history Revision history Table 4. Document revision history Date Revision Changes 26-Feb-2010 Initial release. Doc ID 16982 Rev 1 47/48...
Page 48
Please Read Carefully: Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice.
Need help?
Do you have a question about the STM32100B-EVAL and is the answer not in the manual?
Questions and answers