background image

February 2010

Doc ID 16982 Rev 1

1/48

UM0891

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. At each reset (board power-up, external reset, etc.) the demonstration is 
executed.

In case the STM32100B-EVAL board was not factory-programmed or the demonstration 
application was erased, the in-circuit programming (ICP) boot loader can be used to 
program this file. For more details, refer to 

Section 3: STM32100B-EVAL demonstration 

package

 and 

Section 4: STM32100B-EVAL demonstration programming

.

Note:

Before executing the demonstration, make sure that all evaluation board jumpers are well 
configured. For more details, refer to STM32100B-EVAL board jumper configuration section.

This demonstration firmware is available for download from the STMicroelectronics website: 

www.st.com

.

www.st.com

Содержание STM32100B-EVAL

Страница 1: ...he MicroSD card At each reset board power up external reset etc the demonstration is executed In case the STM32100B EVAL board was not factory programmed or the demonstration application was erased th...

Страница 2: ...ol 9 1 10 IrDA 9 1 11 Miscellaneous peripherals 9 1 11 1 Joystick 9 1 11 2 Push buttons 9 1 11 3 12 bit analog to digital converter ADC 9 1 11 4 Audio amplifier 9 1 11 5 Storage memories 9 1 11 6 Temp...

Страница 3: ...sentation 21 2 7 2 Calendar 23 2 7 3 Images Viewer submenu 27 2 7 4 Wave Player submenu 28 2 7 5 Low power modes 30 2 7 6 IDD Measure menu 36 2 7 7 Thermometer 37 2 7 8 HDMI CEC submenu 39 2 7 9 Help...

Страница 4: ...Doc ID 16982 Rev 1 List of tables Table 1 STM32F100VB demonstration peripherals 17 Table 2 STM32F100VB demonstration interrupts 18 Table 3 STM32F100VB demonstration external interrupts 19 Table 4 Doc...

Страница 5: ...e show 23 Figure 22 Setting the time and date 23 Figure 23 Time Adjust submenu 24 Figure 24 Time Show submenu 24 Figure 25 Setting the year 25 Figure 26 Setting the month 25 Figure 27 Setting the day...

Страница 6: ...selected 38 Figure 57 Temperature display 38 Figure 58 Warning temperature display 38 Figure 59 Temperature sensor error 39 Figure 60 HDMI CEC submenu selected 39 Figure 61 HDMI CEC configuration sub...

Страница 7: ...of the STM32F100VB microcontroller Figure 1 summarizes the main functional blocks of the evaluation board Figure 1 Evaluation board overview 23 TRANSCEIVER R TRANSCEIVER 6 REGULATOR 4 4 ICRO3 CARD UD...

Страница 8: ...tton activates the RESET input when pressed JTAG reset 1 4 Debugging JTAG interface Software debug is done via the standard ARM JTAG interface a 20 pin IDC insulation displacement connector for connec...

Страница 9: ...ction joystick with a selection key 1 11 2 Push buttons The following push buttons are available Key Tamper Wakeup used to wake up the processor from low power mode 1 11 3 12 bit analog to digital con...

Страница 10: ...L evaluation board includes an I2 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 conf...

Страница 11: ...h button is the switch closure that occurs when the joystick button is pushed To exit a submenu select the Return menu and press SEL Figure 2 Structure of the demonstration menus 34 6ALUE INE 7ELCOME...

Страница 12: ...s are now checked in the MicroSD card see Section 2 6 5 External memory organisation All the icons have to be correctly programmed in the MicroSD card for the demonstration to start If an icon is miss...

Страница 13: ...nfiguration sequence press any key except for the SEL push button The main menu is displayed Note 1 You can set the time parameters at any time by using the Calendar menu see Section 2 7 2 Calendar 2...

Страница 14: ...igation procedure The demonstration menu is based on circular navigation submenu selection item selection and back capability To navigate through the demonstration menus use the joystick push buttons...

Страница 15: ...source 24 MHz The HCLK frequency is set to 24 MHz The timer clock TIMCLK is set to 24 MHz The PCLK1 is set to 24 MHz The PCLK2 is set to 24 MHz Only the RTC is clocked by a 32 kHz external oscillator...

Страница 16: ...t present You must connect the crystal before starting the demonstration Connecting the 8 MHz crystal after reset may not restart the demonstration correctly If the 8 MHz crystal is not reconnected in...

Страница 17: ...ls Used peripherals Application I2C1 Temperature sensor BKP Calendar demo kernel EXTI Menu navigation joystick push button low power modes GPIO All applications LEDs NVIC All applications using interr...

Страница 18: ...Calendar date update NMI Preemption fixed 2 CSS interrupt EXTI0 Preemption 2 SubPriority 1 Menu navigation EXTI9_5 Preemption 2 SubPriority 1 Menu navigation EXTI15_10 Preemption 2 SubPriority 0 Menu...

Страница 19: ...es This folder is used only by the Images Viewer and Wave Player submenus For more details on the different files properties please refer to Section 2 7 3 Images Viewer submenu and Section 2 7 4 Wave...

Страница 20: ...SD 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...

Страница 21: ...dedicated speech When you start the product presentation the first slide appears and the corresponding speech starts Once the speech is finished the second slide is displayed accompanied by its speech...

Страница 22: ...the following Playing time 6 min 16s File size 3 014 752 bytes Format tag PCM Channels Mono Sample rate 8 kHz Bits per sample 8 bits If the wave file of the promotion presentation speech is not loaded...

Страница 23: ...ower to the RTC unit allowing the RTC to operate even when the main digital supply VDD is turned off Note To be able to use the battery to back up the RTC the JP9 jumper must be in the position Batter...

Страница 24: ...t the Time submenu appears Some digit values are limited to a range of values depending on the field hour minute or seconds Figure 23 Time Adjust submenu Time Show this item displays the current time...

Страница 25: ...There is no default date since you have to set the date at least once To adjust the date 1 Start by selecting the year To select the year use the UP or DOWN push buttons Pressing the UP push button di...

Страница 26: ...this submenu press the SEL push button To exit the Date submenu select Return and press the SEL push button Alarm submenu You can use this submenu to configure the alarm activation time When the alar...

Страница 27: ...o exit the Alarm Show submenu press the SEL push button To exit the Alarm submenu select Return and press the SEL push button Note In the Alarm Adjust and Alarm Show menus if the time and date have no...

Страница 28: ...hown in Figure 33 Figure 33 STM32 Images Viewer Use RIGHT and LEFT to go to the next previous image stored in the USER folder of the MicroSD card If you press the SEL push button the Images Viewer is...

Страница 29: ...plitude of the signal at the time of sampling Sample rate may be 8000 11025 22050 or 44100 Hz Bits per sample 8 bit audio sample data values are in the range 0 255 Number of channels 1 Mono The Wave P...

Страница 30: ...audio stream is paused the menu in Figure 37 is displayed Figure 37 Pause submenu To resume playing press the SEL push button to return to the Wave Player Playing submenu as shown in Figure 36 When t...

Страница 31: ...top mode submenu has been selected the red LEDs continue blinking until the SEL push button is pressed and the system enters Stop mode When the MCU is in Stop mode the message shown in Figure 39 is di...

Страница 32: ...n the second case the RTC Alarm wakes up the MCU from Stop mode after the programmed time has elapsed When selecting this submenu you have to set the alarm to the time when the MCU is to exit Stop mod...

Страница 33: ...e shown in Figure 45 is displayed on the LCD screen Figure 45 Time and Date configuration prompt Standby mode menu This menu allows the user to put the STM32F100VB in Standby mode The software runs th...

Страница 34: ...nd the system reset signal is generated Note If an RTC Alarm is generated while the MCU is in Standby mode and the message shown in Figure 47 is displayed which means that the Wakeup push button needs...

Страница 35: ...RTC Alarm wakeup configured After the programmed timing has elapsed the system exits Standby mode and a system reset signal is generated Note If the time and date have not been set the message shown i...

Страница 36: ...If you select the IDD Run mode submenu the message shown in Figure 53 is displayed Figure 53 IDD Run mode menu The IDD value is periodically refreshed until the joystick push button is pressed Once t...

Страница 37: ...waiting until the joystick push button is pressed Once the joystick push button has been pressed the MCU exits the IDD Sleep Mode submenu and returns to the IDD Measure mode menu as shown in Figure 5...

Страница 38: ...us Alert which generates a dedicated interrupt to inform the system that the temperature is out of the selected range This can be very useful for systems where the increase of temperature needs an imm...

Страница 39: ...tures an HDMI CEC peripheral this demonstration shows how to configure this peripheral and how to create CEC network providing a high level communication between different devices using CEC protocol m...

Страница 40: ...ss and the command to send Figure 62 CEC menu After selecting the follower address select the command to be send to the selected follower address using the LEFT RIGHT and SEL buttons After selecting t...

Страница 41: ...Any time in the CEC application If you press the KEY push button the HDMI CEC stops and you return to the HDMI CEC submenu shown in Figure 60 Note The STM32100B CEC device responds only to the follow...

Страница 42: ...ns Press any joystick push button to display the next help slide as shown in Figure 67 Figure 67 Second help slide Press the joystick to exit the slide and return to the Help submenu Help Return Start...

Страница 43: ...ws the version of the STM32F100VB demonstration software When the About submenu is selected the message shown in Figure 68 is displayed on the LCD screen Figure 68 About submenu Pressing SEL displays...

Страница 44: ...bed below Figure 69 STM32100B EVAL demonstration package directory tree 3 1 Libraries The Libraries folder contains all the subdirectories and files that make up the core of the STM32F10xxx Standard P...

Страница 45: ...eeded Media files to run the demonstration Binary Media EWARMv5 contains preconfigured projects for the EWARM toolchain RVMDK contains preconfigured projects for the RVMDK toolchain HiTOP contains pre...

Страница 46: ...the media files STFILES and USER directories can be retrieved under the Binary Media folder So if you want to reprogram the MicroSD card you can copy the content of the Binary Media to your own SD me...

Страница 47: ...UM0891 Revision history Doc ID 16982 Rev 1 47 48 5 Revision history Table 4 Document revision history Date Revision Changes 26 Feb 2010 1 Initial release...

Страница 48: ...ARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT UNLE...

Отзывы: