MMstm32F107 User Guide REV 1.0 , lu ard ST Sta rve a , e o Ev B VR ers b S l d n io 1, A trol We mo t a ‘5 n d ni r i o e r c fo cro dd s M the e s d e i m mb oar rs, peC E B e S PI its ng roll gh r K pi nt Hi fo r y o rte tot roc FID ers s o c r Pr mi s, R mm lle rs or ler gra tro f ol n o s pr oco CB e nt r l u o m icr s, P for c e t t m m ds s ne S y T te ar s S l n I , sy Bo tro C d e PI or ion on b , es at roc We R c u AV pro val mic ed iE ro dd ic ng PIC be ds m M ni T, m r g S E oa rs, i s , ts e B de VR Ki ng roll t h i r , A rte typ on Hig 1 ‘5 Sta oto roc ID c r e rs P m i RF m e s l , r er fo ers ram trlv g n r s ll Se ule tro pro oco od con ms icr s, m ni net ste T m stem er Sy , S sy Bo h et d In PIC sor on e , c e at i ic e R m o u Sp AV opr val IC e r r fo ic g E T, P mb rs s M nin , S E g s r t g R i i in le ol des , AV er K typ B `51 tart roto roC r ic MinimoduleP fo rs S rs P r m rs, s with ARM rd olle rwe s fo olle a tr r Se ule ont am microcontroller and n o d b r Ethernet roc We mo et c og i pr c o d i n er n e o M m dd ds eth ste icr ar rs, Sy T m r o B olle In , S so tr ed IC oce ign P s c o S p e R , opr D e V cr h B Rtion ig r A Mi C a H f o rs , Pone asolution lu Many ideas s e s v s m er oll m ntr ste g E ard co Sy nin Bo Contents INTRODUCTION ........................................................................................................................................... 3 FEATURES................................................................................................................................................. 3 1. THE MODULE .......................................................................................................................................... 4 BLOCK DIAGRAM ....................................................................................................................................... 4 TERMINALS LAYOUT .................................................................................................................................. 5 STM32F107 MICROCONTROLLER ........................................................................................................... 6 ETHERNET PHY ....................................................................................................................................... 7 USB INTERFACE ....................................................................................................................................... 8 CAN INTERFACE ....................................................................................................................................... 9 RS232 INTERFACES ................................................................................................................................. 9 MICROSD MEMORY CARD SOCKET ......................................................................................................... 10 CORTEX DEBUG CONNECTOR ................................................................................................................ 10 POWER SUPPLY ...................................................................................................................................... 11 2 EVALUATION BOARD ......................................................................................................................... 12 3 EXAMPLE SOFTWARE ....................................................................................................................... 13 PROGRAMMING FLASH MEMORY OF STM32F107 ......................................................................... 14 PROGRAMMING THROUGH RS232 INTERFACE ...................................................................................... 14 PROGRAMMING THROUGH USB INTERFACE .......................................................................................... 17 4 SPECIFICATIONS ................................................................................................................................. 18 5 TECHNICAL SUPPORT ....................................................................................................................... 18 6 GUARANTEE ......................................................................................................................................... 18 7 ASSEMBLY DRAWINGS ..................................................................................................................... 19 8 DIMENSIONS ......................................................................................................................................... 20 9 SCHEMATICS ........................................................................................................................................ 20 Introduction MMstm32F107 is universal minimodule for the STM32F107 microcontrollers from ST Microelectronics. This microcontroller is available in the LQFP100 case which is difficult to solder in prototype and amateur circuits due to the compactness of pins. We have undertaken an attempt at placing it on a board of 36x61mm with a layout of leads which matches the commonly available prototype circuit boards and to EVBmmTm evaluation board. In addition, we have included Ethernet PHY 10/100Mb with RJ45 connector and magnetics, USB connector and socket for microSD memory card. All ports and signals of the microcontroller (except that used for Ethernet PHY) are lead out by means of two-row pin connectors with 0.1’ (2.54mm) pitch. This minimodule is not only an adapter but a complete main board for STM32F107 microcontroller. It needs only a connection to the supply voltage and we can start loading 256kBytes of Flash memory. Thanks to built-in bootloader, there is even no programmer necessary. Through integration of the peripherals with the microcontrollers on one board, the application of this module can lead to a shorter design period and facilitate the construction of systems based on ARM microcontrollers, by eliminating the need to design the printed board. The module is supplied with example software. The MMstm32F107 minimodule can be also used in didactic laboratories of informatics colleges and universities, and can be also used to build circuits realizing thesis projects. Features MMstm32F107 minimodule: Complete, ready to use microprocessor system Fast ARM STM32F107 microcontroller with up to 90DMIPS throughput Up to 256kB Flash memory and up to 64kB RAM Onboard 10/100Mbps Ethernet PHY and RJ45 connector with embedded magnetics USB mini B connector microSD memory card socket JTAG/SWD for in system programming and debugging Built-in 25MHz system clock resonator Built-in 32.768kHz RTC resonator Possibility to mount backup battery for RTC Onboard LED diodes for indicating Power supply, Ethernet connection status, USB status, and one user LED Module supply voltage: 5V 2 x 40 terminals with 0.1" (2.54mm) pitch fitting every prototype board Small dimensions: 36mm x 61mm Available evaluation board and sample applications 3 1. The module Block diagram A block diagram of MMstm32F107 minimodule is shown on the image below: 8 7 6 5 4 3 2 1 RJ45 Ethernet PWR FLASH PHY 50MHz ACT DP83848 LINK J1 J2 Batt GND 12MHz STM32F107 32kHz DEBUG USB PWR USB OVC Figure 1 Block diagram of MMstm32F107 minimodule. Minimodule can be ordered in different configurations with use of selector: MMstm32F107 – a – b – c Flash size: 1 – 128kB 2 – 256kB Ethernet connector: 0 – without RJ45 1 – with RJ45 Battery socket: 0 – not mounted 1 – mounted For example: MMstm32F107-2-0-1 – minimodule with 256kB Flash MCU, without battery socket, with RJ45 connector. 4 Terminals layout Figure 2 Terminals layout – top view. Detailed description of ports can be found in microcontroller datasheets. 5 STM32F107 microcontroller 32-bit ARM Cortex-M3 core clocked up to 72MHz 128 or 256kB in system programmable FLASH memory 48 or 64kB general purpose SRAM memory 4kB Ethernet SRAM memory 1.25kB USB SRAM memory In system programmable via JTAG, SDW, USB, RS232 or CAN 12-channel DMA controller Up to four 16-bit timers, each with up to 4 IC/OC/PWM or pulse counter 1 × 16-bit motor control PWM timer with dead-time generation and emergency stop Ethernet MAC USB 2.0 device/host/OTG (full speed) 2 CAN controller 5 UART interfaces Two I2C-bus interfaces Three SPI interfaces I2S interface SD/MMC interface Two 12-bit AD converters (16 channels) Two 12-bit DA converters Up to 80 fast I/O ports with 5V tolerance Advanced interrupt controller Low Power modes RTC with battery backup Single supply voltage 2.0 - 3.6V JTAG and SWD interfaces More info about STM32F107 can be found at manufacturer site: http://www.st.com/mcu/devicedocs-STM32F107VC-110.html 6 Ethernet PHY Minimodule is equipped with DP83848 Ethernet PHY and RJ45 connector with integrated magnetics. DP83848 features: 10/100 Mb/s operation Auto-MDIX IEEE 802.3u Auto-Negotiation and Parallel Detection IEEE 802.3u ENDEC, 10BASE-T transceivers and filters IEEE 802.3u PCS, 100BASE-TX transceivers and filters Low power consumption < 270mW typical Low power modes Optimized for cable length performance far exceeding IEEE specifications L1 +3V3 MII_AVDD BLM18HG102SN1D +C1 10u/16V J3 JFM24011-0101T GND 8 GND MII_AVDD U2 P1.14/ENET_RX_ER P1.17/ENET_MDIO P1.16/ENET_MDC #RESET 29 25 7 39 PWR_DOWN/INT TX+ TX- 14 13 RX+ RX- 24 R3 GND R4 49.9R 4.87k 1% 26 28 27 LED_ACT/COM/AN_EN LED_LINK/AN0 LED_SPEED/AN1 LED_ACT LED_LINK TD+ 1 TD+ RD- 6 RD- 5 RCT RD+ 4 RD+ 8 7 6 5 4 3 2 1 1CT:1 R5 49.9R MII_AVDD C3 100nF Yellow Green GND 34 X1 R6 PFBOUT PFBIN1 PFBIN2 AGND AGND AVDD33 +3V3 +3V3 8 9 10 11 12 TCK TDO TMS TRST# TDI +3V3 2k2 R7 240R R9 2k2 R12 240R R14 2k2 +3V3 33 X2 R11 2k2 IOVDD33 IOVDD33 +3V3 RBIAS RESET_N 25MHz_OUT PWR_DOWN/INT RX_DV/MII_MODE IOGND IOGND DGND R10 10k RD+ RD- 17 16 1CT:1 12 P1.8/ENET_CRS TD+ TD- TCT 11 P1.9/ENET_RXD0 P1.10/ENET_RXD1 DP83848 TXD_0 TXD_1 TXD_2 TXD_3/SNI_MODE TX_EN TX_CLK RXD_0/PHYAD1 RXD_1/PHYAD2 RXD_2/PHYAD3 RXD_3/PHYAD4 CRS/CRS_DV/LED_CFG RX_CLK RX_ER/MDIX_EN COL/PHYAD0 MDIO MDC TD- 2 10 P1.4/ENET_TX_EN 3 4 5 6 2 1 43 44 45 46 40 38 41 42 30 31 TD- 3 9 P1.0/ENET_TXD0 P1.1/ENET_TXD1 C2 100nF R2 49.9R GND R1 49.9R SHIELD 20 21 RESERVED RESERVED D1 D2 LED YELLOW R8 ACT 560R LED GREEN LINK R13 560R R15 R16 2k2 2k2 +3V3 J4 23 18 37 15 19 22 35 47 36 32 48 J5 X1 C6 C9 C10 100nF C11 100nF + 10u/16V GND +3V3 C7 100nF C8 100nF +3V3 1 3 GND GND GND OE VCC OUT GND 4 2 +3V3 C4 100nF GND CXO 50MHz GND L2 BLM18HG102SN1D 100nF +3V3 P1.15/ENET_REF_CLK Figure 3 Implementation of Ethernet interface in 32F107. DP83848 documentation can be found on manufacturer site: http://www.national.com Module can be also ordered without RJ45 connector, with gold pin connector mounted instead. 7 USB interface STM32F107 microcontroller have built-in USB 2.0 full-speed interface, which is capable of working as Host, Device or in OTG mode. Module is equipped with UBS mini B connector, power switching circuit (for Host mode) and LED diodes showing interface’s power state. U5 (STMPS2141STR) is power switch providing voltage supply to USB connector, it is controlled by MSU’s PC9 pin (active low). Additionally is has short-circuit protection disconnecting power from USB connector. Fault condition is indicated by low logic level on MCU’s PE1 pin and red LED diode “USB OVC”. If power switch will not be used, it can be disconnected by desoldering R37 and R38 resistors, what will make PC9 and PE1 pins available to other use. Thanks to D9 module can be also powered from USB connector. Presence of power supply voltage in USB connector (either from external source or from U5 switch) is signaled by red diode “USB PWR”. Schematics of module’s USB circuit is show below. +3V3 R32 470R D6 LED GREEN USB PWR D9 +5V +3V3 S1B R34 Q1 BC 847 10k +3V3 +3V3 R33 470R GND VBUS 1 C27 4.7uF STMPS2141STR 5 IN 4 OUT EN 3 FAULT 2 GND R35 10k U5 R36 10k +5V D7 LED RED USB FAULT R37 R38 0R 0R R42 R39 R40 R41 220R 22R 22R 220R PC9/USB_POWER_SW PE1/USB_OVC GND GND USB OTG J8 Vbus DD+ ID GND SH1 SH2 SH3 SH4 1 2 3 4 5 PA9/USB_VBUS PA11/USB_DM PA12/USB_DP PA10/USB_ID 6 7 8 9 USB B mini Connector GND Figure 4 Implementation of USB interface. 8 CAN interface MMstm32F107 microcontrollers have on chip two CAN interfaces, compatible with CAN2.0 A and B specifications. To connect MMstm32F107 minimodule to CAN bus additional circuit – CAN bus driver. Example of such circuit is shown below. GND HIGH 1 10K SLOPE 2 3 GND STM32F107 CAN J2 8 7 6 5 CAN H CAN L 1 2 3 GND CAN RS CANH CANL Vref D GND VCC R 1 2 3 4 GND +3.3V GND 2 SN65HVD230 TERM. GND 39 CAN1 GND J1 5 4 120R PD1/CAN1_TX PD0/CAN1_RX 11 12 PB6/CAN2_TX PB5/CAN2_RX CAN2 GND MMstm32F107 module Figure 5 Connection of MMstm32F107 to CAN bus RS232 interfaces STM32F107 microcontroller has five USART ports which can be used to connect the minimodule with a PC computer other equipment equipped with a RS-232 port. Such a connection requires a level converter based on a ST3232 or similar IC, connected to the TX and RX lines. Drawings below show example use of USART1 port. VCC 16 +3V3 100n 2 +5V C1+ 1 6 GND GND V- C1C2+ 100n 3 4 C214 7 13 8 T1 OUT T2 OUT R1 IN R2 IN GND GND 15 RS-232 100n 5 9 4 8 3 7 2 6 1 USART1 STM32F107 PA0/USART2_CTS PA1/USART2_RTS PA2/USART2_TX PA3/USART2_RX USART2 PB10/USART3_TX PB11/USART3_RX PB13/USART3_CTS PB14/USART3_RTS USART3 PC10/USART4_TX PC11/USART4_RX USART4 PC12/USART5_TX PD2/USART5_RX USART5 V+ 100n DB9F PA9/USART1_TX PA10/USART1_RX PA11/USART1_CTS PA12/USART1_RTS T1 IN T2 IN R1 OUT R2 OUT 5 11 10 12 9 ST3232 MMstm32F107 module GND GND Figure 6 Example of UART0 use as DCE. 9 microSD memory card socket Minimodule is equipped with microSD memory card socket, connected to microcontroller’s SPI3 port (pins PA4, PC12, PC10, PC11). Additionally , to PE0 is connected signal informing by low logic level that card is present in the socket. +3V3 R30 10k J7 microSD INS1 INS2 1 2 3 4 5 6 7 8 9 10 PA4/MICROSD_CS PC12/MICROSD_MOSI +3V3 GND PC10/MICROSD_SCK PC11/MICROSD_MISO PE0/MICROSD_DETECT 101 102 GND GND INSERTED microSD DAT2 [NC] CD/DAT3 [CS] CMD [DI] VCC CLK GND DAT0 [DO] DAT1 [NC] GND Figure 7 microSD connector. Cortex Debug connector Module is equipped with new standard of debugging/programming connector defined by ARM, called „Cortex Debug Connector”. It is a 10-pin (2x5) goldpin connector with 1.27mm pitch with small footprint on PCB. R24 R25 R26 10k 10k 10k +3V3 J6 1 3 5 7 9 2 4 6 8 10 TMS/SWDIO TCK/SWDCLK TDO/SWO TDI/NC nRESET MHDR2X5 Cortex Debug Connector PA13/TMS/SWDIO PA14/TCK/SWDCLK PB3/TDO/SWO PA15/TDI #RESET 10k GND VCC GND GND NC GNDDetect R27 +3V3 GND Figure 8 Cortex Debug connector. Figure 9 Pinout of Cortex Debug connector. 10 Power supply MMstm32F107 module require regulated 5V power supply with output current at least 300mA (when USB Hot function with capability of powering connected devices is not used) or 800mA (if this function is used). Module current draw is depended on many factors: CPU core and buses frequency, used peripherals, Ethernet controller activity, microSD activity etc. There are many possibilities to reduce power consumption thanks to microcontroller and PHY low power modes. Power supply should be connected to pins 1 (+5V) and 2 (GND) of J2 connector. Module’s built in power supply is shown below: D5 LL4148 C25 10u/16V TAB 3 + C26 10u/16V GND GND GND J1 GND VOUT 2 + 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 VIN GND 1 SPX2920M3-3.3 4 U4 GND J2 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 Header 20X2 +5V +3V3 VBUS 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 VBAT GND Header 20X2 Figure 10 Module’s power supply circuit. Module can be also powered from USB connector – more on this subject in „USB interface” section. 11 2 Evaluation Board In order to facilitate the design of equipment using the minimodule, an evaluation board has been prepared. It includes the following elements: Connector with all terminals of the minimodule Connectors of all peripherals accessible on board JTAG connector for in system programming and debugging Voltage regulators (+5V and +3,3V) Possibility supply with USB Port Power switch 8 switches and 8 LED diodes Buzzer 2 potentiometers IRDA port USB Device and USB Host ports Two ports RS232 with LEDs Codec Audio CAN Interface 1-WIRE connector SD/MMC card slot Alphanumeric LCD connector Graphic LCD connector More info can be found on page: http://www.propox.com/products/t_183.html Figure 11 EVBmmTm evaluation board. 12 3 Example software MCU manufacturer’s site contain many example applications showing how to handle different peripherals: http://www.st.com/mcu/devicedocs-STM32F107VC-110.html You can find there among others: Implementation of RC5 infrared remote control receiver ADC handling Sample WWW server Handling of serial ports, I2C, SPI Handling of USB port in Device and OTG modes Module is delivered with programmed sample application implementing Simple WWW server. Sources of this application can be found on our site: http://www.propox.com/download/software/demo_MMstm32_eth_lib.zip To quickly test bought module: Connect module to local Ethernet Network, or directly to PC with straight or crossed cable Connect module to PC with USB cable to power up module Visit www page at address http://192.168.0.8 On this page you can read voltage at ADC input (PC4, J1-29), and control four outputs, to whom you may connect e.g. LED diodes (LED1: PD7, J2-5; LED2: PD13, J2-30; LED3: PD3, J2-9, LED4: PD4, J2-8) Figure 12 WWW page Server by module. 13 Programming Flash memory of STM32F107 Flash memory of STM32F107 microcontroller can be programmed in two ways: using JTAG/SWD interface or through bootloader. In this documentation, second method, not requiring any special programming hardware, will be described. Bootloader program is stored in internal ROM memory and allow to program Flash memory through interfaces: USB, RS232 and CAN. To enable bootloader, during reset BOOT0 pin (connector J1, pin 1) should be connected to high logic level and BOOT1 to low logic level (BOOT1 have pull-down resistor, so it can be left unconnected). Boot mode selection pins BOOT1 (PB2) BOOT0 X 0 0 1 1 1 Boot mode Flash ROM (bootloader) RAM Table 1 MCU’s boot modes. Programming through RS232 interface To program processor through RS232, its USART2 port should be connected to PC using level translator, e.g. shown below: +3.3V 16 2 100n GND 100n VCC V+ RS-232 GND 1 6 2 7 3 8 4 9 5 TX0 RX0 1 3 4 5 11 7 10 13 12 8 9 V- GND 100n 100n 14 6 GND C1+ C1C2+ C2- PD5/USART2_TX PD6/USART2_RX 15 MAX3232CSE 100n GND DB9F GND GND Figure 13 RS232 level translator. Pins RS of USART1 (PA10) and CAN (PB5) should be connected to steady logic state, USB interface should be not connected. PC should have installed „Flash Loader Demonstrator” application from http://www.st.com/mcu/download2.php?file=um0462.zip&info=STM32F107VC%20Software%20%20PC%20&url=http://www.st.com/stonline/products/support/micro/files/um0462.zip ST: After launching this application (Start -> Programs -> STMicroelectronics -> Flash Loader Demonstrator -> Flash Loader Demo) appropriate COM port should be selected (another options can be left unchanged), then you can three times click “Next” button to go through subsequent windows: 14 Figure 14 First window of „Flash Loader Demonstrator” application. Figure 15 Second window of „Flash Loader Demonstrator” application. 15 Figure 16 Third window of „Flash Loader Demonstrator” application. In next window select „Download to device” and choose file to program: Figure 17 Fourth window of „Flash Loader Demonstrator” application. 16 After clicking „Next” processor will be programmed: Figure 18 Fifth window of „Flash Loader Demonstrator” application. Detailed documentation can be found in document: http://www.st.com/mcu/download2.php?file=13916.pdf&info=STM32F107VC%20Software%20%20PC%20&url=http://www.st.com/stonline/products/literature/um/13916.pdf Programming through USB interface Processor can also be programmed through USB interface. To do this use „DfuSe” application from ST: http://www.st.com/mcu/download2.php?file=um0412.zip&info=STM32F107VC%20Software%20%20PC%20&url=http://www.st.com/stonline/products/support/micro/files/um0412.zip Application documentation: http://www.st.com/mcu/download2.php?file=13379.pdf&info=STM32F107VC%20Software%20%20PC%20&url=http://www.st.com/stonline/products/literature/um/13379.pdf 17 4 Specifications Microcontroller STM32F107 Program memory do 256kB Data memory Memory card socket do 64kB Micro SD No. of digital I/O No. of analog inputs do 71 do 16 No. of analog outputs Do 2 Ethernet 10/100 Mb/s Auto-MDIX, onboard RJ45 Power supply 5V Power consumption Dimensions 800mA 36x61mm Weight ok. 100g Operating temperature range Humidity 0 – 70ºC 5 – 95% Connectors Double 2x40 header Ethernet RJ45 USB Cortex Debug Connector 5 Technical support In order to obtain technical assistance please contact support@propox.com . In the request please include the following information: number of the module version (e.g. REV 1) setting of resistors a detailed description of the problem 6 Guarantee The MMstm32F107 minimodule is covered by a six-month guarantee. All faults and defects not caused by the user will be removed at the Producer’s cost. Transportation costs are borne by the buyer. The Producer takes no responsibility for any damage and defects caused in the course of using the MMstm32F107 module. 18 7 Assembly drawings Figure 19 Assembly drawing – top layer. Figure 20 Assembly drawing – bottom layer. 19 8 Dimensions Figure 21 Dimensions – top view. Figure 22 Dimensions – side view. 9 Schematics 20 U1 R17 GND 10k PA0 PA1/RMII_REF_CLK PA2/RMII_MDIO PA3 PA4/MICROSD_CS PA5 PA6 PA7 PA8 PA9/USB_VBUS PA10/USB_ID PA11/USB_DM PA12/USB_DP PA13/TMS/SWDIO PA14/TCK/SWDCLK PA15/TDI 23 24 25 26 29 30 31 32 67 68 69 70 71 72 76 77 PB0 PB1 PB2/BOOT1 PB3/TDO/SWO PB4 PB5 PB6 PB7 PB8 PB9 PB10 PB11/RMII_TX_EN PB12/RMII_TXD0 PB13/RMII_TXD1 PB14 PB15 35 36 37 89 90 91 92 93 95 96 47 48 51 52 53 54 +3V3 C13 100nF GND C14 100nF GND C15 100nF GND C16 100nF GND C17 100nF 50 75 100 28 11 GND 49 74 99 27 10 L3 PA0-WKUP PA1 PA2 PA3 PA4 PA5 PA6 PA7 PA8 PA9 PA10 PA11 PA12 PA13 PA14 PA15 PE15 PE14 PE13 PE12 PE11 PE10 PE9 PE8 PE7 PE6 PE5 PE4 PE3 PE2 PE1 PE0 PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 PB9 PB10 PB11 PB12 PB13 PB14 PB15 PD15 PD14 PD13 PD12 PD11 PD10 PD9 PD8 PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 VDD_1 VDD_2 VDD_3 VDD_4 VDD_5 VSS_1 VSS_2 VSS_3 VSS_4 VSS_5 GND BLM 22 +3V3 C18 1uF C19 100nF 19 R19 220R GND VREF+ C28 1uF C22 100nF GND GND D8 R23 LL4148 470k GND VBAT 21 20 6 STM32F107Vx VDDA PC15-OSC32_OUT PC14-OSC32_IN PC13-ANTI_TAMP PC12 PC11 PC10 PC9 PC8 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 46 45 44 43 42 41 40 39 38 5 4 3 2 1 98 97 PE15 PE14 PE13 PE12 PE11 PE10 PE9 PE8 PE7 PE6 PE5 PE4 PE3 PE2 PE1/USB_OVC PE0/MICROSD_DETECT 62 61 60 59 58 57 56 55 88 87 86 85 84 83 82 81 PD15 PD14 PD13 PD12 PD11 PD10/RMII_RXD1 PD9/RMII_RXD0 PD8/RMII_CRS PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 9 8 7 80 79 78 66 65 64 63 34 33 18 17 16 15 PC15/OSC32_OUT PC14/OSC32_IN PC13 PC12/MICROSD_MOSI PC11/MICROSD_MISO PC10/MICROSD_SCK PC9/USB_POWER_SW PC8 PC7 PC6 PC5 PC4 PC3 PC2 PC1/RMII_MDC PC0 C11 GND 10pF X2 32.768kHz C12 GND 10pF VSSA VREF+ VREF- VBAT OSC_IN OSC_OUT NRST NC BOOT0 12 13 14 73 94 C20 22pF GND C23 22pF GND X3 25MHz R20 #RESET BOOT0 220R R22 10k GND BT1 3V CR2032 +3V3 +3V3 R18 10k C21 100nF http://www.propox.com email: support@propox.com GND Title: MMstm32F107 Battery Socket GND Size: File: Date: 08-02-2010 21 Sheet 1 of 4 Rev: 2 +3V3 R30 10k microSD INS1 INS2 +3V3 1 2 3 4 5 6 7 8 +3V3 PA4/MICROSD_CS PC12/MICROSD_MOSI +3V3 GND D3 LED RED USR PC10/MICROSD_SCK D4 LED GREEN PWR PC11/MICROSD_MISO R28 470R 9 10 R29 470R PE0/MICROSD_DETECT GND 101 102 GND GND INSERTED microSD DAT2 [NC] CD/DAT3 [CS] CMD [DI] VCC CLK GND DAT0 [DO] DAT1 [NC] PD7 J7 GND +3V3 R32 470R D6 LED GREEN USB PWR D9 +5V +3V3 S1B Q1 BC 847 +3V3 +3V3 R33 470R D5 GND 1 C27 4.7uF +5V R36 10k D7 LED RED USB FAULT R37 R38 LL4148 0R 0R PC9/USB_POWER_SW PE1/USB_OVC U4 1 +5V SPX2920M3-3.3 VIN GND C25 10u/16V USB OTG J8 Vbus DD+ ID GND SH1 SH2 SH3 SH4 1 2 3 4 5 R42 R39 R40 R41 220R 22R 22R 220R GND PA9/USB_VBUS PA11/USB_DM PA12/USB_DP PA10/USB_ID 2 + GND VOUT GND U5 VBUS STMPS2141STR 5 IN 4 OUT EN 3 FAULT 2 GND R35 10k TAB 10k 3 +3V3 + C26 10u/16V 4 R34 GND GND 6 7 8 9 GND http://www.propox.com email: support@propox.com USB B mini Connector GND Title: MMstm32F107 Size: File: Date: 08-02-2010 22 Sheet 2 of 4 Rev: 2 L1 BLM J3 +3V3 C1 U2 PD8/RMII_CRS R21 2k2 NM PA2/RMII_MDIO PC1/RMII_MDC GND #RESET 29 25 7 39 PWR_DOWN/INT RBIAS TX+ TX- 14 13 RX+ RX- 24 R3 GND R4 49.9R 4.87k 1% 26 28 27 LED_ACT/COM/AN_EN LED_LINK/AN0 LED_SPEED/AN1 LED_ACT LED_LINK TCT TD+ 1 TD+ RD- 6 RD- 5 RCT RD+ 4 RD+ 8 7 6 5 4 3 2 1 1CT:1 R5 49.9R MII_AVDD C3 100nF Yellow Green GND 34 X1 R6 PFBOUT PFBIN1 PFBIN2 AGND AGND AVDD33 +3V3 +3V3 8 9 10 11 12 TCK TDO TMS TRST# TDI +3V3 2k2 R7 220R R9 2k2 R12 220R R14 2k2 +3V3 33 X2 R11 2k2 IOVDD33 IOVDD33 +3V3 RD+ RD- RESET_N 25MHz_OUT PWR_DOWN/INT RX_DV/MII_MODE IOGND IOGND DGND R10 2k2 17 16 TD+ TD- 2 1CT:1 12 PD9/RMII_RXD0 PD10/RMII_RXD1 TXD_0 TXD_1 TXD_2 TXD_3/SNI_MODE TX_EN TX_CLK RXD_0/PHYAD1 RXD_1/PHYAD2 RXD_2/PHYAD3 RXD_3/PHYAD4 CRS/CRS_DV/LED_CFG RX_CLK RX_ER/MDIX_EN COL/PHYAD0 MDIO MDC R2 49.9R GND TD- 11 PB11/RMII_TX_EN R1 49.9R DP83848CVV TD- 3 C2 100nF 10 3 4 5 6 2 1 43 44 45 46 40 38 41 42 30 31 MII_AVDD SHIELD 9 PB12/RMII_TXD0 PB13/RMII_TXD1 8 GND 10u/16V GND JFM24011-0101T MII_AVDD + D2 LED YELLOW R8 ACT 470R LED GREEN LINK R13 470R 20 R15 21 R16 RESERVED RESERVED D1 2k2 2k2 +3V3 J4 23 18 37 15 19 22 35 47 36 32 48 J5 C4 C7 + C8 GND 100nF C9 +3V3 100nF GND 10u/16V GND GND C5 100nF C6 100nF GND L2 BLM 100nF X1 +3V3 PA1/RMII_REF_CLK +3V3 1 3 OE OUT VCC GND 4 2 +3V3 C10 100nF GND CXO 50MHz http://www.propox.com email: support@propox.com Title: MMstm32F107 Size: File: Date: 08-02-2010 23 Sheet 3 of 4 Rev: 2 J1 BOOT0 PB4 PB6 PB8 PE0/MICROSD_DETECT PE2 PE4 PE6 PC14/OSC32_IN PC0 PC3 PA0 PA4/MICROSD_CS PA6 PC4 PB0 PB2/BOOT1 PE8 PE10 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 GND J2 PB3/TDO/SWO PB5 PB7 PB9 PE1/USB_OVC PE3 PE5 PC13 PC15/OSC32_OUT PC2 VREF+ PA3 PA5 PA7 PC5 PB1 PE7 PE9 #RESET VBUS 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 +5V +3V3 PD7 PD5 PD3 PD1 PC12/MICROSD_MOSI PC10/MICROSD_SCK PA14/TCK/SWDCLK PA12/USB_DP PA10/USB_ID PA8 PC8 PC6 PD14 PD12 PB15 PB10 PE14 PE12 Header 20X2 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 VBAT PD6 PD4 PD2 PD0 PC11/MICROSD_MISO PA15/TDI PA13/TMS/SWDIO PA11/USB_DM PA9/USB_VBUS PC9/USB_POWER_SW PC7 PD15 PD13 PD11 PB14 PE15 PE13 PE11 GND Header 20X2 R24 R25 R26 10k 10k 10k +3V3 J6 1 3 5 7 9 2 4 6 8 10 PA13/TMS/SWDIO PA14/TCK/SWDCLK PB3/TDO/SWO PA15/TDI #RESET TMS/SWDIO TCK/SWDCLK TDO/SWO TDI/NC nRESET MHDR2X5 Cortex Debug Connector 10k GND VCC GND GND NC GNDDetect R27 +3V3 GND http://www.propox.com email: support@propox.com Title: MMstm32F107 Size: File: Date: 08-02-2010 24 Sheet 4 of 4 Rev: 2