STM32-P107 development board User's manual All boards produced by Olimex are ROHS compliant Rev.
DISCLAIMER © 2013 Olimex Ltd. Olimex®, logo and combinations thereof, are registered trademarks of Olimex Ltd. Other product names may be trademarks of others and the rights belong to their respective owners. The information in this document is provided in connection with Olimex products. No license, express or implied or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Olimex products.
INTRODUCTION STM32-P107 prototype board provides easy way for developing and prototyping with the new STM32F107VCT6 connectivity line microcontroller, produced by STMicroelectronics. STM32P107 has JTAG port for programming and debugging, USB_OTG, user button, two status LEDs, and most of the GPIOs are on extension headers where you can connect your additional circuits.
BOARD USE REQUIREMENTS Cables: The cable you will need depends on the programmer/debugger you use. If you use ARMJTAG, you will need LPT cable, if you use ARM-USB-OCD, ARM-USB-OCD-H, ARM-USBTINY, or ARM-USB-TINY-H you will need 1.8 meter USB A-B cable, for ARM-USB-OCD and ARM-USB-OCD-H you will need RS232 cable, too. Hardware: Programmer/Debugger – one of the Olimex ARM Programmers: ARM-JTAG, ARMJTAG-EW, ARM-USB-OCD, ARM-USB-OCD-H, ARM-USB-OCD-TINY, ARM-USB-OCD-H.
– Debug mode – Serial wire debug (SWD) & JTAG interfaces – Cortex-M3 Embedded Trace Macrocell™ – 80 fast I/O ports – 80 I/Os, all mappable on 16 external interrupt vectors and almost all 5 V-tolerant – 10 timers – four 16-bit timers, each with up to 4 IC/OC/PWM or pulse counter and quadrature (incremental) encoder input – 1 × 16-bit motor control PWM timer with dead-time generation and emergency stop – 2 × watchdog timers (Independent and Window) – SysTick timer: a 24-bit downcounter – 2 × 16-bit basic time
BLOCK DIAGRAM Page 6 of 19
MEMORY MAP Page 7 of 19
SCHEMATIC STM32-P107, board revision C OLIMEX LTD, PLOVDIV, BULGARIA 2013 USB CIRCUIT H O H O H USB_HOST 2 100nF C8 10uF/6.3V C7 100nF C5 100nF C4 4.7uF/6.3V C3 2 100nF C1 O 1 C9 10uF/6.3V C10 100nF C11 C13 C12 C14 100nF C17 NA USB_OTG 100nF NA(47pF) NA(47pF) C15 C16 2.2uF/6.3V 100nF D1 3V_BAT WF2S BAT54C 1 3 2 1 0 SD/MMC JTAG HN1x3 2 1 B0_0/B0_1 C18 27pF C19 27pF C2022uF/6.3V C21 10pF C23 10pF C2222uF/6.3V Ethernet 22uF/6.3V C26 22uF/6.3V C25 22uF/6.
BOARD LAYOUT POWER SUPPLY CIRCUIT STM32-P107 can take power from three sources: – PWR connector where (6.5-9)V DC or 6V AC is applied by external power source. – +5V_ OTG-PWR from USB OTG – +5V_JTAG from JTAG The programmed board power consumption is about 70 mA. RESET CIRCUIT STM32-P107 reset circuit includes JTAG connector pin 15, U2 (STE101P) pin 28 (RESET), R73(10k), R74(330Ohm), R75(100Ohm/1%), C55(100nF), STM32F107 pin 14 (NRST) and RESET button.
JUMPER DESCRIPTION PWR_SEL When position 1-2 is shorted – the board is power supplied from JTAG. When position 3-4 is shorted – the board is power supplied from USB_OTG. When position 5-6 is shorted – the board is power supplied from External source. Default state is – position 5-6 – shorted. B0_0/B0_1 When this jumper is in position B0_1 – BOOT0 is connected to 3.3V, and jumper is in position B0_0 – BOOT0 is connected to GND. Default state is B0_0.
3.3V_MCU_E Enable microcontroller 3.3V power supply Default state is closed. 3.3V_E Enable regulator VR2 (3.3V) - LM1117 Default state is closed. 3.3VA_E Enables board 3.3V analog power supply. Default state is closed. 3.3VA_MCU_E Enables microcontroller 3.3V analog power supply. Default state is closed. GNDA_E Enables board analog GND. Default state is closed. R-T Connects RST to TRST Default state is open.
CONNECTOR DESCRIPTIONS JTAG The JTAG connector allows the software debugger to talk via a JTAG (Joint Test Action Group) port directly to the core. Instructions may be inserted and executed by the core thus allowing STM32F107 memory to be programmed with code and executed step by step by the host software. For more details please refer to IEEE Standard 1149.1 - 1990 Standard Test Access Port and Boundary Scan Architecture and STM32F107 datasheets and users manual.
PWR_JACK Pin # Signal name 1 Power input 2 GND USB_HOST Pin # Signal name 1 +5V_HOST_PWR 2 USB_HOST_D- 3 USB_HOST_D+ 4 GND USB_OTG Pin # Signal name 1 +5V_OTG_PWR 2 USB_OTG_D- 3 USB_OTG_D+ 4 OTG_ID 5 GND 3V_BAT Pin # Signal name 1 VBAT 2 GND
RS232 The RS232 port can be used for communication when in bootloader mode. To enter bootloader mode you need to close RST_E and BOOT0_E jumpers. Note that the default position of those jumpers is closed, e.g. bootloader mode disabled. Pin # Signal name 1 NC 2 T1OUT 3 R1IN 4 NC 5 GND 6 NC 7 CTS 8 RTS 9 NC UEXT Pin # Signal name 1 3.
LAN Pin # Signal name chip side Pin # Signal name chip side 1 TX+ 5 Not connected (NC) 2 TX- 6 VDD 3 VDD 7 RX+ 4 Not connected (NC) 8 RX- LED Color Usage Right Green Link status Left Yellow Activity status SD/MMC Pin # Signal name 1 2 3 4 5 6 7 8 9 10 11 12 MCIDAT2 CS_MMC SPI3_MOSI 3.
MECHANICAL DIMENSIONS All measures are in mils. AVAILABLE DEMO SOFTWARE All demo examples are available at the board's web-page (https://www.olimex.com/Products/ARM/ST/STM32-P107/) and wiki article (https://www.olimex.com/wiki/STM32-P107). Make sure that the demo you download is compatible with the board revision you have! The board revision is printed on STM32-P107 itself.
REVISION AND ORDERING INFORMATION STM32-P107 – fully assembled and tested You can purchase directly from our online shop or from any of our distributors. Note that usually it is faster and cheaper to purchase Olimex products from our distributors. List of confirmed Olimex LTD distributors and resellers: https://www.olimex.com/Distributors. Please visit https://www.olimex.com/ for more info. Manual revision history: REV. I REV. A REV. B REV. C REV. D REV. E REV. F REV.
rev. C ======== 1. L2 is now placed further from USB_HOST connector to avoid contact 2. Ethernet PHY Micrel KS8721 is changed to LAN8710A-EZC in RMII 3. Changed C18 from 100n to 4.7uF/6.3V according to the datasheet. C18 is now renamed C3. 4. STAT1, STAT2 and PWR_LED were changed to 0603 and its resistors to 2.2k. 5. SD/MMC capacitor was replaced by 2x22uF/6.3V capacitors. 6. LM3526 was exchanged with MIC2026-1YM and connection between pin 1 and pin4 was swapped because the default EN level is opposite. 7.
WARRANTY AND SUPPORT For product support, hardware information and error reports mail to: support@olimex.com. All document or hardware feedback is welcome. Note that we are primarily a hardware company and our software support is limited. Please consider reading the paragraph below about the warranty of Olimex products. All goods are checked before they are sent out. In the unlikely event that goods are faulty, they must be returned, to OLIMEX at the address listed on your order invoice.