Home
        Discovery kit for STM32F030 Value Line microcontrollers
         Contents
1.                                  27  DIL24 socket                                                                         29  Arduino shield board                                                                  33  32F0308DISCOVERY mechanical                                                    34  32F0308DISCOVERY                                                                4       1 35  ST LINK V2  SWD                                                              36          E 37    2    DoclD025097 Rev 1       UM1658 Conventions       1 Conventions    Table 1 provides the definition of some conventions used in the present document     Table 1  ON OFF conventions             Convention Definition  Jumper JP1 ON Jumper fitted  Jumper JP1 OFF Jumper not fitted       Solder bridge SBx ON   SBx connections closed by solder             Solder bridge SBx OFF   SBx connections left open          d    DoclD025097 Rev 1 5 39       Quick start UM1658       2 Quick start    The STM32F030 Value Line Discovery kit is a low cost and easy to use development kit to  quickly evaluate and start development with an STM32 FO series microcontroller     Before installing and using the product  please accept the Evaluation Product License  Agreement from www st com stm32f0 discovery     For more information on the STM32F030 Value Line Discovery kit and for demonstration  software  visit www  st com stm32f0 discovery     2 1 Getting started    Follow the sequence below to configure the STM32F030 V
2.                                 25  Table 7  Connecting using       10                                                    26  Table 8  Connecting with    DIL24 board                                               28  Table 9  Supported MEMS adapter boards                                             30  Table 10  Connecting with Arduino shields                                                31  Table 11  Document revision history                                                7    38  Ly  DoclD025097 Rev 1 3 39       List of figures UM1658       List of figures    Figure 1   Figure 2   Figure 3   Figure 4   Figure 5   Figure 6   Figure 7   Figure 8   Figure 9     Figure 10   Figure 11   Figure 12   Figure 13   Figure 14   Figure 15   Figure 16     4 39    32F0308DISCOVERY              ees peter        pr eee LU       eee      1  Hardware block diagram                                                     8  Top          i    ee ea Pie                              abe ad ana Ra te 9  Bottom layout  gt    E xeu set eee   10  STM32FO30R8T6                                                                   11  STM32FO30R8T6 block diagram                                               12  Typical configuration                                           1              2      13  32F0308DISCOVERY connections image                                      14  ST LINK connections                                                             15  Using IDC10 and mikroBUS                             
3.                             Temp   sensor            1               55 AF      K K    gt  TIMER 16    1 compl  BRK as AF    WWDG kK    1 channe               TIMER 17 K 1 compl  BRK as AF  se        SP    DBGMCU                NSS as AF       Es USART    RX         RTS   MOSI MISO  SPI2 as  SCKINSS  Lp     K     gt  USART2    RX  TX CTS  RTS   as AF CK as AF    SYSCFGIF KC  E            SCL  SDA  SMBA  E KC    20 mA for FM   as AF                SCL  SDA  I2C2        as AF    16  AD input  Ko             TIMER 6               Vi  ke                                        MSv32137V1             12 39 DoclD025097 Rev 1 Ly        UM1658    Hardware and layout       4 2    d    Embedded ST LINK V2    The ST LINK V2 programming and debugging tool is integrated on the   32F0308DISCOVERY  The embedded ST LINK V2 can be used in 2 different ways   according to the jumper states  see Table 2     e Program debug the MCU on board    s Program debug an MCU in an external application board using    cable connected to  SWD connector CN3     The embedded ST LINK V2 supports only SWD for STM32 devices  For information about  debugging and programming features refer to user manual UM1075  ST LINK V2 in circuit  debugger programmer for STM8 and STM32  which describes in detail all the ST LINK V2  features     Figure 7  Typical configuration       Hardware requirements     USB cable type A to mini B    computer with Windows XP  Vista or 7    Development toolchain   Altium  TASKING VX Toolset   
4.        16  4 5 Pushibuttons          y               Bee oe                   EX XS 16  4 6 JP2  ldd  debitus de dope ded adeb      A adh ean ab ace asd 16  4 7 OSC ClOCK    aunke E aae             EG 17  4 7 1 OSG  clock supply                     re REA ag      17  4 7 2 OSC 32 KHz clock supply                                     17  4 8 Solder Bridges TT  EUIS 18  4 9 Extension connectors                                          19  5 Connecting modules on the prototyping board                    25  5 1 Mikroelektronica accessory boards                               25  5 2 ST MEMS    adapter boards   standard DIL24 socket                  28  5 3 Arduino shield boards                                          31  6 Mechanical drawing                                          34  7 Electrical schematics                                         35  8 REVISION history iussa ke eu REIR                      ERES 38    2 39 DoclD025097 Rev 1 Ly           UM1658 List of tables  List of tables  Table 1  ON OFF conventions    urne hee x ex ERAI RO ERAS eee Gee nee 5  Table 2  Jumper                                                                        13  Table 3  Debug connector CN3  SWD                                                  15  Table 4  Solder bridge           0                                                        18  Table 5  MCU pin description versus board function                                      19  Table 6  Connecting using             057                  
5.       9 u3sn    HOTZ   62        80  ovd       PUSH CMS      lu           io  sw                   2                           14544    a  SW PUSH CMS                   099                      44 89           IEN    0928         oeg  il    2214        504                         DOE Odd C 0d  gt        adoz adoz    Pom 10N          10            ZHINS    1185  44001 39001   49001      ost 5      2              ta       Ne     9185 8185         Sr Cum   T       nana                89L Z    090 D 90EIN             ddgo    89     12 t 2    i iL  4910                                                                      jmnjop 44                                         LI      2 ELS 01 95012  185        214 ION  cas                     _ 81     sd 61      __      __ 02                  LI   8I   61   0      Vd 12    b  ova      1  4  amp      a   Sc        LC   8C                    tod           524  c             oz          12     lt         82       _         62          se tea  gt     ts        2   te         gt    zs         gt    Is 0104  gt     os siyad 4             9L8AOEQAITENLS    n                   ION       37 39    DoclD025097 Rev 1       Revision history    UM1658       8    38 39    Revision history    Table 11  Document revision history          Date    03 Sep 2013       Revision    1       Initial release     Changes       DoclD025097 Rev 1    d          UM1658       Please Read Carefully     Information in this document is provided solely in connection with S
6.     5    250         9914                                NO  Ld          16                 TIM3_CH3   TIM1_CH2N   EVENTOUT    26    27       PB1    PB2    TIM3_CH4         14     1   TIM1_CH3N    27    28    28    29       PB3    SPI1_SCK   EVENTOUT    55    OMS       PB4    PB5    SPI1_MISO   TIM3 CH1   EVENTOUT    SDIT MOSI    I2C1 SMBA   TIM16 BKIN   TIM3 CH2    56    57    10       PB6    PB7    I2C1 SCL   USART1 TX   TIM16 CH1N    I2C1 SDA   USART1 RX   TIM17 CH1N    58    59       PB8    I2C1 SCL   TIM16 CH1    61       PB9    I2C1 SDA   IR OUT    TIM17     1   EVENTOUT    62       PB10          I2C1 SCL     2  2 SCL    29             DoclD025097 Rev 1             30                   21 39                                                                                                 Hardware and layout UM1658  Table 5  MCU pin description versus board function  continued   MCU pin Board function  79  79     5 T 2           Alternate S  ER g      2     a  x  function functions 2            6   Nw  ROS 0 8      lt   I2C1 SDA   PB11   2  2 SDA  30 31  EVENTOUT  SPI1 NSS   SPI2 NSS   PB12 TIM1  BKIN  33 32  EVENTOUT  SPI1 SCK   PB13 SPI2 SCK  34 32  TIM1 CH1N  SPI1 MISO   SPI2 MISO   PB TIM1 CH2N  99    TIM15 CH1  SPI1 MOS    SPI2 MOSI   PB15 TIM1 CH3N  36 30  TIM15     1     TIM15 CH2  PCO EVENTOUT ADC N10 8 11  PC1 EVENTOUT        N11 9 12  PC2 EVENTOUT        N12 10 13  PC3 EVENTOUT ADC N13 11 14         EVENTOUT ADC_IN14 24 25  PC5 ADC_IN15 25 26  PC6              1 
7.    Cor UM1658  Sf i life  augmented User manual       Discovery kit for STM32F030 Value Line microcontrollers       Introduction    The STM32F030 Value Line Discovery kit  32FO308DISCOVERY  helps you to discover the  device features and to develop your applications easily  It is based on STM32F030R8T6  an  STM32 FO series 32 bit ARM  Cortex    MO microcontroller  and includes an ST LINK V2  embedded debug tool  LEDs  push buttons and a prototyping board     Figure 1  32F0308DISCOVERY                   September 2013 DoclD025097 Rev 1 1 39    www st com       Contents UM1658       Contents  1                        lt                                                   5  2 Quick start                                                        ees 6  2 1 Getting started   scl ap anche            dp d 6  2 2 System requirements                                           6  2 3 Development toolchains supporting the 32F0308DISCOVERY           6  2 4 Order Gode vL ek GEAR DE aa A E RE de ER        6  3 rl rr  cR 7  4 Hardware and layout                                           8  4 1 STM32F030RS8T6 microcontroller                                 11  4 2 Embedded ST LINK V2                                        13  4 2 1 Using ST LINK V2 to program debug the STM32 FO on board         14  4 2 2 Using ST LINK V2 to program debug an external STM32 application     15  4 3 Power supply and power selection                                16  4 4                                                 
8.    PA2  PA3    PA4    PC4  PC5    PB12  GND       mikroBUS          DoclD025097 Rev 1    27 39       Connecting modules on the prototyping board    UM1658                                                                                           5 2 ST MEMS    adapter boards     standard DIL24 socket  STMicroelectronics has defined a standard DIL24 connector to easily evaluate its MEMS  sensors connected to a microcontroller through SPI        2   communications    Table 8 is one solution for connecting the DIL24 boards to the 32F0308DISCOVERY  this  solution is used in different examples and available at www st com stm32f0 discovery   Table 8  Connecting with a DIL24 board  ST MEMS DIL24 Eval board 32F0308DISCOVERY   P01   VDD Power supply 3V VDD  P02           IO Power supply for      pins 3V VDD                    4        P05                                   P08   NC  P09   NC  P10   NC  P11   NC  P12  NC  P13   GND OV supply GND GND  P14  INT1 Inertial interrupt 1 PB12  GPIO INPUT EXTI  5V tolerant   P15        2 inertial interrupt 2 PB11 GPIO INPUT EXTI  5V tolerant   P16  NC  P17  NC  P18  NC  P19  CS   0 SPI enabled 1 12C mode PA11 GPIO OUTPUT  5V tolerant   P20 SCL  I2C serial clock  PB6 I2C1 SCL   SPC  SPI serial clock  PB3 SPI1 SCK    21 SDA   2   Serial Data PB7 I2C1 SDA   SDI SPI Serial Data Input PB5 SPI1 MOSI  rud   E         address                  P23  NC  P24  NC   28 39 DoclD025097 Rev 1 Ky        UM1658    Connecting modules on the prototyping board      
9.    SPI1_NSS   USART1_CK  USART2_CK   TIM14_CH1   ADC_IN4    20    21       PAS          SPI1_SCK   ADC_IN5    21                   22                         DoclD025097 Rev 1    19 39       Hardware and layout    U    M1658       20 39    Table 5  MCU pin description versus board function  continued        MCU pin    Board function       Main  function    PA6    Alternate  functions    SPI1_ MISO   TIM3 CH1   TIM1 BKIN         16 CH1   EVENTOUT   ADC IN6    t9dJO1                         22                  5    950       9914                           eNO    Ld       23                        SPI1_MOSI            CH2          14     1   TIM1_CHIN   TIM17_CH1   EVENTOUT   ADC_IN7    23    24                 USART1_CK   TIM1 CH1   EVENTOUT   MCO    41    25       PA9    USART1 TX   TIM1 CH2   TIM15 BKIN   I2C1 SCL    42    24       PA10    USART1_RX   TIM1_CH3   TIM17_BKIN   I2C1 SDA    43    23       PA11    USART1 CTS   TIM1          EVENTOUT    44    22       PA12    USART1 RTS   TIM1 ETR   EVENTOUT    45    21       PA13    IR  OUT   SWDIO    46    20       PA14          USART1 TX   USART2 TX   SWCLK    49                ATOMS   OIGMS                            DoclD025097 Rev 1             UM1658    Hardware and layout       d    Table 5  MCU pin description versus board function  continued        MCU pin    Board function       Main  function    PA15    Alternate  functions    SPI1_NSS   USART1_RX   USART2_RX   EVENTOUT    794407                         50              
10.    STMicroelectronics group of companies    Australia   Belgium   Brazil   Canada   China   Czech Republic   Finland   France   Germany   Hong Kong   India   Israel   Italy   Japan    Malaysia   Malta   Morocco   Philippines   Singapore   Spain   Sweden   Switzerland   United Kingdom   United States of America    www st com    Ly  DoclD025097 Rev 1 39 39       
11.    n   n               T         LED B2  LD3  PC9 RST  LED   1  LD4         USER                                  MSv31935V1             d    DoclD025097 Rev 1       UM1658    Hardware and layout       Figure 3  Top layout          COM    input output    CN3  SWD connector    STM32F030R8T6    B1 user button     green LED  LD3                        red green LED  LD2   STLINK V2          3V power supply                                                        1          BB reek wae worm                                                              BR           CNS                   om ee  TE          RO                e   el              l          Qe     Sc 0     2          E   gt  PBS     R4 Wo                      gemu      RIG PB4     00       e Ea              FS          e is 2  el     _                     a  www st com stm32f0 discovery                    gud         ew cei                                 Bi SB3 B2    O  a LO    USER Hmm RESET wa     m          MB1134 revA  STM32F0308 DISCO    497                 584    2                LD1  red LED   PWR    5V power supply  input output    CN2    ST LINK DISCOVERY  selector    JP2  IDD measurement    SB1  VDD     SB3  B1 USER     B2 reset button    LD4  blue LED        MS31936V1       Note     d    DoclD025097 Rev 1    Pin 1 of CN2  CN3       and P2 connectors are identified by a square     9 39       Hardware and layout    UM1658       Figure 4  Bottom layout          SB5  SB7  SB9  SB11   RESERVED    SB6  588  5810  5
12.   SEMI  Ach       110                 SIND                    MNIUS G31                           PPI                 gt      5   NII LS  lt    440                      10                     AH3AODSIG  lt    NO sJedun              49001 49001    43001 43001                     NI OIGMS 1    SW L                                                              Coon oon  6c      COTATEW LS 01 250 2 4124 24 ISNW DY   44  Wie ae                1185   2185  TZ 9               orams   SWir Wis     7 em ISHN I TTA  1 685 0185 S  C      SWI L         Las   88S al  WIOMS    WIS            585 985 zc  ach            xor        gt  S  S S WII4f09 LV8  el            GAS  x             amp              Now ee E  0088  PAWL  ION  6185   OMS 1    ams        I  OIGAS SL  XIOMSDIOL       ANNLIS G31    OMS l t    o         asn      sa gsn       SWIC WLS    9L8DE0TATENLS  en    o  E     2  a          60           i gS   Ac    NI WIMS    WIMS St  NI WIMS 9t    M  S    INS SO HIASSZOS          AS IXA           ION                   10N       98012       XL              0dzeWLS          XA LLAVSN 0JCEINLS                         701       701                2      10N                          3uep                ST         DoclD025097 Rev 1    36 39       Electrical schematics    UM1658       Figure 16  MCU                yo     19945                                                 f  LLSMW  9qunN              ASZ3AOOSIG 080428015 T                                16                                   
13.  Figure 9  and connect your application    to the CN3 debug connector according to Table 3     SB19 and 5822 must be OFF if you use        pin 5 in your external application     Table 3  Debug connector CN3  SWD                                Pin CN3 Designation     VDD TARGET    VDDfromapplicaton    2 SWCLK SWD clock  3 GND Ground  4 SWDIO SWD data input output  5 NRST RESET of target MCU  6 SWO Reserved          Figure 9  ST LINK connections image       CN3  SWD connector    www St com stm32f0     discovery            um                   MBI134   v        STM32F0308 DISCO                     DoclD025097 Rev 1    15 39       Hardware and layout UM1658       4 3    4 4    4 5    4 6    16 39    Power supply and power selection    The power supply is provided either by the host PC through the USB cable  or by an  external 5 V power supply   The D1 and D2 diodes protect the 5 V and 3 V pins from external power supplies     e 5V and 3V             used as output power supplies when another application board is  connected to pins P1 and P2   In this case  the 5 V and 3 V pins deliver a 5 V or 3 V power supply and power  consumption must be lower than 100 mA     e 5Vcanalso be used as input power supplies  for example  when the USB connector is  not connected to the PC   In this case  the 32F0308DISCOVERY board must be powered by a power supply unit  or by auxiliary equipment complying with standard EN 60950 1  2006 A11 2009  and  must be Safety Extra Low Voltage  SELV  with limi
14.  Solder bridges    Table 4  Solder bridge settings                Bridge State   Description  X2  C13  C14  R22 and R23 provide a clock  PFO  PF1 are disconnected  SB16 17 OFF  from P1      2 crystal  2          PFO  PF1 are connected to P1  R22  R23 and 5818 must not be fitted    SB6 8 10 12  Default  ON Reserved  do not modify        SB5 7 9 11  Reserved  OFF Reserved  do not modify   X3  C15  C16  R24 and R25 deliver a 32 KHz clock  PC14  PC15 are not                                                       5820 21 PEE connected to P1    X3 crystal   ON PC14  PC15 are only connected to P1  R24  R25 must not be fitted    ON B2 push button is connected to the        pin of the STM32F030R8T6  SB4 MCU    B2 RESET  OFF B2 push button is not connected the NRST pin of the STM32F030R8T6  MCU   SB3 ON B1 push button is connected to PAO    B1 USER  OFF B1 push button is not connected to          SB1 ON VDD 3 must be permanently connected to VDD for normal use    VDD 3  OFF Reserved  do not modify   SB14 15 OFF Reserved  do not modify    RX TX  ON Reserved  do not modify   ON NRST signal of the CN3 connector is connected to the NRST pin of the  SB19 STM32F030R8T6 MCU    NRST  OFF NRST signal of the CN3 connector is not connected to the NRST pin of the  STM32F030R8T6 MCU   SB22 ON SWO signal of the CN3 connector is connected to PB3    T_SWO  OFF SWO signal is not connected   SB13 OFF No incidence on STM32F103C8T6  ST LINK V2  NRST signal    STM RST  ON STM32F103C8T6  ST LINK V2  NRST sig
15.  d    Figure 11 illustrates the connections between the 32F0308DISCOVERY and the DIL24  Socket     Figure 11  DIL24 socket connections       9 STMEMS    0124       Fis    IDC 10  for  COG 2X16 LCD  boa   optional     EH                     DoclD025097 Rev 1 29 39       Connecting modules on the prototyping board    UM1658       30 39    Supported MEMS adapter boards  Table 9 is a list of supported MEMS adapter boards as of April  2012     Table 9  Supported MEMS adapter boards                                                                                           ST MEMS DIL24 Eval Board Core product  STEVAL MKIOO9V 1 LIS3LVO2DL  STEVAL MKIO13V1 LIS302DL  STEVAL MKIO15V1 LIS344ALH  STEVAL MKIO82V1 LPY4150AL  STEVAL MKIO83V1 LPY450AL  STEVAL MKI084V1 LPY430AL  STEVAL MKI085V1 LPY410AL  STEVAL MKI086V1 LPY403AL  STEVAL MKI087V1 LIS331DL  STEVAL MKIO88V1 LIS33DE  STEVAL MKI089V1 LIS331DLH  STEVAL MKIO90V 1 LIS331DLF  STEVAL MKIO91V 1 LIS331DLM  STEVAL MKIO92V1 LIS331HH  STEVAL MKIO95V1 LPR4150AL  STEVAL MKIO96V1 LPR450AL  STEVAL MKIO97V1 LPR430AL  STEVAL MKIO98V1 LPR410AL  STEVAL MKIO99V1 LPR403AL  STEVAL MKI105V1 LIS3DH  STEVAL MKI106V1 LSM303DLHC  STEVAL MKI107V1 L3G4200D  STEVAL MKI107V2 L3GD20  STEVAL MKI108V1 9AXISMODULE v1  LSM303DLHC   L3G4200D   STEVAL MKI108V2 9AXISMODULE v2  LSM303DLHC   L3GD20   STEVAL MKI110V1 AIS328DQ  STEVAL MKI113V1 LSM303DLM  STEVAL MKI114V1 MAG PROBE  based on LSM303DLHC   STEVAL MKI120V1 LPS331AP  STEVAL MK1I122V1 LSM330DLC  STEVAL MK1123V1 L
16. 37 29         TIM3     2 38 28  UJ  PC8 TIM3 CH3 39 c 27           PC9 TIM3_CH4 40 m 26  z  PC10   51 15  22 39 00  10025097 Rev 1 Ly        UM1658    Hardware and layout       Table 5  MCU pin description versus board function  continued                                                                                            MCU pin Board function  v  v       5      2           Alternate S  ER g      2     a  x  function functions 2            6   Nw  ROS  e  3     lt   PC11   52 14  PC12   53 13  RTC_TAMP1   RTC TS   POIS RTC_OUT  2 4  WKUP2  PC14  o  OSC32   OSC32 IN 3    5     IN  2  Z  2      15      05032  OSC32 OUT 4 S 6  OUT           PD2 TIM3_ETR 54 12  PFO 9  OSC IN OSC IN 5    7   gt       PF1      OSC         OUT 6   8                    4 EVENTOUT 18 19  PF5 EVENTOUT 19 20  I2C1 SCL   PF6 I2C2 SCL 47 19  I2C1 SDA   PF7 1222 SDA 48 18  VDD 3  VDD 1 3  VDD 1 64  VDD 2 32  VDDA 13  Ly  DoclD025097 Rev 1 23 39       Hardware and layout    UM1658       24 39    Table 5  MCU pin description versus board function  continued                                                                    MCU pin Board function  v  v       5      2           Alternate S  ER g      2     a  x  function functions 2      2    N  ROS        5  lt   VSS 1 63  VSS 2 31  VSSA 12  5V 1  3V 1   lt      5           2 2 2               2 2 3         9 9      9 33   33                 DoclD025097 Rev 1    d       UM1658    Connecting modules on the prototyping board       5    5 1    2    Connec
17. 812   DEFAULT     5813  STM RST     SB14  SB15  RX  TX        RESERVED       R34       C24          SB18  MCO           SB19  NRST     SB22  T  SWO     MS30025V1    5816  5817  X2 crystal     SB20  SB21  X3 crystal           10 39    DoclD025097 Rev 1             UM1658    Hardware and layout       4 1    d    STM32F030R8T6 microcontroller    The STM32F030R8T6 microcontroller incorporates the high performance ARM  Cortex    MO 32 bit RISC core operating at a 48 MHz frequency  high speed embedded  memories  up to 64 Kbytes of Flash memory and up to 8 Kbytes of SRAM   and an  extensive range of enhanced peripherals and I Os  All devices offer standard  communication interfaces  up to two 12     up to two SPIs  and up to two USARTS   one  12 bit ADC  up to 6 general purpose 16 bit timers and an advanced control PWM timer     Figure 5  STM32F030R8T6 package       STM32F030R8T6    64 Kbyte of Flash memory  8 Kbytes of SRAM             LQFP64 10 x 10 mm MS31938V1       The STM32F030R8T6 microcontroller operates      the  40 to  85   C temperature range   from a 2 4 V to 3 6 V power supply  A comprehensive set of power saving modes allows the  design of low power applications     These features make the STM32F030R8T6 microcontroller suitable for a wide range of  applications such as application control and user interfaces  handheld equipment    AN receivers and digital TV  PC peripherals  gaming platforms  e bikes  consumer  appliances  printers  scanners  alarm systems  video inter
18. Atollic  TrueSTUDIO   IAR  EWARM   Keil  MDK ARM       MS19052V2             Table 2  Jumper states       Jumper state Description    Both CN2 jumpers ON   ST LINK V2 functions enabled for on board programming  default     ST LINK V2 functions enabled for application through external CN3    Both                     Mer connector  SWD supported                 DoclD025097 Rev 1 13 39       Hardware and layout    UM1658       4 2 1    Using ST LINK V2 to program debug the STM32 F0 on board    To program the STM32 FO on board  simply plug in the two jumpers on CN2  as shown in  Figure 8 in red  but do not use the CN3 connector as that could disturb communication with  the STM32F030R8T6 of the 32F0308DISCOVERY        14 39    CN3    Figure 8  32F0308DISCOVERY connections image    SWD connector        es    PC13    755    x 1400 D Lee    www st com stm S2f0   discovery   9                             5         4           LZ  laa  E          12                 10      Pao    i  Q P48         bY    4 lec   SEX  8     n UR 2     USER 9008 RESET    gt  BP o           R33 Bx     cas al Belas                      1                     1134 NN ws  STM32F0308 DISCO  SI 20       DoclD025097 Rev 1       CN2 jumpers on       2       UM1658    Hardware and layout       4 2 2    Note     d    Using ST LINK V2 to program debug an external STM32 application    It is very easy to use the ST LINK V2 to program the STM32 on an external application   Simply remove the 2 jumpers from CN2 as shown in
19. DUCTS ARE NOT AUTHORIZED FOR USE IN WEAPONS  NOR ARE ST PRODUCTS DESIGNED OR AUTHORIZED FOR USE  IN   A  SAFETY CRITICAL APPLICATIONS SUCH AS LIFE SUPPORTING  ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH  PRODUCT FUNCTIONAL SAFETY REQUIREMENTS   B  AERONAUTIC APPLICATIONS   C  AUTOMOTIVE APPLICATIONS OR  ENVIRONMENTS  AND OR  D  AEROSPACE APPLICATIONS OR ENVIRONMENTS  WHERE ST PRODUCTS ARE NOT DESIGNED  FOR SUCH USE  THE PURCHASER SHALL USE PRODUCTS AT PURCHASER S SOLE RISK  EVEN IF ST HAS BEEN INFORMED IN  WRITING OF SUCH USAGE  UNLESS A PRODUCT IS EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR    AUTOMOTIVE   AUTOMOTIVE SAFETY OR MEDICAL    INDUSTRY DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS   PRODUCTS FORMALLY ESCC  QML OR JAN QUALIFIED ARE DEEMED SUITABLE FOR USE IN AEROSPACE BY THE  CORRESPONDING GOVERNMENTAL AGENCY     Resale of ST products with provisions different from the statements and or technical features set forth in this document shall immediately void  any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever  any  liability of ST     ST and the ST logo are trademarks or registered trademarks of ST in various countries   Information in this document supersedes and replaces all information previously supplied   The ST logo is a registered trademark of STMicroelectronics  All other names are the property of their respective owners        2013 STMicroelectronics   All rights reserved 
20. FP64  package    On board ST LINK V2 with selection mode switch to use the kit as a standalone  ST LINK V2  with SWD connector for programming and debugging     Board power supply  through USB bus or from an external 5 V supply voltage  External application power supply  3 V and 5 V   Four LEDs      101  red  for 3 3 V power on        LD2  red green  for USB communication       103  green  for PC9 output     104  blue  for        output   Two push buttons  user and reset    Extension header for LQFP64 I Os for quick connection to prototyping board and easy  probing    An additional board is provided with the kit which can be connected to the extension  connector for even easier prototyping and probing     A large number of free ready to run application firmware examples are available on  www st com stm32f0 discovery to support quick evaluation and development     DoclD025097 Rev 1 7 39       Hardware and layout UM1658       4    8 39    Hardware and layout    The STM32F030 Value Line Discovery board is designed around the STM32FO30R8T6  microcontroller in a 64 pin LQFP package     Figure 2 illustrates the connections between the STM32F030R8T6 and its peripherals   ST LINK V2  push button  LEDs and connectors      Figure 3 and Figure 4 help you to locate these features on the STM32F030 Value Line  Discovery board     Figure 2  Hardware block diagram                                                                   Embedded  ST LINK V2             STM32F030R8T6   o      79     
21. PF7         IN140rI2C2 SDA  A5 Analog input or SCL or Digital   pcs orPF6  ADC_IN15 or 12C2_SCL             DoclD025097 Rev 1    31 39       Connecting modules on the prototyping board    UM1658       32 39    Table 10  Connecting with Arduino shields  continued        Arduino digital connector    32F0308DISCOVERY                                                                         DO Digital pin 0 or RX PA3 USART2 RX  D1 Digital pin 1 or TX PA2 USART2 TX  D2 Digital pin 2   External interrupt PB12 EXTI  5V tolerant   D3 Digital pin 3   Ext int or PWM PB11 EXTI  5V tolerant  or TIM2_CH4  04 Digital pin 4     7 GPIO       tolerant   D5 Digital pin 5 or PWM PB9 TIM17_CH1  D6 Digital pin 6 or PWM PB8 TIM16_CH1  D7 Digital pin 7 PA6 GPIO       tolerant   D8 Digital pin 8 PAS GPIO  8V tolerant   D9 Digital pin 9 or PWM PA4 TIM14_CH1  D10 Digital pin 10 or CS or PWM PA11 TIM1_CH4  011 Digital pin 11      MOSI      PWM PB5 SPI1 MOSI or TIM3_CH2  D12 Digital pin 12 or MISO PB4 SPI1_MISO  D13 Digital pin 13 or SCK PB3 SPI1 SCK  GND Reference Ground GND Reference Ground  AREF ADC voltage reference NC Not connected  Arduino ICSP connector 32F0308DISCOVERY  1 MISO PB4 SPI1 MISO  2 VCC 3 3V 3V VDD  3 SCK PB3 SPI1_SCK  4 MOSI PB5 SPI1 MOSI  5 RST NRST Reset discovery  6 GND GND Reference Ground          DoclD025097 Rev 1                   UM1658 Connecting modules on the prototyping board       Figure 12 illustrates the connections between the 32F0308DISCOVERY and the Arduino  shield bo
22. SM330D             DoclD025097 Rev 1    2                            UM1658 Connecting modules on the prototyping board  Table 9  Supported MEMS adapter boards  continued   ST MEMS DIL24 Eval Board Core product  10AXISMODULE  LSM303DLHC   L3GD20   STEVAL MKI124V1 LPS331AP   STEVAL MKI125V1 A3G4250D  Note  For an up to date list  visit http  Avww st com internet evalboard subclass 1116 jsp          DIL24 boards are described as    adapter boards    in the field    General Description      5 3 Arduino shield boards    d    Arduino    is an open source electronics prototyping platform based on flexible  easy to use  hardware and software  See http   www arduino cc for more information     Arduino accessory boards are called    Shields    and can be easily connected to the  32F0308DISCOVERY according to the following table     Table 10  Connecting with Arduino shields       Arduino power connector    32F0308DISCOVERY                                        pin 19       Reset Reset from Shield board NRST Reset discovery  3V3 VCC 3 3V power line 3V VDD  5V VCC 5V power line 5V VDD  GND Reference Ground GND Reference Ground  GND Reference Ground GND Reference Ground  Vin External alimentation 3V EI by  Arduino analog in connector 32F0308DISCOVERY  AO Analog input or Digital pin 14 PCO ADC_IN10       Analog input      Digital pin 15 PC1 ADC_IN11  A2 Analog input or Digital pin 16 PC2 ADC_IN12  A3 Analog input or Digital pin 17 PC3 ADC_IN13    4 Ade input or SDA or Digital          or 
23. T products  STMicroelectronics NV and its subsidiaries     ST     reserve the  right to make changes  corrections  modifications or improvements  to this document  and the products and services described herein at any  time  without notice     All ST products are sold pursuant to ST   s terms and conditions of sale     Purchasers are solely responsible for the choice  selection and use of the ST products and services described herein  and ST assumes no  liability whatsoever relating to the choice  selection or use of the ST products and services described herein     No license  express or implied  by estoppel or otherwise  to any intellectual property rights is granted under this document  If any part of this  document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products  or services  or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such  third party products or services or any intellectual property contained therein     UNLESS OTHERWISE SET FORTH IN ST   S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED  WARRANTY WITH RESPECT TO THE USE AND OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED  WARRANTIES OF MERCHANTABILITY  FITNESS FOR A PARTICULAR PURPOSE  AND THEIR EQUIVALENTS UNDER THE LAWS  OF ANY JURISDICTION   OR INFRINGEMENT OF ANY PATENT  COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT     ST PRO
24. alue Line Discovery kit and  launch the DISCOVER application     1  Check jumper position on the board  JP2 on  CN2 on  Discovery selected      2  Connect the 32F0308DISCOVERY board to a PC with a USB cable    type A to mini B   through USB connector CN1 to power the board  Red LED LD1  PWR  and LD2  COM   light up and green LED LD3 blinks     3  Press user button B1  bottom left corner of the board      4  Observe how the green LED LD3 blinking changes according to USER button B1  clicks     5  Each click on USER button B1 is confirmed by the blue LED LD4     6  Tostudy or modify the DISCOVER project related to this demo  visit  www st com stm32f0 discovery and follow the tutorial     7  Discover the STM32FO features  download and execute programs proposed in the list  of projects     8  Develop your own application using available examples     2 2 System requirements    e Windows PC  XP  Vista  7   e USB type A to Mini B USB cable    2 3 Development toolchains supporting the 32F0308DISCOVERY    e   Altium amp                     VX toolset   s   ARMG  Atollic TrueSTUDIOG   s            EWARM  IAR Embedded Workbench   s              MDK ARM       2 4 Order code    To order the STM32F030 Value Line Discovery kit  use the order code  STM32F0308 DISCO     2    6 39 DoclD025097 Rev 1       UM1658    Features       3    d    Features    The STM32F030 Value Line Discovery kit offers the following features     STM32F030R8T6 microcontroller featuring 64 KB Flash  8 KB RAM      an LQ
25. ards     Figure 12  Arduino shield board connections                   3    DoclD025097 Rev 1 33 39       Mechanical drawing    UM1658                         6 Mechanical drawing  Figure 13  32F0308DISCOVERY mechanical drawing  53  34mm                   e             E         8                           P  22888                TX  www st com s 13270 discovery     M           D A     95858 E     CO  U3  MB1134 revA     STM32F0308 DISCO         e  7  62     38 10     7  62      Ly     34 39    DoclD025097 Rev 1       Electrical schematics    UM1658       Electrical schematics    7    Figure 14  32F0308DISCOVERY          Jo 112245                             89d          fELLEMW qunN                            080428015                                                                                2184  tigd  5184  924  194    60d  8Vd          01  4                    IVd  944   34  vIvd  SIVd  0104  Td  194                tad  S  d  98d  184  01008               884       684                        AS    OMS 1  ISUN       OIGMS SW L  OCIOMS SOL       2001495 XdcEALS  XJTENLS N       ANITIS     2OGHOS CA ANIT LS                                      35 39    DoclD025097 Rev 1       UM1658    Electrical schematics       Figure 15  ST LINK V2  SWD only                 29945                                                                                      GMS  ZA MNIT LS                    080428015                                      S21Uu04329 90J9  N 1S             090 US
26. coms  and HVACs     DoclD025097 Rev 1 11 39       Hardware and layout UM1658       Figure 6  STM32F030R8T6 block diagram                                                                                                                                                                                                                                                                     POWER  VOLT REG E  Vop7 2 4 to 3 6 V              5 33VTO 18V Ve i  as AF        a   Flash L    E  up to                                     9  64            gt        32 bits POR4   SUPPLY             48 MHz Reset 4   SUPERVISION  Int  lt  lt    NRST  x i  EC   5  sram   oy POR PDR               amp   amp   4 8kB DDA           2    5 RC HS 14 MHz           RC HS 8 MHz       GP DMA K          T YA Va   OSC IN  PFO   AIMN  _OSC_OUT  PF1                 KC   Power     gt  AHBPCLK Controller     gt  APBPCLK     5  l   ADCCLK     VDD  CONTROL  2 fore     XTAL32 kHz H 05  32       PC14   PAH RI  lt  GPIO port A Ko        y 1   OSC32 OUT      15     GPIO port B 5 RTC  4     TAMPER RTC  Penso 9  0        KY 5  ALARM OUT   9 RTC interface  PC 1 Rie GPIO port    8  lt            KG  RTC interface    PD2  7    GPIOpotD KC  gt      PF 1 0  GPIO port F 4 channels       7 4    GPlOpotr   C TIMER 1 K 3 compl  channels  BRK  ETR input as AF  TIMER 3      4        ETR as AF       AHB TIMER 14 C   channel as AF  APB  2 channels  K  gt   TIMER 15   datu compl  BRK as AF                                                   
27. configured as GPIO  so SB16 and SB17 are closed  SB18 is open and R22  R23  C13 and  C14 are not populated   An external HSE clock can be provided to the MCU in three ways   s        from ST LINK  From        of the STM32F103  This frequency cannot be  changed  it is fixed at 8 MHz and connected to PFO OSC_IN of the STM32F030R8T6   Configuration needed        SB16  SB18 CLOSED      R22  R23 removed       SB17 OPEN  e Oscillator onboard  From X2 crystal  not provided   For typical frequencies and its  capacitors and resistors  please refer to the STM32F030R8T6 datasheet   Configuration needed       5816  5817  SB18 OPEN      R22  R23  C13  C14 soldered  e Oscillator from external PFO  From external oscillator through pin 7 of the P1  connector  Configuration needed        SB16  SB17 CLOSED       SB18 OPEN      R22 and R23 removed  4 7 2 OSC 32 KHz clock supply          PC14 and PC15 can be used      GPIO or as LSE oscillator  By default these I Os are  configured as GPIO  so SB20  amp  SB21 are closed and X3  R24  R25 are not populated   An external LSE clock can be provided to the MCU in two ways   e   Oscillator onboard  From      crystal  not provided   Configuration needed        5820  SB21 OPEN         C15  C16  R24 and R25 soldered     e   Oscillator from external     14  From external oscillator trough the pin 5 of P1  connector  Configuration needed          SB20  SB21 CLOSED      R24 and R25 removed    DoclD025097 Rev 1 17 39       Hardware and layout UM1658       4 8
28. nal is connected to GND   BOOTO signal of the STM32FO30R8T6 MCU is held low through     ON    SB2 510 Ohm pull down resistor    BOOTO  OFF BOOTO signal of the STM32F030R8T6 MCU can be set high through a  10 KOhm pull up resistor R27 to solder   SB18 ON Provides the 8 MHz for OSC_IN from MCO of STM32F030R8T6    MCO   OFF      5816  5817 description                    1  Default SBx state is shown in bold     2  OSC IN clock comes from MCO if SB18 is ON and SB16 17 are OFF  and comes from X2 if SB18 is OFF and SB16 17 are ON           18 39 DoclD025097 Rev 1       UM1658    Hardware and layout       4 9    2    Extension connectors    The male headers P1        P2 can connect the 32F0308DISCOVERY to a standard  prototyping wrapping board  STM32F030R8T6 GPI Os are available on these connectors   P1 and P2 can also be probed by an oscilloscope  logical analyzer or voltmeter     Table 5  MCU pin description versus board function       MCU pin    Board function       Main  function    BOOTO    Alternate  functions    BOOTO    v9ds01                         60    q31        5    950       9914                         EN    Ld             NRST    NRST    19534    ISHN       PAO    USART1_CTS   USART2_CTS   ADC_INO   RTC_TAMP2   WKUP1    14    ERI     15                 USART1_RTS   USART2_RTS   EVENTOUT   ADC_IN1    15    16       PA2    USART1_TX   USART2_TX   TIM15_CH1   ADC_IN2    16    17       PA3    USART1_RX   USART2_RX         15     2                    17    18           4 
29. olerant   SCK SPI Clock line PB3 SPI1 SCK  MISO SPI Slave Output line PB4 SPI1_MISO  MOSI SPI Slave Input line PB5 SPI1 MOSI  PWM PWM output line PA8 TIM1 CH1  INT Hardware Interrupt line PB12 GPIO INPUT EXTI  5V tolerant   RX UART Receive line PA3 USART2 RX  TX UART Transmit line PA2 USART2_TX  SCL   2   Clock line PF6 I2C2 SCL  SDA I2C Data line     7 I2C2 SDA  5V VCC      power line 5V Power line  DoclD025097 Rev 1 25 39       Connecting modules on the prototyping board UM1658       Table 7  Connecting using IDC10                                                             Mikroelektronica IDC10 connector 32F0308DISCOVERY       GPIO PCO GPIO OUTPUT  3 3V tolerant   P1 GPIO PC1 GPIO OUTPUT  3 3V tolerant   P2 GPIO PC2 GPIO OUTPUT  3 3V tolerant   P3 GPIO PC3 GPIO OUTPUT  3 3V tolerant   P4 GPIO PC4 GPIO OUTPUT  3 3V tolerant   P5 GPIO PC5 GPIO OUTPUT  3 3V tolerant   P6 GPIO PC6 GPIO OUTPUT  5V tolerant   P7 GPIO PC7 GPIO OUTPUT  5V tolerant   VCC VCC 5V power line 3V VDD  GND Reference Ground GND VSS  PO GPIO PCO GPIO OUTPUT  3 3V tolerant   P1 GPIO PC1 GPIO OUTPUT  3 3V tolerant   P2 GPIO PC2 GPIO OUTPUT  3 3V tolerant   P3 GPIO PC3 GPIO OUTPUT  3 3V tolerant   26 39 DoclD025097 Rev 1 Ky        UM1658    Connecting modules on the prototyping board             The Figure 10 illustrates the connections between the 32F0308DISCOVERY and      2    connectors  IDC10 and mikroBUS        Figure 10  Using IDC10 and mikroBUS    connectors                GND    PCO  PC1    PC2  PC3 
30. ted power capability     LEDs    s LD1 PWR  Red LED indicates that the board is powered       LD2 COM  Tricolor LED  COM  advises on the communication status as follows       Slow blinking Red LED Off  At power on before USB initialization        Fast blinking Red LED Off  After the first correct communication between PC and  STLINK V2  enumeration         Red LED On  When initialization between PC and ST LINK V2 is successfully  finished        Green LED On  After successful target communication initialization        Blinking Red Green LED  During communication with target       Red LED On  Communication finished and OK       Orange LED On  Communication failure  s User LD3  Green user LED connected to the I O PC9 of the STM32F030R8T6   s User LD4  Blue user LED connected to the I O PC8 of the STM32F030R8T6     Push buttons    s B1USER  User push button connected to the I O PAO of the STM32F030R8T6   e   2 RESET Push button used to RESET the STM32F030R8T6     JP2  Idd     Jumper JP2  labeled Idd  allows the consumption of STM32FO30R8T6 to be measured by  removing the jumper and connecting an ammeter   e Jumper on  STM32F030R8T6 is powered  default      e Jumper off  an ammeter must be connected to measure the STM32F030R8T6 current    if there is no ammeter  the STM32F030R8T6 is not powered      2    DoclD025097 Rev 1          UM1658 Hardware and layout  4 7 OSC clock  4 7 1 OSC clock supply  PFO and PET        be used as GPIO or as HSE oscillator  By default these I Os are  
31. ting modules on the prototyping board    This section gives some examples of how to connect ready to use modules available from  different manufacturers to the STM32F030 Value Line Discovery kit via the prototyping  board included in the kit     Software examples  based on the connections described below  are available at  www  st com stm32f0 discovery     Mikroelektronica accessory boards    Mikroelektronika  http   www mikroe com  has specified two standard connectors for their  accessory boards  named mikroBUS     http   www mikroe com mikrobus specs pdf  and  IDC10     MikroBUS   is a 16 pin connector to connect accessory boards very quickly and easily to a  microcontroller board through SPI  USART or   2   communications  along with additional  pins such as Analog Input  PWM and Interrupt     The set of mikroElektronika boards compatible with mikroBUS    is called    Click boards      IDC10 is a 10 pin connector to connect the general purpose      of an MCU to other  accessory boards     The tables below are one solution for connecting mikroBUS    and IDC boards to the  32F0308DISCOVERY   this solution used in the different examples is available at  www st com stm32f0 discovery     Table 6  Connecting using mikroBUS                                                          Mikroelektronica mikroBUS    32F0308DISCOVERY  Pin Description Pin Description  AN Analog pin     4 DAC1_OUT  RST Reset pin PB13 GPIO OUTPUT  5V tolerant   CS SPI Chip Select line PA11 GPIO OUTPUT  5V t
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
  本物の音が甦る 高音域補間機能「Bit-Revolution」搭載  Mode d'emploi  McRain Plus Betriebsanleitung  Samsung NX300 (18-55 mm) Felhasználói kézikönyv  Installations- u. Betriebsanleitung  Samsung 2333HD Lietotāja rokasgrāmata  7. 資 料 - 法人のお客様  Samsung DVD-511/XEC Manual de Usuario  VPCEB2HFX/B - Clearance Club    Copyright © All rights reserved. 
   Failed to retrieve file