Home

STM-P103 development board user's manual

image

Contents

1. 2 Kbits i 0 0000 0000 1 Kbit 1 Kbit 1 Kbit 1 Kbit 1 Kbit 0 4000 3800 0 4000 3400 0x4000 3000 b Reserved 0x4000 2c00 0 4000 2800 a o 7 Kbits 0 4000 0 00 1 Kbit 1 Kbit 1 Kbit 0 4000 0800 0 4000 0400 0 4000 0000 POWER SUPPLY CIRCUIT STM32 P103 can take power from two sources USB connector where 5V power supply is applied by USB host PWR jack where 6 9VDC or 5 9V AC may be applied as there is bridge rectifier the polarity doesn t matter The board power consumption is about 50 mA with all peripherials and MCU running at full speed there are different power saving modes which may put STM32F103RBT6 in power sleep mode and in these modes the consumption of the MCU is only few micro ampers RESET CIRCUIT STM32 P103 reset circuit is made with RC group R8 10K and C28 100nF Although on the schematic is made provision for external reset IC such 18 not necessary as STM32 have build in brown out detector Manual reset is possible by the RESET button CLOCK CIRCUIT Quartz crystal 8Mhz is connected to STM32F103RBT6 Internal PLL circuit can multiply this frequency up to 72Mhz 32 768 KHz quartz crystal is connected t
2. elg Gc WIS NIS Ol 0 00 mm 2 50 mm AVAILABLE DEMO SOFTWARE DEMOI Blinking LED for EW ARM 5 11 Blinks the on board LED DEMO2 USB mouse for EW ARM 5 11 Creates USB mouse and when board 18 connected to PC it starts moving the mouse cursor in circle DEMO3 Blinking LED for GCC OpenOCD Eclipse Blinks the on board LED ORDER CODE S TM32 P103 assembled and tested no kit no soldering required How to order You can order to us directly or by any of our distributors Check our web www olimex com for more info ATI boards produced by Olimex are ROHS compliant Revision history Rev A create April 2008 Rev B revised September 2013 Disclaimer 2013 Olimex Ltd All rights reserved Olimex logo and combinations thereof are registered trademarks of Olimex Ltd Other terms and product names may be trademarks of others 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 Neither the whole nor any part of the information contained in or the product described in this document may be adapted or reproduced in any material from except with the prior written permission of the copyright holder The product described in this document is subject to conti
3. 1827 OMMMW OLIMEX COM DEU 77 XC 2007 Rev on LED E R35 S AT pce 8 pcs nre e e O a a D d w EM POWER R39 7 8944 gf 6549 PWR_ JACK BUTTON status LED SCHEMATIC b L1 m 3 3U ferrite bead GNDA amp _ BA H B4 L 2 DU 3 3U 3 3U 3 3U 3 3U_MCU_E UL pon O 3 3U es 3 UDDA PB ADC8 TIM3_CH3 TIM1_CH2N 1 R54 1 123 s au e 16uF 10U 4 PB1 ADC9 TIM3_CH4 TIM1_CH3N 2 4 2 100K Meese 1 4 1 USSA 2 1 1 R59 R36 SARTA TX UEXT 3 UBAT PB4 JTRST TIM3 CH1 SPI1 MISO 29 pf SN 1204_SCL BAT_E PB5 12C1_SMBAI TIM3_CH2 SPI1_MOSI 25 Der sc PBS 12 1 508 UDD PB6 I2C1 SCL TIM4 CH1 USART1 TX 59 SDA R4 R18 SPI1 MISO UEXT 2 gt RST ig 00 PB7 I2C1 808 114 2 088 1 1 2 1 SPI4_MOSI 8 Z4 VOD PB8 TIM4 CH3 I2C1 SCL CANRX TX PBS SPI4_SCK UEXT 9 C5 c7 C8 UDD PBS TIM4_CH4 12C1_SDA CANTX 29 SPI1_NSS 18 ales EZ eB PB10 12C2 SCL USRRT3 TX TIM2 CH3 1 22 PB10 9 DESET PB11 12C2 SDA USRRT3 RX TIM2 CH4 2 SPI2 NSS 11 USS 1 PB12 SPI2_NSS 12C2_SMBAL USART3_CK TIM
4. STM P103 development board user s manual Rev B September 2013 Copyright c 2013 OLIMEX Ltd Some rights reserved INTRODUCTION STM32 P103 board is development board which allow exploring the complete features of the new ARM Cortex STM32F103RBT6 microcontrollers produced by ST Microelectronics Inc The board have SD MMC card connector and allow USB Mass storage device demo to be evaluated The RS232 driver and connector allow USB to Virtual COM port demo to be evaluated The CAN port and driver allow CAN applications to be developed The UXT connector allow access to all other UEXT modules produced by OLIMEX like MOD MP3 MOD NRF24LR MOD NOKIA6610 etc to be connected easily In the prototype area customer can solder his own custom circuits and to interface them to USB CAN RS232 etc BOARD FEATURES CPU STM32F103RBT6 ARM 32 bit CORTEX M3 JTAG connector with ARM 2x10 pin layout for programming debugging with ARM JTAG ARM USB OCD ARM USB TINY USB connector driver and connector 5232 driver and connector connector which allow different modules to be connected as MOD MP3 MOD NRF24LR etc SD MMC connector backup battery connector user button RESET button status LED power supply LED board voltage regulator 3 3V with up to 800mA current single power supply takes power from USB port or extension connector pin 8 Mhz crystal oscillator 32768 Hz c
5. Test Mode Select The TMS pin selects the next state in the TAP state machine Test Clock This allows shifting of the data in on the TMS and TDI pins It is a positive edgetriggered clock with the TMS and TCK signals that define the internal state of the device Test Data In This is the serial data input for the shift register Test Data Output This is the serial data output from the shift register Data is shifted out of the device on the negative edge of the TCK signal Test Reset The TRST pin can be used to reset the test logic within the EmbeddedlICE logic STM32F103RBT6 have 3 USARTs which are available on the extension headers One of them can operate up to 4 5 Mbit s the other two up to 2 25 Mbit s They provide hardware management of the CTS and RTS signals IrDA SIR ENDEC support are ISO 7816 compliant and have LIN Master Slave capability All USART interfaces can be served by the DMA controller USARTI Tx pin 42 9 EXT1 4 USARTI Rx pin 43 10 EXTI 7 USART2 Tx pin 16 PA2 EXT2 7 USARTOA2 Rx pin 17 EXT2 10 USART3 Tx pin 29 PB10 EXT2 14 USART3 Rx pin 30 11 EXT2 15 STM32F103RBT6 have 2 SPIs which able to communicate up to 18 Mbits s in slave and master modes in fullduplex and simplex communication modes The 3 bit prescaler gives 8 master mode frequencies and the frame is configurable from 8 bit to 16 bit The hardware CRC generation verification supports basic SD Card MMC modes B
6. 02 PAL4 JTCK SWCLK PD1 0SC_OUT 3 39 CP E lt PA15 JTDI TIM2_CH1_ETR SPI1_NSS PD2 TIM3_ETR PD2 2 STM32F 405RET6 lt LQFP64 STM32F1 3RBT6 lt LQF P64 ce2 D43 D42 SD_CARDBOT C20 C29 TRST TDI TMS TCK TDO RST 2K gt gt 0 O sO 513232 3 3U 5 5 5U_USB CNTRL HS NA ENTRE 3 c1 2 04 3 3U BC817 Sabre pes SORTE ee T10UT CAN CAN_TX LARIE di tg T2IN T20UT 3 2 R51 een R1OUT 1 CAN_RX 01 1 5K Anker ta R20UT RIN R1E 330 C37 CTS E CON33 5MM SN65HUD230 16 cc 15 ON 120 3 3 3U U4 C41 USBLC6 2P6 lt NAD 100nF mb 1 4 416 USBDP Notes 3 30 3 30 Bx r 2 UBM 2h 1 When STM32F4 5RET6 lt LQFP64 is mounted C22 and C24 must be populated USB C10 C17 C16 2 When STM32F1 3RBT6 lt LQFP64 is mounted C22 and C24 must be short circuit for example with Ohm resistor STAT uu 100nF 47pF NAD 47pF NAD 3 U1 s symbol refers to STM32F1 3RBT6 lt LQFP64 RED 108nF For the STM32F4 5RET6 lt LQFP64 please see the corresponding datasheet ES WAKE UP m 3 3U 1K YUR1 3 3U O 5 R33 11117 UIN AN 22K VIN UCC o 2 amp 1 Sum 20 6ND SIM32 P4103 rev D LED_E G1 i R18 2 V PWR gt 2 DB1 4 lt SMD s T 240 17 PUR Mes ae ca cae El 017 Tm Boo 728 WE s Olimex LID Plovdiv Bulgaria 2013 p o gt 3 390 1 42 19 2k Ns ORB m GND h t t a 1
7. Mounte 600 m DS UUuuUu oLrLime x com N 2 PROCESSOR FEATURES STM P103 board use ARM 32 bit Cortex M3 CPU STM32F103RBT6 from ST Microelectronics with these features clock up to 72Mhz FLASH 128KB RAM 20KB x7 channels RTC WDT Timers 3 1 SPI x2 12 2 USART x3 USBxIl multiplexed with USB so both can t be used in same time up to 51 multiplexed with peripherials 2 ADC 12 bit operating voltage 2 0 3 6V temperature 40C 85C STM32F103xx performance line block diagram TRACECLK TRACEDJ 0 3 TPIU as AS Trace trig C peus 7 Controlle POWER JNTRS SWIJTAG Vpp 2 3 6V VOLT REG Cortex M3 CPU Cus P8 o 3 3V TO 1 8V 55 JTMS SWDIO JTDO TR 15 64 bit as AF Fmax VDD 1 14 pu XTAL OSC 5 OUT GP DMA ae al cock MHz 7 channels MANAGT IWDG GOVEDA Stand by SUPPLY interface E SUPERVISION POR PDR OSC32 IN OSC32 OUT TAMPER RTC EXTI 29 PA 15 0 lt _ gt GPIOA PB 15 0 PC 15 0 GPIOC er ERA 09 4 lt gt 4Channels PD 15 15 04 4 GPloD umm RX TX CTS RTS USART2 CK SmartCard as AF PE 15 0 7 epo RX TX CTS RTS 2 1 CK SmartCard as AF gt SPI2 lt gt MOSIMISO SCK NSS as AF 3 compl Channels E SCK NSS as AF 2 2 gt SC
8. 1_BKIN spro seck PB12 3 3U SOME BBE LES 2 PB13 SPI2 SCK USRRT3 CTS TIMi CHiN spro mso QPB13 USS PB14 SPI2_MISO USART3_RTS TIM1_CH2N spro MOS QPB14 STS USS PB15 SPI2_MOSI TIM1_CH3N PB15 3 3U NRST 1 H PCB 0 hier R3 R T BOOTO PC2 ADC12 141 2 2 1 40k LI10k L 10k 18k 10k WAKE UP PC3 ADC13 24 USB P QDPC3 En ds HE 5 PAL USART2_RTS ADC1 TIM2_CH2 5 80 15 gt PC5 WP_E SD MMC 2 32 x s T T ae PA2 USART2_TX ADC2 TIM2_CH3 PC6 TIM3_CH4 22 OPCS WP Te 10 m SPIL NS PA3 USART2_RX ADC3 TIM2_CH4 PC7 TIM3_CH2 5 3 EDI Ste PA4 SPI1_NSS USART2_CK ADC4 PC8 TIM3 CH3 5 PC8 a EDI MISO PAS SPI1_SCK ADC5 PCS TIM3 CH4 CNTRE PCS SPI2 NSS T pem a SPIT MOST PA SPI1 MISO RDC TIM3 CHi TIMi BKIN PC1 USART3_TX 25 DISC OPC10 PT MO zm Bev 2011 m PA7 SPI1 MOSI RDC2 TIM3 CH2 TIM1 CHiN PC11 USART3_RX 25 LED 3 30 o Bi ee USART TX PA8 USART1_CK TIM1_CH1 MCO PCA2 USRRT3 CK 9 Q PC12 Q2 32768 ee C USARTI RX PAS USART1_TX TIM1_CH2 PC13 ANTI_TAMP PC13 SPI2_SCK 470nH 5 LK SCLK PAL USART1_RX TIML_CH3 PC14 0SC32_IN 1 2 65 fees JTAG PA11 USART1_CTS CANRX USBDM TIM1_CH4 PC15 0SC32_0UT Cy 249 418 SPI2_MISO Fi PA12 USART1_RTS CANTX USBDP TIM1_ETR 8 3 39 C R44 8K Bc PA13 JTMS SWDIO PD OSC_IN 3 39 gt lt R45 5 10K ere
9. L SDA PAGAN USBDP CANTX icm USBDM CANRX USB2 0FS 12bit IF SRAM 5128 tabitADC2 FIELD SRAM S128 lt gt WWDG 1 Fmax 24 36 MHz 14390 1 Ta 40 to 105 C junction temperature up to 125 2 AF alternate function on I O port pin MEMORY MAP APB memory space OxFFFF FFFF OxE010 0000 0x6000 0000 4 Kbits reserved 1 Kbit 0 4002 3400 0 4002 3000 xFFFF FFFF reserved 3 Kbits OxFFFF F000 0x4002 2400 Flash Interface 4 Kbit 0 4002 2000 7 0x4002 1400 rannad 3 Kbits 1 Kbit 3 Kbits 1 Kbit 0x4002 1000 0xE010 0000 intemal 0 00 0000 Peripherals 0 4002 0400 0 4002 0000 1 Kbit 0 4001 3 00 1 Kbit 0 4001 3800 1 Kbit 0 000 0000 0x4001 3400 1 Kbit 1 Kbit 1 Kbit 1 Kbit 0 4001 3000 0 4001 2CO00 0 4001 2800 0 4001 2400 000 0000 2 Kbits 0 4001 1 00 E 2 OxlFFF F80F _ 0 4001 1400 0 8000 0000 Option Bytes 0x4001 1000 OxLFFF F800 0 4001 0 00 0 4001 0800
10. System memory 0 4001 0400 0 4001 0000 0 1 F000 1 Kbit 1 Kbit 1 Kbit 1 Kbit 1 Kbit 1 Kbit 1 Kbit 11 i IHH E 0 6000 0000 35 0 4000 7400 1 Kbit 0 4000 7000 1 Kbit 0x4000 6C00 1 Kbit 0 4000 6800 0 4000 0000 Peripherals i 4 Kbit 0 4000 6400 shared 512 byte 1 Kbit ox4000 6000 USB CAN S USB Registers 1 Kbit 0x4000 5 00 1 Kbit 1 Kbit 0 4000 5800 0 4000 5400 0 0801 FFFF 0x4000 4CO0 0x4000 4800 Flash memory 0x4000 4400 0 0800 0000 0 4000 3 00 2 Kbits 1 Kbit 1 Kbit i
11. ction interface It has software configurable endpoint setting and suspend resume support The dedicated 48 MHz clock source is generated from the internal main PLL The CAN and USB share same pins 11 1 PA12 EXT1 3 so you can t use both CAN and USB on same time Pin Pin ADC 5V STM32F103RBT6 have two 12 bit Analog to Digital Converters which share up to 16 external channels performing conversions in singleshot or scan modes In scan mode automatic conversion is performed on a selected group of analog inputs Additional logic functions embedded in the ADC interface allow Simultaneous sample and hold Interleaved sample and hold Single shunt The ADC can be served by the DMA controller An analog watchdog feature allows very precise monitoring of the converted voltage of one some or all selected channels An interrupt is generated when the converted voltage 18 outside the programmed thresholds The events generated by the standard timers TIMx and the Advanced Control timer TIM1 can be internally connected to the ADC start trigger injection trigger and DMA trigger respectively to allow the application to synchronize A D conversion and timers MECHANICAL DIMENSIONS 200000 100000 10 Fo 20000000000 zio uir LE 2 28 55 zc 1 re GALS AMP 787616 1
12. nuous development and improvements All particulars of the product and its use contained in this document are given by OLIMEX in good faith However all warranties implied or expressed including but not limited to implied warranties of merchantability or fitness for purpose are excluded This document is intended only to assist the reader in the use of the product OLIMEX Ltd shall not be liable for any loss or damage arising from the use of any information in this document or any error or omission in such information or any incorrect use of the product
13. o STM32F103RBT 6 for it s internal Real Time Clock PROTOTYPE AREA CONNECTOR DESCRIPTION Please have look at board layout picture all signals are on the silkscreen JUMPER DESCRIPTION BAT_E USBP E LED E Connects JTAG TRST signal to STM32F103RBT6 RESET Default state closed shorted Connects 3 3V to STM32F103RBT6 Vbat pin 1 Default state closed shorten Vbat signal is also available to BAT 3V connector so if you want to connect external backup battery to the STM32F103RBT6 this jumper should be opened unshorted and the external battery to be connected to BAT connector see connector description for BAT 3V connector pining VBAT accept 2 3 6V Connects USB power supply to STM32F103RBT6 pin 24 PC4 ADC14 and allow to detect if the board is connected to USB host Default state closed shorten Connects STATUS LED to STM32F103RBT6 pin 53 PC12 Default state closed shorten boot sequence select CANO T CNTRL HS L Bootl High Bootl Low BO L Boot0 High Boot0 Low Default position Bootl is log 0 Em Boot0 is log 0 81 4 selection pins Boot mode BOOT1 BOOTO 90 User Flash memory User Flash memory is selected as boot space 0 1 SystemMemory SystemMemory is selected as boot space Embedded SRAM Embedded SRAM is selected as boot space Connect 120 Ohm terminator between CAN and CAN busses Default state cl
14. osed shorten CNTRL HS 1 CNTRL HS jumper is open 10 KOhm resistor is connected to slope control pin of SN6SHVD230 CAN driver 1 e 15V uS driver output signal slop RTS_E CTS E CP E wP E CNTRL HS 4 2 CNTRL HS is connected to HS side T High speed of output CAN drivers gt 20v uS No slope control CNTRL HS e p 3 CNTRL HS is connected to CNTRL side LSS Enable PC10 pin 51 of STM32F103RBT6 to control CAN driver modes Log 1 of PC10 disable CAN driver Log 0 of PC10enable CAN driver with high speed mode Default state open Connect PAI USART2 RTS pin to COM port driver ST3232 USART2 RTS function of PAI is used for handshake mode of COM port Default state open Connect PAO WKUP USART2 CTS pin to COM port driver ST3232 USART2 CTS function of PAI is used for handshake mode of COM port By default is used Wake Up function PA is permanent tied to Wake Up button Default state open Card Present Enable Allow PC7 pin 38 to detect Multi Media Card present in socket Log 1 of PC7 MMC present Log 0 of PC7 Card absent Default state closed shorten Write Protect Enable Allow PC6 pin 37 to detect write protected state of Multi Media Card Log 1 of PC6 MMC no write protected Log 0 of PC7 MMC is write protected Default state closed shorten 3 3V_ MCU E Connect 3 3V regulated voltage to STM32F103RBT6 power pins 3 3 MCU E jumper is used if you need to measu
15. oth SPIs can be served by the DMA controller SPII NSS pin 20 PA4 EXT2 11 SPII SCK pin 21 PAS EXTI 18 SPII MISO pin 22 PA6 EXTI 14 SPII MOSI pin 23 7 EXT1 22 SPI2 NSS pin PB12 SPI2 SCK pin PB13 SPI2 MISO pin PB14 SPI2 MOSI pin 15 STM32F103RBT6 have two bus interfaces which can operate in multi master and slave modes They can support standard and fast modes They support dual slave addressing 7 bit only and both 7 10 bit addressing master mode A hardware CRC generation verification is embedded They can be served by DMA and they support SM Bus 2 0 PM Bus I2C1 SDA pin 59 PB7 EXTI 15 I2C1 SCL pin 58 PB6 EXTI 13 I2C1 SMBA pin 57 PBS EXTI 12 I2C2 SDA pin 30 11 EXT2 15 I2C2 SCL pin 29 PB10 EXT2 14 I2C2 SMBA pin 33 PBI2 EXT2 17 CAN The STM32F103RBT6 CAN is compliant with specifications 2 0A and B active with a bit rate up to 1 Mbit s It can receive and transmit standard frames with 11 bit identifiers as well as extended frames with 29 bit identifiers It has three transmit mailboxes two receive FIFOs with 3 stages and 14 scalable filter banks The CAN and USB share same pins 11 1 PA12 EXT1 3 so you can t use both CAN and USB on same time Signal Name GND The STM32F103RBT6 embeds a USB device peripheral compatible with the USB Full speed 12 Mbs The USB interface implements a full speed 12 Mbit s fun
16. re current consumption of the microcontroller Default state closed shorten Boot mode selection pins Boot mode 1 OX User Flash memory is selected as boot space 0 SystemMemory SystemMemory is selected as boot space E Embedded SRAM Embedded SRAM is selected as boot space INPUT OUTPUT TAG User button with name BUT connected to STM32F103RBT6 14 PAO WKUP Status green LED with name STAT connected to STM32F103RBT6 53 PC12 note that LED E SMT jumper should be shorted to may LED work properly it s shorted by default if you decide to use PC12 port for other purpose you have to remove the solder short on this jumper which will disconnect the LED from PC12 port Power supply red LED with name PWR indicates that 3 3V power supply is applied The JT AG 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 STM32F103RBT6 memory to be programmed with code and executed step by step by the host software For more details refer to IEEE Standard 1149 1 1990 Standard Test Access Port and Boundary Scan Architecture and STM32F103RBT6 datasheets and users manual JTAG CONNECTOR PIN DESCRIPTIONS Signal Name Signal Name TMS Input TCK Input TDI Input TDO Output TRST Input RS232 2 4 6 8 10 12 14 16 18 20 a a a a a 15 17 419
17. rystal RTC backup battery connector extension headers for all uC ports RESET button status LED power supply LED board voltage regulator 3 3V with up to 800mA current single power supply takes power from USB port or power supply jack FR 4 1 5 mm 0 062 soldermask silkscreen component print Dimensions 100 x 90mm 3 94 x 3 5 ELECTROSTATIC WARNING The STM32 P103 board is shipped in protective anti static packaging The board must not be subject to high electrostatic potentials General practice for working with static sensitive devices should be applied when working with this board BOARD USE REQUIREMENTS Cables 1 8 meter USB A B cable to connect to USB host Hardware ARM JTAG ARM USB OCD ARM USB TINY or other ARM JTAG compatible tool Software ARM C compiler and debugger software the possible options are free open source platform GNU C compiler OpenOCD and Eclipse support all low cost Olimex JTAG debuggers commercial solution EW ARM from IAR Systems AB require expensive J LINK debugger CrossWorks from Rowley supports Olimex low cost JTAG debuggers BOARD LAYOUT JTAG UEXT PROTO AREA o ONNFOCS R425 T R13 cQ R6 dp R DET R11 c CTO RTS ESL m 55 11111111 ic 1 2 0 c gt BAT 3 3U_MCU E oe CF t 3682 0284 T STM32 103 819 USB E

Download Pdf Manuals

image

Related Search

Related Contents

  iHome iP39  HP 400GB 12G SAS HE SFF 2.5-in SC EP 3yr Wty  ISTRUZ STELLA 2.qxd - Lanzini Illuminazione    Allgemeine Informationen  映し出す無限の可能性。  Summary of research on the ease of use of domestic  DPX110/DPS110  

Copyright © All rights reserved.
Failed to retrieve file