Home

STM32-103STK User Manual

image

Contents

1. 35 Kbits 0 4000 1 Kbit 1 Kbit 1 Kbit 1 Kbit soared 51121 4 Kbit USB Registers 1 Kbit 1 Kbit 1 Kbit 0 4000 0x4000 0x4000 0x4000 0000 Peripherals 0 4000 0 4000 0 4000 0 4000 c 5 gt o 0x4000 0 2000 0000 i 2 Kbits 0 0801 FFFF 0x4000 1
2. A 2 10 03 3U 3 30 0805 2 11 b 2 1 H B1 L R38 5 1 33K 3 30 UL 4 y SD MMC 11 WPL 4 184 6 30 PB ADCE TINS_CH3 26 2 1 08 Re c au PB1 ADCS TIMS_CH4 22 EXT2 2 100K NA 8 4 PB2 BOOT1 28 D C CD DAT3 CS 5 RST EXT1 1 PB3 JTDO 159 END DI UCC RESET 5 2 DB4 JIRST USS4 6 GND 3 3U 12 92 SENSINI 000 cs C28 12 1 5 1 4 03 39 CLK SCLK H PB7 12C1 SDA TIM4 CH2 T 552 SNO PB8 TIM4_CH3 DRTO DO C38 PB9 TIM4 CH4 DAT1 RES Ab J C6 107 68 PB1G 12C2_SCL USART3_TX EXT2 5 DRT2 RES Bo HEAT R37 1998 SENS INT xm xm PB11 12C2_SDA USART3_RX EXT2 6 USS 1 DB42 SPI2 NSS 12C2 SMBAL USBRT3 CK TIMAi BKIN ERT 3 3U USS 2 DB13 SPI2 SCK USART3 CP2 O 95673 PB14 SPI2_MISO USART3_RTS TIMA_CH2N 22 2012 0150 uss_4 PBi5 SPI2 MoSl TIM1 Chan 86 2 1051 Pe 1 1 619 E RST 771 NRST 1 1 8 EXT2 7 eee n1 Re R5 n3 dm 3 3U R15 1 11 cE EXT2 8 47uF 6 3U 2 0 42 11 STNBY 18K ave PC3 ADC13 D PR EXT1 8 CP 1 MI
3. STM 103STK development board Users Manual Rev A April 2008 Copyright c 2008 OLIMEX Ltd All rights reserved INTRODUCTION The ARM Cortex M3 processor is the latest generation of ARM processors for embedded systems It has been developed to provide a low cost platform that meets the needs of MCU implementation with a reduced pin count and low power consumption while delivering outstanding computational performance and an advanced system response to interrupts The ARM Cortex M3 32 bit RISC processor features exceptional code efficiency delivering the high performance expected from an ARM core in the memory size usually associated with 8 and 16 bit devices The STM32F103 Performance Line family has an embedded ARM core and is therefore compatible with all ARM tools and software It combines the high performance ARM Cortex M3 CPU with an extensive range of peripheral functions and enhanced I O capabilities STM32 103STK is starter kit board which allow you to explore the complete features of new ARM Cortex STM32F103RBT6 microcontrollers produced by ST Microelectronics Inc It have NOKIA 3310 BW 84x48 LCD buttons SD MMC card 3 axis digital accelerometer 2 4Ghz RF transciever Audio Input and Output the power supply is made from single 1 5V AA cell battery Some applications are USB Mass Storage device Audio class device HID mouse device CDC Virtual com port device USB Wireless RF link The UXT connector allow access to
4. 1 x 5 NRF 1 ET gt USB_P R19 UDD 2 y 470 use PRESENTS eee 30813 7 N 0 R51 SPIL MOSI uses 12 x lt lt lt 1 5 58111150 5 1 gt te E USS 2 c 040 R34 088 3 20 y N 5 NRF24L01 7 i ne2 47UF 6 3U 1 1 C2 R29 USEDP 3 3U MIC IN 5 s 6 7 1 3 USBDM 100 998 82055214 C35 7 C17 C16 1 2 22 az per JACK BPINPHONE_JACK SM0 47 4 sures 3 47 BZU55C2U4 470K C31 LCD 5 7 C36 2 me 180nF Os JE 7 R65 47 LODLRES 8 65 NOKIA_334 _LCD1 V 1N58195 3 300 888 180 URC3 3U 111117 1 11 D 3 39 Em EN ey SIT STM32 103STK REU B 470uF 16U9 Jc RED WAKE UP 4 B1 624 3 3U 48852 Ho UD COPYRIGHTCC gt 2008 OLIMEX LTD R34 HTTP WWW OLIMEX COM DEVU O6NnD R25 4 p ee ne TAMP R46 560 560 100K R33 0 LED 24 1 22K 22K 2 4 1 5781 mie HP_SB_E C23 R44 411 C19 our 827 4K R26 1 825 1 agus aT zo R58 EXT BAT 3 5 3 3U 3 39 EXT 2 5 1 5819 551 4 1 274 47uF 6 3U m 5 CENTER BUS u JACK 3PINPHONE JaCK SMD Noy 5487180 8 HEADPHONES 7653446 3U 330 push C37 1800uF 10U C43 JOYSTICK 5 10uF 6 3U 1800nF c3
5. CANRX USB20FS ipm IF Fmax 24 36 MHz APB1 USBDP CANTX SRAM 512B 12bit ADC2 lt foo ai14390b 1 40 C to 105 C junction temperature up to 125 2 AF alternate function on pin OxFFFF 0 010 0000 0 6000 0000 4 Kbits 1 Kbit 3 Kbits Flash Interface 4 Kbit 3 Kbits 1 Kbit 3 Kbits 1 Kbit 0 4002 3400 0 4002 3000 OxFFFF OxFFFF 000 0 4002 2400 0 4002 2000 7 0 4002 1400 0 4002 1000 0 010 0000 en intemal 0 00 0000 Peripherals 0 4002 0400 2 0 4002 0000 1 Kbit 0 4001 1 Kbit 1 Kbit 1 Kbit 1 Kbit 1 Kbit 1 Kbit 12111411 12111 i 0 4001 0 000 0000 0 4001 0 4001 0 4001 0 4001 0 4001 0 000 0000 2 Kbits 0 4001 1 Kbit 1 Kbit 1 Kbit 1 Kbit 1 Kbit 1 Kbit 1 Kbit 4 0 1 0 4001 0 1 0 4001 0 8000 0000 Option Bytes 0x4001 1 F800 0 4001 0 4001 System memory 0 4001 0 4001 OxlFFF 2000 0 6000 0000
6. Kbit 1 Kbit 0 4000 0 4000 0 0800 0000 2 Kbits i 0 0000 0000 0x4000 1 Kbit 1 Kbit 1 Kbit 1 Kbit 1 Kbit 0 4000 0 4000 0 4000 0 4000 0 4000 7 Kbits 0 4000 1 Kbit 1 Kbit 1 Kbit 0 4000 0 4000 0 4000 POWER SUPPLY CIRCUIT STM32 103STK can take power from these sources 1 5V battery with DC DC step up converter Vin signal 1 11 pin JTAG pin 1 or 2 The board power consumption is about 30 mA when powered from the USB port and 130mA when powered from 1 5V battery with all peripherials and MCU running at full speed there are different power saving modes which may put STM32F103RBTO in power sleep mode and in these modes the consumption of the MCU is only few microampers RESET CIRCUIT STM32 103STK reset circuit is made with RC group R8 and C28 100nF Although on the schematic is made provision for external reset IC such is 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 STM32F103RBTO Internal PLL circuit can multiply this frequency up to 72Mhz 32 768 KHz quartz crystal is connected to STM32F103RBTO for it s internal Real Time Clock JUMPER DESCRIPTION 3 pin power supply select jumper EXT position Allow power supply from mini USB connector or EXT1 pin11 The voltage suppli
7. PC Card absent Default state closed shorten WP E Wrte Protect Enable Allow PC2 pin 10 to detect write protected state of Multi Media Card Log 1 of PC2 MMC no write protected Log 0 of PC2 MMC is write protected Default state closed shorten 3 3V E Connect 3 3V regulated voltage to STM32F103RBT6 power pins 3 3V E jumper is used if you need to measure current consumption of the microcontroller Default state closed shorten INPUT OUTPUT JOYSTICK this is 4 directions plus center button in the schematic joystick four directions switches are connected through resistors with different values to PC5 ADC15 center button is connected to PC6 BUTTON B1 Left button connected to PC13 TAMPER port BUTTON B2 Right button connected to PAO WAKE UP port LCD NOKIA3310 84x48 pixel black and white LCD to SPI1 port ACCELEROMETER 23 axis accelerometer connected to 12 1 port Audio In microphone with pre amplifier connected to ADC Audio Out audio amplifier connected to PA8 PWM output SD MMC card connected to SPI2 nRF24L01 connected to SPI1 Power supply red LED with name PWR indicates that 3 3V power supply is applied CONNECTOR DESCRIPTION TAG TDI TDO TRST JTAG CONNECTOR PIN DESCRIPTIONS 10 12 14 16 18 20 a a a a a a ES Test Mode Select The TMS pin selects the next state in the TAP state machine Test Clock This allows shifting of the data i
8. 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 MCU STM32F103RBT6 ARM 32 bit CORTEX M3 with 128K Bytes Program Flash 20K Bytes RAM USB CAN x2 I2C x2 ADC 12 bit x3 UART x2 SPI x3 TIMERS up to 72Mhz operation standard JTAG connector with ARM 2x10 pin layout for programming debugging with ARM JTAG USB mini connector LCD NOKIA 3310 BW 84x48 pixels 1 5 battery connector with step up converter 3 accelerometer SD MMC 2 4 Ghz transciever with Nordic nRF24L01 Audio input Audio output user buttions x2 Joystick with 4 directions and push action UEXT connector for other Olimex s modules connection like MOD MP3 etc RESET button status LED 8 Mhz crystal oscillator 32768 Hz crystal and RTC backup battery connector extension headers for all uC ports PCB FR 4 1 5 mm 0 062 soldermask silkscreen component print Dimensions 90 x 65mm 3 5 x 2 5 ELECTROSTATIC WARNING The STM32 103STK 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 A to miniUSB
9. BUTTONS 6 3U R70 R69 33K 3K PROCESSOR FEATURES RS232 STM 103STK board use ARM 32 bit Cortex M3 CPU STM32F103RBT6 from ST Microelectronics with these features CPU clock up to 72Mhz FLASH 128KB RAM 20KB x7 channels RTC WDT Timers 3 1 SPI x2 PER USART x3 USBxl CAN x1 multiplexed with USB so both can t be used in same time GPIO up to 51 multiplexed with peripherials 2 ADC 12 bit operating voltage 2 0 3 6V temperature 40C 85C 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 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 to 16 bit hardware CRC generation verification supports basic SD Card MMC modes Both SPIs be served by the DMA controller 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 addre
10. C TN PA WKUP USART2_CTS ADC TIMZ_CH1_ETR PC4 ADC14 B EXT1 7 oe 4 PAL USART2_RTS ADCL TIM2_CH2 pesyapcas 29 BUTTONS _ 2 1 9 PA2 USART2_TX ADC2 TIM2_CH3 pce HZ BUT ef 83012 35 pte 3 30 EU PA4 SPI4_NSS USART2_CK ADC4 pcg 39 abst ck recs PCS ar 100K Herpe PA7 SPIL_MOSI ADC TIM3_CH2 2614 OUT 41 CHL MCO PC12 33 1 6 UEXT 2 1 3 PAS USART1_TX TIML_CH2 PC13 ANTI_TAMP TAMP 2 UEXT 3 EXT1 4 5559 PALQ USARTL_RX TIM1_CH3 PC14 0SC32_IN 3 RX2 UEXT 4 2855 PAL1 USARTL_CTS CANRX USBDM TIML_CH4 PC15 08C32 OUT 502 UEXT 5 Use PA12 USARTL_RTS CANTX USBDP TIMNL_ETR 5082 UEXT 6 TCK PA1L3 JITMS SWDAT PD OSC_IN 5 SPI2 MISO UEXT 7 TDI 14 1 5 PD1 0SC_OUT 6 5 12 MOSI UEXT 8 PA15 JTDI PD2 TIM3 54 1 5 2812 SCK UExT 9 STH32F103RBT amp LGFP 4 PI2 NS8 UEXT 19 50 lt 1 12 5U EXT2 12 3 30 O EXT1 13 3 30 O EXT2 13 EXT1 14 EXT2 14 22p NP0 2X c59 3 30 15P NP0 0 1p 13 200 xci H 46 2 ES 2 1 64 3 9NH 5 12 gm 3 30 4p NPO 1p L3 875 llcza 41033 C32 8 2nH 5 22K 1X 46 22p NP0 27 3 3U 24 24 leuF 16U Troon 4 mg O 8 BC817 2 7nH 5X R22 vo lt T UDD
11. 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 all Olimex low cost JTAG debuggers BOARD LAYOUT UEXI nRF24LO1 lt o s Mhz 1060 062 1557 83 pemRZ 2 97 58 84 LIE MIT L2 t 52 273 747 20573 c65 OUMEX CU C C D JEN R37 J ER36 ME KE UEXT ELM B1 1 4 lt TP 1 irs 21 gt 42 E 2 _ S B 2 nee U IC or iE 11 DE Ni 1 gR W 54 prem HEADPHONES C45 headphones SD MMC SCHEMATIC TRST TOI TMS TCK TO0 RST Q3 3U
12. ed to EXT1 pin 11 must be between 5VDC and 9VDC BAT position pluged in the BAT connector R T Connects JTAG TRST signal to STM32F103RBT6 RESET Default state closed shorted BAT E Connects 3 3V to STM32F103RBT6 Vbat Default state closed shorten Vbat signal is also available to pin 1 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 pin 1 connector see connector description for EXTI connector pining VBAT accept 2 3 6V USBP E USB power supply to STM32F103RBT6 pin 24 PC4 and allow to detect if the board is connected to USB host Default state closed shorten LED E Connects STATUS LED to STM32F103RBT6 pin 53 PC12 Default state closed shorten 1 boot sequence select 1 L High Bootl Low 0 0 Low High 1 1 Default position is log 0 A BO_ is log 0 Boot mode selection pins Boot mode 1 Ce ueraswmemoy User Fish menon stein as boot space _ Sstemnienoy ____ Sistentaemoryisseeced as oot space ene sent Embesses RAM s seeds as bot pace Card Present Enable Allow 9 to detect Multi Media Card present in socket Log 1 of PCI MMC present Log 0 of
13. n 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 can be used to reset the test logic within the Embedded ICE logic Signal Name Signal Name PA3 USART2_RX 3 9 05 1 TX 4 PA10 USART1_RX TIM1_CH2 TIM1_CH2 RDO OSC_IN PC12 LED 7 PC4 ADC14 PC3 ADC13 USB_PRESENT STNBY PA2 USART2 TX ADC2 ITIM2_CH3 n LONE NI Nw 2 _ a rmsymwscue cs saa s w uw Lu Du nime 77 smawso 79 3 SD MMC Signal Name SPI2 MOSI 1 ce is AK to 3 3V _6_ 7 8 2 80 8 10Kto33V _9_ EN AVAILABLE DEMO SOFTWARE USB mouse with the 3 axis accelerometer USB class Audio device USB mass storage USB Virtual com port USB RF Virtual com port bridge Ball game with accelerometer OpenOCD demo project 3911708 S TM32 103STK assembled and tested no kit no soldering required How to order You can order to us directly or by a
14. ny of our distributors Check our web www olimex com dev for more info Petes Sen All boards produced by Olimex are ROHS compliant Revision history REV A create April 2008 Disclaimer 2008 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 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
15. re 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 BLOCK DIAGRAM STM32F103xx performance line block diagram TRACECLK as AS Trace trig C gt Controlle r POWER JNTRST C SWITAG VOT REG Vpp 2 to 3 6V JTCK SWCLK Cortex M3 CPU edid 3 3V TO 1 8V 88 JTMS SWDIO 64 dires Fmax 72 MHz VDD PLL amp XTAL OSC CLOCK 4 16 MHz OSC_IN OSC_OUT 7 channels Stand by SUPPLY 1 interface ae SUPERVISION PDR OSC32 IN OSC32_OUT Backup RTC AWU reg TAMPER RTC PA 15 0 4 gt GPIOA PB 15 0 lt _ _ gt GPIOB 15 0 lt gt GPIOC lt n PD 15 0 lt gt 5 22 2 4 usanT2 RX TX CTS RTS PE 15 0 7 gt GPIOE SmartCard as RX TX CTS RTS CK SmartCard as AF 4 Channels gt SPI2 MOS MISO SCK NSS 3 compl Channels TIM1 lt gt as Brk input E darmi 2 1 gt SCL SDA SMBAL MOSLMISO UN 22 13 SCK NSS AF SP11 RX TX CTS RTS SmartCard as AF USART1 USBDM
16. ssing in master mode A hardware generation verification is embedded They can be served by DMA and they support SM Bus 2 0 PM Bus The STM32F103RBT6 CAN is compliant with specifications 2 0A and 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 USB share same pins 11 12 so you can t use both CAN and USB on same time 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 11 and 12 so you can t use both CAN and USB on same time 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 featu

Download Pdf Manuals

image

Related Search

Related Contents

Hi5-4K - エルグベンチャーズ  LGS-1012P  Philips 271S4LPYEB Computer Monitor User Manual  

Copyright © All rights reserved.
Failed to retrieve file