ST STM3210B-EVAL User Manual
Hide thumbs Also See for STM3210B-EVAL:

Advertisement

Quick Links

UM0426
User manual
STM3210B-EVAL
evaluation board
Introduction
TM
The STM3210B-EVAL is an evaluation board for STMicroelectronic's ARM
Cortex-M3
core-based STM32F10x 128 K microcontrollers. It is designed as a complete development
environment for the STM32F10x microcontrollers with full speed USB2.0, CAN2.0A/B
2
compliant interface, two I
C channels, two SPI channels, three USART channels with
smartcard support, internal 20KB SRAM and 128KB Flash, JTAG and SWD debugging.
With a complete range of hardware evaluations features, the STM3210B-EVAL board is
designed to help developers evaluate all device peripherals (such as USB, motor control,
CAN, MicroSD Card
, smartcard, USART) and develop their own applications. Extension
connectors make it possible to easily connect a daughterboard or wrapping board for a
specific application.
This user manual provides information on using the STM3210B-EVAL board and its
hardware features.
Figure 1.
STM32F10X 128 K evaluation board (STM3210B-EVAL)
February 2010
Doc ID 13472 Rev 5
1/46
www.st.com
www.BDTIC.com/ST

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ST STM3210B-EVAL

  • Page 1 C channels, two SPI channels, three USART channels with smartcard support, internal 20KB SRAM and 128KB Flash, JTAG and SWD debugging. With a complete range of hardware evaluations features, the STM3210B-EVAL board is designed to help developers evaluate all device peripherals (such as USB, motor control, ™...
  • Page 2: Table Of Contents

    Power supply connector CN4 ........17 RS-232 connector CN5 with RTS/CTS handshake support ... 18 2/46 Doc ID 13472 Rev 5 www.BDTIC.com/ST...
  • Page 3 Schematics ..........27 Appendix A STM3210B-EVAL I/O assignments ......41 Revision history .
  • Page 4: Overview

    Reset, wakeup, tamper and user push buttons Four LEDs RTC with backup battery Extension connector for daughterboard or wrapping board Order code To order the STM32F10x 128 K evaluation board, use the order code STM3210B-EVAL. 4/46 Doc ID 13472 Rev 5 www.BDTIC.com/ST...
  • Page 5: Hardware Layout And Configuration

    UM0426 Hardware layout and configuration Hardware layout and configuration The STM3210B-EVAL board is designed around a STM32F103VBT6 microcontroller in a 100-pin LQFP package. The hardware block diagram Figure 2 shows the connections between the STM32F10x microcontroller and peripherals (LCD, SPI Flash, USART, IrDA, USB, Audio, CAN bus, RTC, smartcard, MicroSD Card and motor control).
  • Page 6 Hardware layout and configuration UM0426 Figure 3. STM3210B-EVAL board layout CN12 CN13 STM32F103VBT6 Extension connector Extension connector CN15 CN14 MicroSD Card Motor control USART2 CAN connector USART1 CN10 Trace IrDA JTAG Color LCD Audio jack 5V power Potentiometer CN16 RESET...
  • Page 7 UM0426 Hardware layout and configuration The following sections provide jumper settings for configuring your STM3210B-EVAL board and peripherals. Two types of jumpers are used on the STM3210B-EVAL board: 3-pin jumpers with two possible positions, for which the possible settings are presented...
  • Page 8: Lcd Configuration

    LCD that you have. 2.1.1 MB895/S or MB542 board version B-01 or later If your STM3210B-EVAL product includes the MB895/S or MB542 board version B-01 or later, it is mounted with: LCD reference AM240320L8TNQW-00H (from Ampire).
  • Page 9: Mb542 Board Version B-00 Or Earlier

    No LCD label on component side of MB542 board version B-00 Power supply The STM3210B-EVAL board is designed to be powered by a 5 V DC power supply and to be protected by PolyZen U6 in case of incorrect power supply configuration. It is possible to configure the evaluation board to use any of the following sources for the power supply.
  • Page 10: Boot Option

    For power supply from the daughterboard connectors (CN12 and CN13) to the STM3210B-EVAL only, JP4 is set as shown: For power supply from USB (CN1) to the STM3210B-EVAL only, JP4 is set as shown: For power supply from power supply jack (CN4) to both the STM3210B-EVAL board and to a daughterboard connected on CN12 and CN13, JP4 is set as shown below.
  • Page 11: Clock Source

    X2, 8 MHz crystal with socket for the STM32F10X microcontroller. It can be removed from the socket when the internal RC clock is used. Reset source The reset signal of the STM3210B-EVAL board is active low and the reset sources include: Reset button B1 Debugging tools from connector CN7, CN9 and CN10 Daughterboard from CN13 Table 4.
  • Page 12: Audio

    UM0426 Audio The STM3210B-EVAL board supports both audio recording and playback. This can be disabled or enabled by setting the jumpers JP6 and JP7. The audio volume can be adjusted using the potentiometer RV2, and the microphone amplifier gain can be adjusted using the potentiometer RV3.
  • Page 13: Motor Control

    2.10 Motor control The STM3210B-EVAL board supports induction motor control via a 34-pin connector, CN14, which provides all required control and feedback signals to and from a motor power-drive board. Available signals on this connector include emergency stop, motor speed, 3-phase motor current, bus voltage, heatsink temperature coming from the motor drive board and 6 channels of PWM control signals going to the motor drive circuit.
  • Page 14: Microsd Card

    Default setting: Fitted 2.16 The STM3210B-EVAL board supports USB2.0 compliant full-speed communication via a USB type B connector (CN1). The evaluation board can be powered by this USB connection at 5 V DC with a 500 mA current limitation. USB disconnect simulation can be implemented by disconnecting a 1.5 K pull-up register from the USB+ line.
  • Page 15: Development And Debug Support

    A 4-direction joystick with selection key, general purpose pushbutton (B3), wakeup button (B2) and tamper detection button (B4) are available as input devices. The STM3210B-EVAL board also supports a second optional 122x32 graphic LCD that can be mounted on the U19 connector. The graphic LCD is not provided.
  • Page 16: Connectors

    Figure 9. CAN D-type 9-pin male connector CN2 (front view) Table 13. CAN D-type 9-pin male connector (CN2) Pin number Description Pin number Description 1, 4, 8, 9 CANH CANL 3, 5, 6 16/46 Doc ID 13472 Rev 5 www.BDTIC.com/ST...
  • Page 17: Analog Input Connector Cn3

    Pin number Description Analog input/PC1 Power supply connector CN4 The STM3210B-EVAL board can be powered from a DC 5 V power supply via the external power supply jack (CN4) shown in Figure 11. The central pin of CN4 must be positive.
  • Page 18: Rs-232 Connector Cn5 With Rts/Cts Handshake Support

    Figure 13. RS-232 connector CN6 (front view) Table 16. RS-232 connector CN6 Pin number Description Pin number Description Connect to Pin 4 USART1_RXD Connect to Pin 8 USART1_TXD Connect to Pin 7 Connect to Pin 6 18/46 Doc ID 13472 Rev 5 www.BDTIC.com/ST...
  • Page 19: Jtag Debugging Connector Cn7

    DBGRQ DBGACK Audio jack CN8 A 3.5 mm mono audio jack CN8 is available on the STM3210B-EVAL board. The speaker U12 is bypassed when earphones are plugged into CN8. SWD debugging connector CN9 Figure 15. SWD debugging connector CN9 (top view)
  • Page 20: Trace Debugging Connector Cn10

    20 18 16 14 12 10 8 6 Table 19. Trace debugging connector (CN10) Pin number Description Pin number Description 3.3V power TMS/PA13 TCK/PA14 TDO/PB3 TDI/PA15 RESET# TraceCLK/PE2 TraceD0/PE3 or SWO/PB3 TraceD1/PE4 or nTRST/PB4 TraceD2/PE5 TraceD3/PE6 20/46 Doc ID 13472 Rev 5 www.BDTIC.com/ST...
  • Page 21: Daughterboard Extension Connectors Cn12 And Cn13

    Two 50-pin male headers, CN12 and CN13, can be used to connect a daughterboard or standard wrapping board to the STM3210B-EVAL board. A total of 80 GPIOs are available on these connectors. Each pin on CN12 and CN13 can be used by a daughterboard after disconnecting it from the corresponding function block on the STM3210B-EVAL board.
  • Page 22 Daughterboard extension connector CN12 (continued) How to disconnect from function block on Description Alternate function STM3210B-EVAL board PD15 Disconnect STM3210B-EVAL board from motor MC connector pin 26 power drive board Disconnect STM3210B-EVAL board from motor MC connector pin 17 power drive board...
  • Page 23 UM0426 Connectors Table 20. Daughterboard extension connector CN12 (continued) How to disconnect from function block on Description Alternate function STM3210B-EVAL board +3V3 Table 21. Daughterboard extension connector CN13 How to disconnect from component on Description Alternate function STM3210B-EVAL board Debug TraceD3...
  • Page 24 Joystick Right Remove R75 Speaker Unfitted JP6 Temperature sensor Remove R113 Temperature sensor Remove R112 Debug SWO USART2 Disconnect STM3210B-EVAL board from motor MC connector pin 27 power drive board CAN_RX Remove R116 PC11 IrDA Remove R64 PA15 Debug TDI...
  • Page 25: Motor Control Connector Cn14

    CURRENT PHASE B CURRENT PHASE C CURRENT NTC BYPASS PD10 RELAY DISSIPATIVE PD13 BRAKE PWM Heatsink +5V power temperature PFC SYNC PD2/PB0 3.3V power PFC PWM Encoder A Encoder B PD14 Encoder Index Doc ID 13472 Rev 5 25/46 www.BDTIC.com/ST...
  • Page 26: Microsd Connector Cn15

    Smartcard connector CN16 Figure 19. Smartcard connector CN16 (top view of connector underneath PCB) Table 24. Smartcard connector CN16 Pin number Description Pin number Description Card presence Card presence detection pin detection pin 26/46 Doc ID 13472 Rev 5 www.BDTIC.com/ST...
  • Page 27: Schematics

    UM0426 Schematics Schematics This section provides design schematics for the STM3210B-EVAL key features to help you implement these features in your own application designs. This section includes: Overall schematics for the board, see Figure 20 MCU connections, see Figure 21...
  • Page 28 Schematics UM0426 Figure 20. Evaluation board schematics 28/46 Doc ID 13472 Rev 5 www.BDTIC.com/ST...
  • Page 29 UM0426 Schematics Figure 21. MCU connections Doc ID 13472 Rev 5 29/46 www.BDTIC.com/ST...
  • Page 30 Schematics UM0426 Figure 22. EEPROM, USB, LED, CAN and temperature sensor 30/46 Doc ID 13472 Rev 5 www.BDTIC.com/ST...
  • Page 31 UM0426 Schematics Figure 23. USART1, USART2, IrDA Doc ID 13472 Rev 5 31/46 www.BDTIC.com/ST...
  • Page 32 Schematics UM0426 Figure 24. Audio amplifier and micro amplifier 32/46 Doc ID 13472 Rev 5 www.BDTIC.com/ST...
  • Page 33 UM0426 Schematics Figure 25. Joystick, LCD, tamper button, wakeup button, user button Doc ID 13472 Rev 5 33/46 www.BDTIC.com/ST...
  • Page 34 Schematics UM0426 Figure 26. Smartcard and MicroSD Card 34/46 Doc ID 13472 Rev 5 www.BDTIC.com/ST...
  • Page 35 UM0426 Schematics Figure 27. Motor control Doc ID 13472 Rev 5 35/46 www.BDTIC.com/ST...
  • Page 36 Schematics UM0426 Figure 28. JTAG and SWD debugger RESET# 36/46 Doc ID 13472 Rev 5 www.BDTIC.com/ST...
  • Page 37 UM0426 Schematics Figure 29. Power supply Doc ID 13472 Rev 5 37/46 www.BDTIC.com/ST...
  • Page 38 Schematics UM0426 Figure 30. Extension connectors 38/46 Doc ID 13472 Rev 5 www.BDTIC.com/ST...
  • Page 39 UM0426 Schematics Figure 31. MB542 daughterboard schematics Doc ID 13472 Rev 5 39/46 www.BDTIC.com/ST...
  • Page 40 Schematics UM0426 Figure 32. MB895 daughterboard schematics 40/46 Doc ID 13472 Rev 5 www.BDTIC.com/ST...
  • Page 41: Appendix Astm3210B-Eval I/O Assignments

    UM0426 STM3210B-EVAL I/O assignments Appendix A STM3210B-EVAL I/O assignments Table 25. Evaluation board I/O assignments Level LQFP100 Pin name Type EVAL board I/O assignment Input Output Debug connector Debug connector Debug connector Debug connector Debug connector VBAT PC13-ANTI_TAMP Anti-tamper button...
  • Page 42 STM3210B-EVAL I/O assignments UM0426 Table 25. Evaluation board I/O assignments (continued) Level LQFP100 Pin name Type EVAL board I/O assignment Input Output External Flash/Sdcard External Flash/Sdcard External Flash/Sdcard Potentiometer Mirco ADC in MC_TIM3_CH3 pin 27 MC_TIM3_CH4 pin 29 Boot1/ LCD CS...
  • Page 43 UM0426 STM3210B-EVAL I/O assignments Table 25. Evaluation board I/O assignments (continued) Level LQFP100 Pin name Type EVAL board I/O assignment Input Output LCD backlight control USART1 TX PA10 USART1 RX PA11 USB DM PA12 USB DP PA13 Debug TMS VSS_2...
  • Page 44 STM3210B-EVAL I/O assignments UM0426 Table 25. Evaluation board I/O assignments (continued) Level LQFP100 Pin name Type EVAL board I/O assignment Input Output User Button JOY_RIGHT JOY_LEFT VSS_3 VDD_3 44/46 Doc ID 13472 Rev 5 www.BDTIC.com/ST...
  • Page 45: Revision History

    Revision history Revision history Date Revision Changes 2-May-2006 Initial release. Corrected product name: used to be STM32F10X-128K-EVAL, now 23-May-2007 STM3210B-EVAL. Default setting for jumper JP1 corrected in Table 10: USB jumpers. Schematics updated in Section 4: Schematics. 22-Aug-2007 Corrected error in Table 20: Daughterboard extension connector CN12.
  • Page 46 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.

Table of Contents