Home

STM-P103 development board User`s manual

image

Contents

1. RX PAS USART1_TX TIM1_CH2 PC13 SPI2_SCK L 70nH 05 PA10 USART1_RX TIM1_CH3 PC14 0SC32_IN O e 4882 JTAG PA11 USART1_CTS CANRX USBDM TIM1_CH4 PC15 OSC32 OUT R49 10K SPI2 MISO DATO PA12 USART1_RTS CANTX USBDP TIM1_ETR 3 3V O R44 LOK DAT4 RES PA13 JTMS SWDIO PDO OSC IN 5 3 3V Q9 R45 10K eee D2 PA14 JTCK SWCLK PD1 OSC_OUT E lt PA15 JTDI TIM2_CH1_ETR SPI1_NSS PD2 TIM3_ETR PD2 CP 13 cp4 7 1N5819S STM32F405RET6 LQFP64 STM32F103RBT6 LQFP64 0 CP2 R43 SD_CARDBOT 298 USB P 2 R42 C20 C29 1 2 USB TRST TDI TMS TCK TDO RST 2K 15K e ie i R24 22 O 5 2 2 SOM 513232 ste 3 3V N q 5V_USB 5V_USB CNTRL 1 3 Q4 62 BC817 USART2 TX 11 TAIN T1OUT UART2 RTS 1 T2IN T20UT RTS E USART2 RX D CON33 5MM SN65HVD230 zi U5PWR R27 100nF 1N5819S 1 GND15 120 3 3V U4 C41 USBLC6 ee 100nF e 2 as EE USBDP Notes 3 3V 3 3V D EXC CER ucl 4 1 When STM32F405RET6 LQFP64 is mounted C22 and C24 must be populated ud 2 When STM32F103RBT6 LQFP64 is mounted C22 and C24 must be short circuit for example with O Ohm resistor STAT WAKE UP 100nF 47pF NA 47pF NA 3 U1 s symbol refers to STM32F103RBT6 LQF P64 RED 100nF For the STM32F405RET6 LQFP64 please see the corresponding datasheet R34 WAKE UP 3 3V R35 VR1 3 3V 2k VIN A LM1117 NOU veg STM32 P103 revision D oc
2. revision o ADJ GND Enoi R10 V PWR STM32 P405 revision D oes 28 12 240 1 PWR_JACK C1 C3 C30 C4 gt R9 R7 100nF gt gt 1 ow EB E x OLIMEX LTD 2014 PLOVDIV BULGARIA 5VAC 8 2 r OR Board Mounted 6VDC S S ocv HTTPS Z7 NWW OLIMEX COM PROCESSOR FEATURES STM P103 board use ARM 32 bit Cortex M3 CPU STM32F103RBT6 from ST Microelectronics with these features CPU clock up to 72Mhz FLASH 128KB RAM 20KB DMA x7 channels RTC Timers 3 1 SPIx2 12 2 USART x3 USBxl xl multiplexed with USB so both can t be used at the same time GPIO up to 51 multiplexed with peripherals 2 ADC 12 bit operating voltage 2 0 3 6 operating temperature 40 to 85 C STM32F103xx performance line block diagram TRACECLK TRACED 0 3 dese TPIU Trace as AS lt mus gt Controlle r JNTRS dub SW JTAG JTDI POWER Vpp 2 to 3 6V VOLT REG JTCK SWCLK Cortex M3 CPU lt 8 RON RS 3 3V TO 1 8V ss JTMS SWDIO JTDO 5 64 bit Fmax 72 MHz 1 14 GP DMA PCLK2 4 HCLK 7 channels SUPPLY SUPERVISION POR PDR EXTI 4 Channels 3 compl Channels Brk input MOSI MISO SCK NSS as AF gt SPH RX TX CTS RTS Smart Card as AF duum USART1 VDDA ___ 12bit ADC IF tabitADC2 FIELD Ta 40 C to 1
3. MECHANICAL DIMENSIONS AMP 787616 1 mo mo Hoo aH ac oo A IE O O O 0 00 mm 2 50 mm 97 50 mm 100 00 mm AVAILABLE DEMO SOFTWARE DEMO1 Blinking LED for EW for ARM 5 41 Blinks the on board LED DEMO2 USB mouse for EW ARM 5 41 Creates USB mouse and when board is connected to PC it starts moving the mouse cursor in circle DEMO3 UEXT demo with MOD LCD3310 for EW ARM 6 3x Shows UEXT connection to MOD LCD3310 module DEMO4 Blinking LED for GCC OpenOCD Eclipse Blinks the on board LED ORDER CODE STM32 P103 assembled and tested no kit no soldering required How to purchase You can purchase directly from our web shop or from any of our distributors List of distributors https www olimex com Distributors Please visit https www olimex com for more info lead free All boards produced by Olimex are ROHS compliant Revision history REV A released April 2008 REV B released September 2014 DISCLAIMER 2014 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 t
4. STM P103 development board User s manual Rev B September 2014 Copyright c 2014 OLIMEX Ltd All rights reserved INTRODUCTION STM32 P103 board is development board which allows you to explore thee features of the ARM Cortex M3 STM32F103RBT6 microcontroller produced by ST Microelectronics Inc The board has SD MMC card connector and allows USB Mass storage device demo to be evaluated The RS232 driver and connector allows USB to Virtual COM port demo to be evaluated The CAN port and driver allows CAN applications to be developed The UEXT connector allows 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 the customer can solder his own custom circuits and interface them to USB CAN RS232 etc STM32 P103 is almost identical in hardware design to STM32 P405 The major difference is the microcontroller used STM32F103 vs STM32F405 Another board with STM32F103 and a display is STM32 103STK A smaller and cheaper board with STM32F103 is the STM32 H103 Both boards mentioned also have a version with the newer microcontroller STM32F405 used The names are respectively STM32 405STK and STM32 H405 BOARD FEATURES STM32 P103 board features CPU STM32F103RBT6 ARM 32 bit CORTEX M3 connector with ARM 2x10 pin layout for programming debugging with ARM JTAG ARM USB OCD ARM USB TINY USB connector driver and conne
5. 0 00 0 4001 0800 System memory 0 4001 0400 0x4001 0000 OxlFFF F000 0x6000 0000 0 4000 7400 0 4000 7000 0 4000 6 00 0 4000 6800 0 4000 0000 Peripherals 0x4000 6400 shared naate 0x4000 6000 USB CAN S USB Registers 0 4000 5 00 0 2000 0000 0 0801 0x4000 4 00 4 4 Flash memory 0 4000 4800 0x4000 4400 Sr 0 0800 0000 0 0000 0000 0x4000 3 00 0 4000 3800 0 4000 3400 0 4000 3000 0 4000 2c00 0 4000 2800 0 4000 8 00 0 4000 0800 0 4000 0400 0 4000 0000 POWER SUPPLY CIRCUIT STM32 P103 can take power from three sources USB connector where 5V power supply is applied by USB host PWR jack where 6 9VDC or 5 9 AC may be applied as there is bridge rectifier the polarity doesn t matter Li Po battery attached to the BAT connector IMPORTANT By default you can have either battery or external power supply connected If you connect both you might damage the board or the battery If you need to keep the physical connection consider changing the default position of the BAT E jumper The board power consumption is about 50mA with all peripherals and MCU running at full speed there are different power saving modes which may put STM32F103RBT6O 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 schemati
6. 05 C junction temperature up to 125 AF alternate function on I O port pin CLOCK 4 16 MHz VDD OSC_IN XTAL OSC OSC_OUT MANAGT IWDG APB1 Fmax 24 36 MHz Stand by interface BAT OSC32_IN OSC32_OUT Backup RTC reg TAMPER RTC diem TIM2 lt gt 4 Channels 2 2 TIM3 4 Channels 4 gt 4Channels gs ARTS RX TX CTS RTS US CK SmartCard as AF ASN RX TX CTS RTS USARTS CK SmartCard as AF SPI2 lt gt MOSI MISO SCK NSS as AF as AF Cc I2C2 Cor SCL SDA as AF gt bxCAN USBDP CANTX USBDM CANRX lt gt USB2 0FS lt SRAM 512B lt ai14390b APB memory space OxFFFF FFFF 0 010 0000 reserved 0 6000 0000 reserved 0 4002 3400 reserved 0x4002 3000 OxFFFF FFFF reserved 0x4002 2400 OxFFFF F000 Flash Interface 0 4002 2000 7 0 4002 1400 OxEO10 0000 0 4002 1000 ortex M3 Intemal 0 00 0000 Peripherals 0 4002 0400 0 4002 0000 0x4001 3 00 0 4001 3800 0 000 0000 0 4001 3400 0 4001 3000 0 4001 2000 0 4001 2800 0 4000 5800 0 4000 5400 0 4001 2400 0xA000 0000 0 4001 1 00 4 1 0 4001 1800 1 0 4001 1400 0 8000 0000 Option Bytes 0x4001 1000 OxlFFF F800 0 4001
7. 8 10 12 14 16 18 20 smi GND ms mx TMS Input Test Mode Select The TMS pin selects the next state in TAP state machine Input Test Clock This allows shifting of the data in on TMS and TDI pins It is a positive edgetriggered clock with the TMS and TCK signals that define the internal state of the device TDI Input Test Data In This is the serial data input for the shift register TDO Output 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 TRST Input Test Reset The TRST pin can be used to reset the test logic within the EmbeddedICE logic RS232 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 IIDA 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 PA9 EXTI 4 USARTI RX pin 43 PATIO EXT1 7 USART2 TX pin 16 PA2 EXT2 7 USART2 RX pin 17 EXT2 10 USART3 TX pin 29 PB10 EXT2 14 USART3 RX pin 30 11 EXT2 15 Signal Name m Name 85 4NC 0 01 58D SPI STM32F103RBT6 have 2 SPIs which able to communicate up to 18 Mbits s in slave and master mode
8. 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 Connects 3 3V regulated voltage to STM32F103RBT6 power pins 3 3 E jumper is used if you need to measure current consumption of the microcontroller Default state closed shorten INPUT OUTPUT User button with name BUT connected to STM32F103RBT6 pin 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 18 applied The connector allows the software debugger to talk via 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 2 4 6
9. PB7 I2C1 SDA TIMA CH2 USART1 RX 10K 5 11_ 8 RESET VDD PB8 TIM4 CH3 I2C1 SCL CANRX SPI1 SCK UEXT 9 VDD PB9 TIMA CH4 I2C1 SDA CANTX SPI1 NSS s ND C28 5 06 7 i D PB10 I2C2 SCL USART3 2 CH3 Q PB10 PEAT OG 4 9 RESET C22 3 11 202 SDA USART3 2_ 25 SPI2 NSS PB11 3 d 216 VSS 2 PB13 SPI2_SCK USART3_CTS TIM1_CH1N 22 SP2 Miso Q PB13 vss PB14 SPI2_MISO USART3_RTS TIM1_CH2N SPI2 MOSI PB14 vss PB15 SPI2_MOSI TIM1_CH3N PB15 3 3V Q NRST PCO ADC10 060 N PC1 ADC11 OPC1 10 22 ibs R6 BOOTO PC2 ADC12 PC2 jas Pal 10k 13 24 USB P el i R38 n SRAT 0 ARTO RTS PAO WKUP USART2_CTS ADCO TIM2_CH1_ETR PCA ADC14 55 ADCTS QPCA4 33K Geri 215126 SART2 TX PA1 USART2_RTS ADC1 TIM2_CH2 PC5 ADC15 37 WP PCS WP_ SD MMC Ea _ o SART2 PA2 USART2 TX ADC2 TIM2 CH3 PC6 TIM3 CH1 PC6 WP 2 10 wow LLLA PA3 USART2_RX ADC3 TIM2_CH4 PC7 TIM3_CH2 PC7 WP2 z PA4 SPI1_NSS USART2_CK ADC4 PC8 TIM3_CH3 40 Q PC8 Eu PAS SPI1 SCK ADC5 PC9 TIM3 CHA 2 1 pue a E x e CNTRE P2 27 at MISO PA6 SP11_MISO ADC6 TIM3_CH1 TIM1_BKIN PC10 USART3_TX 21 ENTRE PC10 C15 2 2 CDD Me 15 RI Ok PA7 SPI1 MOSI ADC7 TIM3 CH2 TIM1 CH1N PC11 USART3_RX 25 LED 3 3V 3 vss T R17 HOOK USARTT TX PA8 USART1_CK TIM1_CH1 MCO PC12 USART3_CK 1 2 PC12 Q2132768 VDD C
10. an t use both CAN and USB on same time Signal Name 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 function 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 PAII EXTI 1 PA12 EXT1 3 so you can t use both CAN and USB on same time Pin Z Signal Name 1 5 3 USBDP 4 GND ADC 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 allows 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 is 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
11. c we have provided pads for external reset IC such is not necessary as STM32 have build in brown out detector Manual reset 18 possible by the RESET button CLOCK CIRCUIT Quartz crystal 8Mhz is connected to STM32F103RBTO6 Internal PLL circuit can multiply this frequency up to 72Mhz 32 768 KHz quartz crystal is connected to STM32F103RBT6 for it s internal Real Time Clock PROTOTYPE AREA CONNECTOR DESCRIPTION Please take a look at board s layout picture all signals are printed on the silkscreen JUMPER DESCRIPTION R T 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 connector so if you want to connect external backup battery to the STM32F103RBT 6 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 1s connected to USB host Default state closed shorten Connects STATUS LED to STM32F103RBT6 pin 53 PC12 Default state closed shorten BOOT1 boot sequence select 1 L Bootl High Bootl Low BO H BO L BootO0 High Boot0 Low L Default position Boot is log 0 ee L Boot0
12. ctor 5232 driver and connector UEXT connector which allow different modules to be connected as MOD MP3 MOD NRF24LR etc 5 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 crystal and 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 100x90mm 3 94x3 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 USB A B cable up to 1 8 meters to connect to USB host Hardware Any ARM JTAG programmer or debugger with standard 2x10 pin connector Olimex debuggers and programmers working with STM32 P103 are ARM USB TINY H ARM USB TINY ARM USB OCD H ARM USB OCD ARM JTAG COOCOX and the older ARM JTAG Software ARM C compiler and debugger software among the p
13. is log 0 CANO T CNTRL HS Boot mode selection pins Boot mode BOOT1 BOOTO 90 User Flash memory User Flash memory is selected as boot space 0 1 1 SystemMemory SystemMemory is selected as boot space 1 d Embedded SRAM Embedded SRAM is selected as boot space Connect 120 Ohm terminator between CAN L and CAN H busses Default state closed shorten 1 CNTRL HS jumper is open CNTRL HS IS OPEN 10 KOhm resistor 1s connected to slope control pin of SN65HVD230 CAN driver 1 6 15V uS driver output signal slop 2 CNTRL HS 18 connected to HS side m HSIS CLOSED High speed of output CAN drivers gt 20v uS No slope control 3 CNTRL HS is connected to CNTRL side RTS E CTS E CP E WP E CNTRL IS CLOSED 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 PA1 is used for handshake mode of COM port Default state open Connect PA0 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 7 38 to detect Multi Media Card present in socket Log 1 of PC7 MMC present Log 0 of PC7
14. nd products that incorporate such semiconductor components or circuit boards Olimex currently deals with a variety of customers for products and therefore our arrangement with the user is not exclusive Olimex assumes no liability for applications assistance customer product design software performance or infringement of patents or services described herein THERE IS NO WARRANTY FOR THE DESIGN MATERIALS AND THE COMPONENTS USED TO CREATE STM32 P103 THEY ARE CONSIDERED SUITABLE ONLY FOR STM32 P103
15. o any intellectual property right is granted by this document or in connection with the sale of Olimex products The hardware design of the device 1s proprietary and would not be distributed nor shared with the end customer It is possible that the pictures in this manual differ from the latest revision of the board The product described in this document 18 subject to continuous 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 This product is intended for use for engineering development demonstration or evaluation purposes only and is not considered by OLIMEX to be a finished end product fit for general consumer use Persons handling the product must have electronics training and observe good engineering practice standards As such the goods being provided are not intended to be complete in terms of required design marketing and or manufacturing related protective considerations including product safety and environmental measures typically found in e
16. ossible options are free open source platform GNU C compiler OpenOCD and Eclipse support all low cost Olimex JTAG debuggers free CooCox IDE good choice for ARM Cortex microcontrollers The commercial software EW for ARM from IAR Systems AB commercial software CrossWorks from Rowley supports all Olimex low cost JTAG debuggers and features of number of examples for Olimex boards BOARD LAYOUT JTAG UEXT PROTO AREA lt 23 1 08 P n 3 17 5 2 3 2 57 4 5 x WoC5 R428 T R ND gt m STM32 P103 219 MHH OLIMEX COM DEU 3 CT 5 ox USB BERE 02067 Revon POWER 6VDC be PUR JACH S BUTTON status LED VDDA lt a u 8 STM32 P103 revision D 3 3V 0 ferrite bead NDA _ B 2 L 2 STM32 P405 revision D 3 3V 3 3V 3 3V 3 3V 3 3V E 3 3V 26 Q PBO VDDA PBO ADC8 TIM3_CH3 TIM1_CH2N PB1 100nF C23 O BAT_3V R54 UEXT 1 CON2PV2 2 54MM PB1 ADC9 TIM3_CH4 TIM1_CH3N 1 4 2 a 100K UEXT 2 i foe EA UEXT 3 PB3 JTDO TIM2 CH2 TRACESWO SPIt SCK 22 TRST 1 10K USARTI RX UEXT 4 VBAT PB4 JTRST TIM3_CH1 SPI1_MISO 2 1201 SCL UEXT 5 PB5 I2C1_SMBAI TIM3_CH2 SPI1_MOSI 6 VDD PB6 I2C1_SCL TIM4_CH1 USART1_TX R48 SPI1 MISO UEXT 7 RST VDD
17. s 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 Both 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 PA7 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 in master mode A hardware CRC generation verification 1s 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 EXT1 12 I2C2 SDA pin 30 11 EXT2 15 I2C2 SCL pin 29 PBIO EXT2 14 12 2 5 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 PAII EXTI 1 PA12 EXT1 3 so you c

Download Pdf Manuals

image

Related Search

Related Contents

Guide d`entretien et manuel d`installation    do Manual    User Manual  

Copyright © All rights reserved.
Failed to retrieve file