ST STM3220G-EVAL User Manual
ST STM3220G-EVAL User Manual

ST STM3220G-EVAL User Manual

Demonstration firmware
Hide thumbs Also See for STM3220G-EVAL:

Advertisement

Quick Links

STM3220G-EVAL/STM3221G-EVAL demonstration firmware
Introduction
This user manual describes the demonstration firmware running on the STM3220G-EVAL
(Rev. B) evaluation board, which can be used to evaluate the capabilities of the STM32F2xx
microcontrollers and on-board peripherals. The demonstration firmware also runs on the
STM3221G-EVAL evaluation board.
In case the STM3220G-EVAL board was not factory-programmed or the demonstration
application was erased, it can be re-programmed by following the steps described in
Chapter 3: Programming the
The STM3220G-EVAL board comes with a USB Flash disk preprogrammed with audio and
images resources used by the demonstration. You can load your own image (*.bmp) and
audio (*.wav) files provided that the file formats are supported by the demonstration
firmware.
For more details, please refer to
The default audio files available in the USB Flash disk are based on free music downloads
from the DanoSongs.com website. This demonstration firmware is available for download
from the STMicroelectronics website at www.st.com.
Figure 1.
Table 1
lists the development tools concerned by this user manual.
Table 1.
Development tools
November 2012
demonstration.
STM3220G-EVAL demonstration application
Applicable tools
Type
STM3220G-EVAL, STM3221G-EVAL
Doc ID 018665 Rev 3
Section 2.5: Image browser
Applicable tools
UM1069
User manual
and
Section 2.8: Audio
player.
1/21
www.st.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM3220G-EVAL and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ST STM3220G-EVAL

  • Page 1: Figure 1. Stm3220G-Eval Demonstration Application

    Chapter 3: Programming the demonstration. The STM3220G-EVAL board comes with a USB Flash disk preprogrammed with audio and images resources used by the demonstration. You can load your own image (*.bmp) and audio (*.wav) files provided that the file formats are supported by the demonstration firmware.
  • Page 2: Table Of Contents

    Contents UM1069 Contents Demonstration architecture overview ......5 Hardware resources ......... . 5 Hardware configuration .
  • Page 3 UM1069 List of tables List of tables Table 1. Applicable products and tools ..........1 Table 2.
  • Page 4 STM3220G-EVAL demonstration application ........1...
  • Page 5: Demonstration Architecture Overview

    C for the IO expander used by the touch screen, etc.). The camera application also uses the SRAM embedded on the STM3220G-EVAL board to store the camera frames via the DMA before they are output to the display through the GUI.
  • Page 6: Hardware Configuration

    UM1069 Hardware configuration Figure 3. Hardware configuration 1.2.1 Required accessories In addition to the STM3220G-EVAL board, the demonstration requires the following accessories: ● Micro-AB to standard receptacle A connector (provided with STM3220G-EVAL board package) ● Micro-AB to standard plug A connector (provided with STM3220G-EVAL board package) ●...
  • Page 7: Jumper Configurations

    USB OTG HS Fitted USB OTG HS selected Boot mode 1 <-> 2 STM3220G-EVAL boot from User Flash Boot mode 1 <-> 2 STM3220G-EVAL boot from User Flash Firmware architecture The demonstration is built with a modular architecture based on a real time operating system and uses a graphical windowing system based on the uC-OSII RTOS from Micrium and the emWin graphical stack from Segger.
  • Page 8 Demonstration architecture overview UM1069 The demonstration application is built using the following software components: STM32F2xx Standard Peripheral Library V1.0.0 µC-OSII RTOS (Version 2.86) µC-USB Host stack (Version 3.0) emWin Graphical stack (Version 3.10) emFile file system (Version 4.16 from Segger) LwIP TCP/IP stack (Version1.3.1) 8/21 Doc ID 018665 Rev 3...
  • Page 9: Demonstration Architecture Overview

    Demonstration architecture overview Demonstration architecture overview The STM3220G-EVAL demonstration consists of seven sub-demos and uses the emWin graphical stack for the visual aspect, uC-Host stack and uC-FS for media storage in the connected USB Flash disk; the embedded touch screen is used as an input device (one touch mode) and the LCD is used in 16-bit color mode.
  • Page 10: Usb Console

    Demonstration architecture overview UM1069 USB console The USB console frame window shows the USB Host connectivity state. The USB Disk Flash Connected message means that the USB Flash disk is configured and ready for use. Figure 8. USB console frame window System info The system info sub-demo is composed of three window frames.
  • Page 11: Image Browser

    UM1069 Demonstration architecture overview The second frame window (Figure 10) indicates the instant CPU usage in percentage (%); the graphical widget is updated every second. Figure 10. Second frame window The third frame window (Figure 11) shows the different priorities and memory usage of the running tasks.
  • Page 12: Web Server

    Web server This demonstration is an embedded web server based on the lwIP stack. It allows addressing the STM3220G-EVAL board as a web page using your web browser to control the four LEDs on the board and the potentiometer level.
  • Page 13: Figure 14. Connection Properties Screen

    UM1069 Demonstration architecture overview How to use the web server demonstration Ensure that the jumper configuration on your STM3220G-EVAL board is correct (refer Table 2: Jumper configurations on page Modify your PC network configuration: Disable the Internet firewall installed on your PC (if it is enabled) and bypass/deselect any proxy server in use.
  • Page 14: Figure 16. Connection Status Screen

    In point-to-point configuration, connect your PC to the STM3220G-EVAL board using an Ethernet cross cable. In a local network, connect the STM3220G-EVAL board to the network hub using an Ethernet regular cable. Ping the board by typing in the DOS command window: “ping xx.xx.xx.xx” where xx.xx.xx.xx is the DHCP or the statically assigned IP address.
  • Page 15: Usb Joystick

    The HID example works in High Speed mode (the USB OTG HS connector is used). Figure 17. HID properties screen Once connected and correctly configured, the STM3220G-EVAL board acts as a USB HID joystick device and the user can move the mouse pointer on the Host by using the Up, Left, Down and Right buttons.
  • Page 16: Audio Player

    Audio Data Format 16 bits Note: This limitation is due to the audio codec used on the STM3220G-EVAL board which accepts a fixed Master Clock frequency while the STM32F2xx I2S provides a Master clock at a fixed rate of 256 x f (where f is the audio sampling rate).
  • Page 17: Analog Clock

    UM1069 Demonstration architecture overview Analog clock The analog clock window shows the system clock (RTC) on an analog background, and also the current date on the caption of the frame window. Figure 21. Analog clock window To configure the clock and the date, the user can click the Set button to display a second frame window with a numerical pad used to easily set the clock and the date.
  • Page 18: Camera

    Demonstration architecture overview UM1069 2.10 Camera The camera demo obtains raw data from the camera module and displays it on the LCD through the GUI core. Figure 25. Camera diagram The user can use the capture button to take a snapshot of the video and display only a single frame on the LCD.
  • Page 19: Programming The Demonstration

    UM1069 Programming the demonstration Programming the demonstration Normally, the STM3220G-EVAL demo is included with the board and the necessary accessories described in Section 1.2.1: Required accessories. However, the user can program the board by using the binary file included with the demo package (in the \Binary folder).
  • Page 20: Revision History

    Document revision history Date Revision Changes 20-Apr-2011 Initial release. Updated document for STM3220G-EVAL (Rev. B) evaluation board 10-May-2011 only. Added STM3221G-EVAL to the title and the Introduction. 16-Nov-2012 Fixed a few typos, among them a list numbering in How to use the web server demonstration.
  • Page 21 No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.

This manual is also suitable for:

Stm3221g-eval

Table of Contents