Home
User Manual
Contents
1. 8811 12 2 SDA 8 SDO en A Ser sul VCC 3 3V a 3 Eo 10pF 10pF 3 3 imi E 1 PE2 GPIO mE m S 0 2 2uF a Q VCC 3 3V esses 38 A FERE 3 3 11 LDO3V3 R33 100K PD7 GPIO PB5 GPIO PB8 PWM PDO INT Pads HDR2 Figure 8 1 Connecting pads schematic Most microcontroller pins are available for further connectivity via two 1x26 rows of connection pads on both sides of the clicker 2 for STM32 board They are designed to match additional shields such as Battery Boost shield Gaming PROTO shield and others Page 26 CS PE8 SCK PC10 MISO PC11 MOSI PC12 13 37 o PE9 PWM PE10 INT gt PDE RX BDS TX PA8 SCL PC9 SDA Reset pin RST Goen Erb UB VSYS System power supply Reference Ground GND m GND Reference Ground MESZ PB9 Pc PB8 316 PC3 Analog Lines PES PBI PWM lines PBO f 1 CH an 4 PAS PAS pa5 IB d DC A PAGS tas mikro E E AEE mikro PD3 PA7 lee Aa 9 ENS BUS PD1 Interrupt Lines e ANIPA3 AA OT PD2 e RSTIPE7 PE1O INT S PE14 INT d PDO Digital 1 0 cSPEB PDSERX eegen PD9 RX 11 igita Ines SCK PC10 PDSITX SCKIPB13 GC T MISOPC14 PABISC MISO PB14 PB10 SCL di MOSI PC12 PO9ISDA MOSI PB15 PB11 SDA 3 Digital 1 0 lines ERS 3 3 1 B GND dim d puis 1 UART4 Lines 1x 0 iaa A PB13 1
2. History Window Attach USB HID device or reset if attached Waiting MCU response Connected Connect to MCU Choose HEX file Start Begin bootloader uploading oO Bootloading progress bar No files opened Figure 3 3 Browse for HEX 00 Click the Browse for HEX button and from a pop up window Figure 3 4 choose the HEX file which will be uploaded to MCU memory Page 12 step 3 Selecting HEX file Open gO gt Local Disk C Project New folder v 4 Search Project D v m0 Organize v Name Date modified Type Size Libraries E Documents a Music Pictures Videos 4 Homegroup P Computer amp Local Disk C Local Disk D 4 File name clicker2 for STM32 hex Figure 3 4 Selecting HEX 01 Select HEX file using open dialog window Click the Open button step 4 Uploading HEX file CE mikroElektronika USB HID Bootloader v2 3 0 0 Wait for USB link e clicker2 for STM32 Device MCU Type STM32F4XX History Window Attach USB HID device or reset if attached Waiting MCU response Connected Opened C Project clicker2 for STM32 hex Connect to MCU Disconnect for HEX Begin uploading Choose HEX file Start bootloader Bootloading progress bar C ProjectlPIC dicker hex Figure 3 5 Begin uploading To start HEX file bootloading click the
3. CLICKER 29 a fast click board two seater A compact starter kit with your favorite microcontroller and two mikroBUS sockets DEVELOPMENT TOOLS I COMPILERS I BOOKS WALLED ICO STO ERS want to express my thanks to you for being interested in our products and for having confidence in MikroElektronika The primary aim of our company is to design and produce high quality electronic products and to constantly improve the performance thereof in order to better suit your needs Nebojsa Matic General Manager Table of contents Introduction to clicker 2 for STM32 Key features 1 Power supply STM32F407VGT6 microcontroller Key microcontroller features 3 Programming the microcontroller 3 1 Programming with mikroBootloader Step 1 Connecting clicker 2 for STM32 Step 2 Browsing for HEX file Step 3 Selecting HEX file step 4 Uploading HEX file Step 5 Finish upload LD 0 U gt 10 11 11 12 12 13 14 3 2 Programming with mikroProg programmer mikroProg Suite for ARM software 3 3 Programming with ST LINK V2 programmer 4 Buttons and LEDs 5 Power management and battery charger 6 Oscillators 7 USB connection 8 Pads 9 Pinout 9 1 mikroBUS pinout 10 click boards are plug and play 11 Dimensions 15 16 17 19 21 22 24 26 27 28 09 31 Introduction to clicker 2 for STM32 clicker 2 for STM32 is a compact dev kit with two mikroBUS sockets
4. gt C7 e 1 1 2 2uF 4 ononon A a eo AN S VCC 33V VCC 33V VCC 3 3V 0 1 1 1 oIN ANIM 2 oO 3 3 PQ Land Laa EN OO CO CO CO CO CO CO CO CO CO D1 Kori ken Kea Koa Ken LN OOOO C40 C39 J1 ee is 10uF 10 LDO3V3 R33 100K NOTE The use of crystal in all other schematics is implied even if it is purposely left out because of the schematics clarity Figure 6 3 Crystal oscillator schematic 7 USB connection STM32F407VGT6 microcontrollers has an integrated USB module which enables you to implement USB communication functionality to your clicker 2 board Connection with target USB host is done over a Mini B USB connector which is positioned next to the battery connector Figure 7 1 Connecting USB cable to clicker 2 Page 24 d 1 EEN VCC 3 3V VCC 3 3V VCC 33V VCC 3 3V 3 3 33 VCC 3 3V R7 AVCC C9 100 d EEN 100K LIM Ke Ea U1 Ler kon Kopf Lex Lea Lea OO oo JOT OT fOr orf WlLOOIN IDIOT 25 Co P2 F O oo IN Ov 01 min xi 100pin TQFP OSC OUT STM32F407VGT6 c
5. EDIO GIO ex BI ee PD14 GPIO 61 100pin TOFP PCO AN x T 33 Vcc33 PBL4 SPI2 MISO TX ia 5810 1202 Sc x RESET T 3 SCL m VERA ILLUS m pin Q ear t de 4 8 PBIS SPI2 MOSI SpA e P8L1 I2C2 SDA OSC_IN 2 33 1 3 3 T SE Sa S STM32F407VGT6 LL G i H HA PC9 12C3_SDA 66 05 32 OUT 1000 22uF RESET R4 RST EX ER PAS 12C3_5CL 67 0SC32_IN 525 33 2 PCIS OSC32 OUT z 220 e TDI VCC 3 3VVCC 3 3V PA10 T3 65 PC14 0SC32 IN PCI3 GPIO x2 RESET erie i2 220H E URN 2 PC13 TAMPER_RTC 1 1 one Rg Fr USB D P 71 PE6 GPIO 32 768KH2 T pi TMS 72 PES PWM a C23 J 10pF 1 73 PE4 GPIO mz TT 74 PE3 GPIO VCC BAT 24 822 75 PE2 GPIO L 1 Mi R23 Ral 105K 7 2 5 pio 2K94 22uF Ra ISK nm 33 25 PB12 SENSEL 100nF RL R2 IK T ee L3 Ir L3 DMP2305U R12 VCCSV WEEN VCCV VCCV VCC33V Ld m Weiss hook 826 ET c30 27 cs 103 Dos Na CN2 106 58 ke o Tour x Wa c mon LL E E Bim PCS VSENSE VCC USB use per 100 FER 1 I 5 TE 88 E R33 100K 15 S USB D N 25 wa Mk G2 o 470 ola 8 10K 10K USB D P 3 p mE K Ae m 4 Zur Tour E 1 I Ld i 6 gt mam EHS ojojo j Jol al 7 el jan D gt vL SES SEE T E B Ros E E E E 515 E E A IM m dell S ll
6. T 2 2 VCC 3 3V AVCC Figure 3 13 mikroProg connection schematic _ SL 752 VCC 3 3V VCC 3 3V SH 35 B C35 C36 E E amp OOnF 00nF 5 C6 60 22pF TT 100pin TOFP 1 L 1 gt STM32F407VGT6 en LP C37 C38 E EE OSC32 OUT qe Te PC15 0SC32 OUT H OSC32 IN 99 PC14 0SC32_IN x2 PC13 TAMPER_RTC SS 33 VCC 3 33V IMS Io Ec C34 L L 23 zi 10pF 10pF C40 C39 amp 75 3 10uF 10uF 2 2uF x VCC 3 3V NOTE Before attaching st the programming a bill i 1 connector you i 85 3 have to solder the Lem 2 ms provided 2x5 male 7 9 s 10 RESET header to the JTAG L c 0 CN3 pads 7 E The board also contains a 1 reset button and a pair of buttons and LEDs as well as an ON OFF switch The Reset button is used to manually reset the microcontroller it generates a low voltage level on the microcontroller s reset pin LEDs can be used for visual indication of the logic state on two pins PE12 and PE15 An active LED indicates that a logic high 1 is present on the pin Pressing any of the two buttons can change the logic state of the microcontroller pins PEO and PA10 from logic high 1 to eg logic low 0 In addition to the onboard ON OFF Figure 4 1 switch two pads EXT and PSW allow you to Two LEDs two buttons connect your own external switch and a reset bu
7. 1 3 Power supply schematic DMP2305U AVCC VCC BAT AN INT VCC 3 3V PWM EI 2 STM32F407VGT6 microcontroller The clicker 2 for STM32 development tool comes with the STM32F407VGT6 device This 32 bit high performance microcontroller is rich with on chip peripherals and features 1 MB of Flash and 192 4 KB of SRAM It has integrated full speed USB 2 0 support LEXT MEM CONTR SE ETH MAC 10 100 CAM INTERFA c SRAM 176 kB 3 AHB Bus MATRIX GPIO PORT ABCDEFGH A R M MET Lortevm Ma 3 x TIM PWM 16 bit STM32F407VGT6 X TIMER 16 bit Key microcontroller features 16 bit and 32 bit Timers up to 168Mhz 32 bit ARMY Cortex M4 architecture N ZE 1 MB of Flash memory 192 4 KB SRAM 3x 12 bit ADC Internal Oscillator 25MHz 32kHz PLL SPI IC CAN USB USART UART RTC Ethernet NI Kap POWER RESET a XI DG 3 X TIMER 16 bit ADAC e Figure 3 1 STM32F407VGT6 microcontroller The microcontroller can be programmed in three ways Using USB HID mikroBootloader Using external mikroProg for STM32 programmer Using external ST LINK V2 programmer Page 10 3 1 Programming with mikroBootloader You can program the microcontroller with a bo
8. Begin uploading button Wait for e Browse Connect to MCU Choose HEX file Start Sto p bootloader uploading Bootloading progress bar F LED Blinking LedBlinking hex Figure 3 6 Progress bar CE mikroElektronika USB HID Bootloader v2 3 0 0 STM32F4XX MCU Type History Window Attach USB HID device or reset if attached Waiting MCU response Connected Opened C Project clicker2 for STM32 hex Uploading Flash Erase Flash Write 01 Progress bar enables you to monitor HEX file uploading Page 13 step 5 Finish upload mikroElektronika USB HID Bootloader v2 3 0 0 BECH CE mikroElektronika USB HID Bootloader v2 3 0 0 LJ Wait for Wait for MCU Type USB link amp USB link Connect NES History Window to MCU Opened C Project cicker2 for STM32 hex Uploading Flash Erase Choose Browse Flash Write HEX file for HEX Completed successfully Disconnected Reset Start Begin Reset device to reenter bootloader mode bootloader uploading ee Restarting MCU Uploading program completed successfully Choose HEX file v Show details Start bootloader uploading C Project PIC_cicker hex C ProjectlPIC dicker hex Figure 3 7 Restarting MCU Figure 3 8 mikroBootloader ready for next job 01 Click OK button after the uploading process is finished 021 Press Reset button on clicke
9. SCK 1 a PB14 SDI SPI2 Lines 12C2 Lines 2 el PBl5 Spo 3 3V power supply 3 3V EEY 3 3V 3 3V power supply Reference Ground GND OE Pm 8 2 Lei A ETE GND Reference Ground ct WS C22 Digital lines Analog Lines Interrupt Lines SPI Lines l2CLines UART lines Mi PWM lines Page 27 9 1 mikroBUS pinouts Having two mikroBUS sockets and an additional connection pad clicker for STM32 utilizes all of the STM32F407VGT6 s I Os Each of the three UART outputs has its own separate connection pin either on mikroBUS 1 or or on the 2x26 connection pad Of the two SPI lines one is routed to mikroBUS 1 the other is shared between mikroBUS 2 and the pins on the connection pad Same goes for the two available 1C lines ANIPA2 Era RST PE7 PE1O INT o 55 5 806 RX SPI3 SCK PC10 SCKIPC10 PD5 TX PD5 TX UART 2 Lines MISO PC11 MISO PC11 8 8 Lines MOSI PC12 PC9 SDA 203 Lines 3 3v RST PE13 PE14 INT CS PE11 PD9 RX PD9 RX Figure 9 1 SPI2 SCK 2813 cr POSSI PD8 TX _ UART3 Lines e 5 MISO PB14 MISO PB14 PB10 SCL mikroBUS ERR MOSI 7 PB15 arenal Lines individual and sav 2 5 shared lines ke SN Page 28 Up to now MikroElektronika has released more than 90 mikroBUS compatible click boards On the average one click board is released per week It is our int
10. lanra sem A 5 Tm RST PE7 PE10 INT RST PE13 PE14 INT mikroBUS sockets 1 and o 1 00C PD6 RX CS PE11 PDYRX Pushbuttons 2 SE sn gen 10 MISO PC11 PA8 SCL MISO PB14 PB10 SCL Additional LEDs O E PCS SDA MOSI PB15 ale lO 33V del 3 34 5v LTC3586 USB power manager IC le m 1 DS Ep euni M I USE a 32 S PD Indication LEDs Veloso I Et SCH 3 C RESET button USB mini B connector STM32F407VGT6 Battery connector JTAG programmer connector Page 5 VCC33V VCC33V VCC33V 3V3 VCC33V VCC33V VOC33V VCC33V VCG33V VCC33V a E Li 88 12 EE c9 10 o laz 5 C36 c 38 C40 C39 dd ela is E 0 vas al alala xix d i
11. loss of business profits and business information business interruption or any other pecuniary loss arising out of the use of this manual or product even if MikroElektronika has been advised of the possibility of such damages MikroElektronika reserves the right to change information contained in this manual at any time without prior notice if necessary TRADEMARKS The MikroElektronika name and logo mikroC mikroBasic mikroPascal Visual TFT Visual GLCD mikroProg Ready MINI mikroBUS EasyPIC EasyAVR Easy8051 click boards and mikromedia are trademarks of MikroElektronika All other trademarks mentioned herein are property of their respective companies All other product and corporate names appearing in this manual may or may not be registered trademarks or copyrights of their respective companies and are only used for identification or explanation and to the owners benefit with no intent to infringe Copyright O 2014 MikroElektronika All Rights Reserved use If you want to learn more about our products please visit our web site at www mikroe com If you are experiencing some problems with any of our products or just need additional information please place your ticket at www mikroe com support If you have any questions comments or business proposals 5 A licker 2 for STM32 do not hesitate to contact us at office mikroe com un ua um 100000 I 027103
12. 5 mils 73 66 mm 2900 mils 63 5 mm 2500 mils Y AAA 0 5110 0 0 0 0 0 Keke 8 89 mm 350 mils 36 58 mm 1440 mils 8516 6 6 6 6 6 6 516 6 6 6 60 6 6 60 45 mm 2380 mils 2200 mils 2 54 mm 2 67 mm 100 mils 105 mils Page 31 2 03 mm 80 mils DISCLAIMER All the products owned by MikroElektronika are protected by copyright law and international copyright treaty Therefore this manual is to be treated as any other copyright material No part of this manual including product and software described herein may be reproduced stored in a retrieval system translated or transmitted in any form or by any means without the prior written permission of MikroElektronika The manual PDF edition can be printed for private or local use but not for distribution Any modification of this manual is prohibited MikroElektronika provides this manual as is without warranty of any kind either expressed or implied including but not limited to the implied warranties or conditions of merchantability or fitness for a particular purpose MikroElektronika shall assume no responsibility or liability for any errors omissions and inaccuracies that may appear in this manual In no event shall MikroElektronika its directors officers employees or distributors be liable for any indirect specific incidental or consequential damages including damages for
13. A Sa l ie Seel 3 d E a Sur dE WIE BEES Sege E 8 3 E clicker 2 for STM32 schematic 1 Power supply ARS Battery power supply You can also power the board using a Li Polymer battery via on board battery connector On board battery charger circuit enables you to charge the battery over USB connection LED diode RED will indicate when battery is charging Charging current is 300mA and charging voltage is 4 2V DC Figure 1 1 Connecting USB Page 7 power supply USB power supply You can supply power to the board with a Mini B USB cable provided in the package On board voltage regulators provide the appropriate voltage levels to each component on the board Power LED GREEN will indicate the presence of power supply Figure 1 2 Connecting Li Polymer battery LDO3V3 LDO3V3 VCC 33V VCC 3 3V VCC 3 3V LDO3V3 swi LDO3V3 Oe Tas es La Ly AM RED R16 14 15 16 17 no 22 F PD4 BATSTAT E 10K a 2 PWR EN C18 nis 1M 100nF DMP2305U al VCC BAT PWR EN PWR EN Vers VCC USB gt VCC 3 3V 11 3 3 3 3 3 3 PC6 FAULT A ad i R20 C22 33pF i Be VCC 3 3V LD3 VCC USB x VCC USB x R8 470 D c m VCC BAT PB12 SENSEL PC5 VSENSE VCC BAT CNi BATT CONN VCC USB FP2 FERRITE 1 2 3 4 5 C2 10nF Figure
14. T E apar SSSR SESS 22222222 8 Ee ur id HOR ReseT BATTCONN 100nr 100n Tage bone Tioonr 100nF 100nF 100nF 10uF 10uF A cess e dedesa 3 0 Si E a ESE SES x m avec a PCI AN 100K PA2 MB1_AN um WS PE9 MB1 PWM PA3 MB2_AN PD12 MB2 PWM Gi pas pum PE7 MBI RST Ww s PEIO MBI INT PEI3 MB2 RST PE14 MB2 INT e pas pwm PES MB1 CS ZE MIC 06 8 2 RX PELI MB2 CS PD9 UART3 RX A 51 831 fal Pes PwM PCIO SPI SCC fal Coy R PD5 UART2 TX PB13 SPI2_SCK PDB UART3 TX PATAN M EL rn swi 8 11 5813 1150 PAB I2C3 SCL PB14 SPI2 MISO PB10 12C2_SCL PCA AN PAS PWM 65 5 08 009 5 WAN VCC33V VCC33V LDOSV3 ES PCI2 SPI3 MOSI E de BER El PC9 I2C3 SDA PBIS SPI2 MOST 8811 1202 598 Y PD3 INT E PAG PWM PD1 INT PA7 PWM BS RED R16 o4 Lo Iu 3 3V sv men 81 15 52 m a SF PB12 SENSEL 51 PA2 MB1_AN GND GND al Dan He PD4 BATSTAT PWR EN PB13 SPI2_SCK 52 PAI UARTA_RX m ee Jas PB14 SPI2_MISO 53 PAO UART4_TX EETA fa Ser ori Ki FE MOS 2 PD14 GPIO Pe6 GPIO ma Die aD ut gt PD13 GPIO E PB6 GPIO I PB7 GPIO PB5 GPIO VSYS vsvs PDIO GPIO 57 e 3 DMP2SOSU PDII GPIO 58 PC3 AN en 20 PD12 MB2 PWM 59 PC2 AN cs C6 61 0 81 81 02874 RX Four Tour PD13 GPIO 60 PCI AN 2 F avcc 33
15. ention to provide you with as many add on boards as possible so you will be able to expand your development board with additional functionality Each board comes with a set of working example code Please visit the click boards webpage for the complete list of currently available boards A www mikroe com click 10 click boards are plug and play Figure 10 1 clicker 2 for STM32 driving click boards Page 29 zl EE 1 857 82 2 TE Er LpLADOD 993 LyLMLOG WEZLS Ol EE SENSOR IC LE n LI NC eif 3 e i R4 in Sr LE NV t Thunder click d E zm C3 EX NC JIRO NC AL 666 ub 1919191915 LJ NC Hit QAO ARGH Sicht velsleslslele SE SCH dd RFID Se 8x8 Bolick al GNO FM click Bluetooth click Thunder click USB SPI click J Y S N NI JOVI ADR SEL kaam OUR LE c1 i9 pa Des Sg comi 1184 ze z 82 9 KE LS ze sr COMM 12C ADD 9 255 ez CE m Wr An ez Dr LET bei Ce LE You T SPI c a y cda click O NC elas e KE s ri3 Noumer Tole 29 LI Sg CR KR SC RE ECH CR AN ADC 33V 5V ze Light click PWR IRA EEN Kl 33 3V 5V click LI Dal GND BarGraph click seg click THERMO click Gyro click EEPROM click LightHz click Pressure click 11 Dimensions 319
16. er supply to the MCUs RTC from the li polymer battery or USB even when the rest of the system is turned off or reset LTC93586 also enables Figure 5 2 power battery charging over a USB management and connection battery charger IC e Figure 5 1 zero ohm J1 jumper Page 21 The STM32F407VGT6 microcontroller is equipped with an internal 16MHz RC oscillator that provides a stable clock signal Since the chips have an integrated PLL this base frequency is suitable for further clock multiplication Board also contains an additional 25MHz crystal oscillator as well as a 32 768kHz one which provides an external clock for the internal RTCC module Figure 6 1 Figure 6 2 32 768 kHz 25MHz crystal crystal oscillator oscillator module X2 module X1 1 2 2uF R7 VCC 3 3V VCC 3 3V 1 AAA 100K BIDS SS a Bon ai a fun El 6 El os SII Esa fo bal E EA ES LA ES el FILS sr sr eon en sa ea a aja a a 00 Kl N U1 VCC 3 3V AVCC 51 52 53 54 55 100nF 100nF 57 0 S 58 59 C5 C6 VCC 33V VCC 3 3V 60 S 22pF 22pF BL H X1 62 100pin TQFP C35 C36 63 DeC OUT OSC OUT PME 64 OSC_IN Tor Tw g STM32F407VGT6 E 66 8 OSC32 OUT E 15 05 32 OUT H OSC32 IN PC14 0SC32_IN X2 VCC33V VCC 3V 0 PC13 TAMPER_RTC d 71 32 768KHz p 1 C33 C34 100nF 100nF 74 S lopF 10pF 75
17. for click board connectivity You can use it to quickly build your own gadgets with unique functionalities and features It carries the STM32F407VGT6 a 32 bit ARM Cortex M4 microcontroller two indication LEDs two general purpose buttons a reset button an on off switch a li polymer battery connector a USB Mini B connector and two mikroBUS socket A JTAG connector and a 2x26 pinout for interfacing with external electronics are also provided The mikroBUS connector consists of two 1x8 female headers with SPI IC UART RST PWM Analog and Interrupt lines as well as 3 3V 5V and GND power lines Clicker 2 for STM32 board can be powered over a USB cable met AN PAZ RSTIPE7 CS PEB SCK PC10 MISO PC11 MOSUPC12 4 PE10 INT gt PDE RX PDS TX PABISCL PCB SDA 1 PEO 3 1 m PB11 sp Page 4 cod ael be El B ege n AN PA3 RST PE13 CS PE11 SCK PB13 MISO PB14 MOSI PB15 5 GND 313 EIS el PD12 PWM PE14 INT PD9 RX PD8 TX PB10 SCL PB11 SDA d SDI PB14 1110111111 ON OFF switch 2 Sa T ALLE Pads for connecting external ON OFF switch Seat Jumper for enabling RTC power supply SE Pe py e e 25 MHz crystal oscillator EA SES eat 52 11 11 d 3 i 10 0 PC4 32 768 KHz crystal oscillator P s mikro 8 5 P PENE j PD3 7 BUS N alt 2x26 connection pads le
18. n OSC IN 2 be OSC32 OUT PC15 OSC32 OUT OSC32 IN PC14 0SC32_IN PC13 TAMPER_RTC a VBAT 32 768KHz PEG C33 PES 2 10 10pF PE4 PE3 PE2 VCC USB VCC 3 3V RFU PDR ON 3V3 J1A LDO3V3 USB MNIB Figure 7 2 USB module connection schematic AN PA3 RST PE13 CS PE11 SCK PB13 MISO PB14 MOSI PB15 3 3V GND C31 PD12 PWM PE14 INT PD9 RX PD8 TX PB10 SCL PB11 SDA 5V ER ND C22 ren PA10 PD11 02 55 El PD10 9 SCK PB13 3 3416 00nF 100nF 100nF 100nF 100nF 100nF VCC 3 3V PA6 PWM PA5 PWM PA4 AN VSYS HDR1 HDR2 RESET PCO AN CR E ZZ PB13 SPI2 SCK e GE i PB14 SPI2_MISO PB9 PWM lan PB15 SPI2_MOSI 7 E esu N RBIN gt 21 UMEN PA4 AN 20 pwm LS NN PEN m PD10 GPIO 19 m e Tess N san m PD11 GPIO 18 PC3 AN 17 PC2 AN C5 C6 e NS FCK INT PD13 GPIO 16 BCL AN Dp 22 22 n SL n 100pin TQFP Si STM32F407VGT6 0 xi SL RESET Seo O N OSC OUT PD14 GPIO CHE PC7 GPIO PC8 GPIO PC15 0SC32 OUT D PD11 GPIO PC14 OSC32 IN it X2 PA1 UART4_RX 9 8 PDIC GPIO 7 PALUARTA RX PB13 SPI2 SK TE sc a E tU TX fal PAO UARTATX PB14 SPI2_MISO FE or 5 PE6 GPIO 32 768KHz scr ei PB10 12c2 SCL PB15 SPIZ_MOSI 4 PES PWM o
19. oad Click the Read button to read the entire microcontroller memory CODE You can click the Save button to save it to the target HEX file Options If you want to write the HEX file into the microcontroller first make sure to load the target HEX file using the Load button de dees Then click the Write button to begin programming Figure 3 10 mikroProg Suite o Click the Erase button to clear the microcontroller memory for ARM window Page 16 3 3 Programming with ST LINK V2 programmer The microcontroller can also be In order to adjust the ST LINK V2 programmer to programmed with the ST LINK V2 be connected to the development system it is programmer and mikroProg Suite necessary to provide the appropriate adapter for ARM software This programmer such as the mikroProg to ST LINK V2 adapter connects with the clicker 2 board via 2x5 headers should be first soldered on mikroProg to ST LINK V2 adapter M the CN3 connector pads Then you should Figure 3 11 plug the adapter into the ST LINK V2 programmer 2x10 header and plug an IDC10 flat cable in headers Figure 3 11 Figure 3 12 mikroProg to ST LINK V2 adaper Figure 3 12 Connecting A X s ST LINK V2 ST LINK V2 5 S C 1 SH 3 S programmer MASA G66 A E ON cM C Y E Sore Re HW REV 1 00 AN vo a MOS Dl E NES lig nikrorrog REB e XI WE mikroPro BNO ID Bu See ee ea S
20. otloader which is preprogrammed by default To transfer hex file from a PC to MCU you need bootloader software mikroBootloader USB HID which can be downloaded from A www mikroe com downloads get 2153 mikrobootloader_usb_hid_STM32F407VGT6 zip After the mikroBootloader software is downloaded unzip it to desired location and start it clicker 2 for STM32 Bootloader WinRAR ZIP archive 5 clicker 2 for STM32 Bootloader File folder a Software File folder mikroBootloader USB HID exe Bootloader tool for mikroElektron mikroElektronika Firmware File folder L clicker 2 STM32 STM32F407VG USB HID Bootloader v1 310 hex HEX File step 1 Connecting clicker 2 for STM32 mikroElektronika USB HID Bootloader v2 3 0 0 Wait for MCU Type USB link Connect story Window to MCU ttach USB HID device or resetif attahed Choose Browse HEX file for HEX Start Begin bootloader uploading Bootloading progress bar No files opened Figure 3 2 USB HID mikroBootloader window 00 To start connect the USB cable or if already connected press the Reset button on your clicker 2 for STM32 Click the Connect button within 5s to enter the bootloader mode otherwise existing microcontroller program will execute Page 11 step 2 Browsing for HES file Wait for amp USB link Browse for HEX Device dicker2 for STM32 MCU Type STM32F4XX 2
21. r for STM32 board and wait for 5 seconds Your program will run automatically Page 14 3 2 Programming with mikroProg programmer The microcontroller can be programmed with external mikroProg for STM32 programmer and mikroProg Suite for ARM software The external programmer is connected to the development system via 2x5 JTAG connector soldered on the CN3 connector pads Figure 3 9 mikroProg is a fast USB 2 0 programmer with hardware debugger support It supports STM32 M3 and M4 devices from STMicroelectronics Outstanding performance easy operation and elegant design are ts key features Figure 3 9 mikroProg connector Page 15 pa Oa mikroProg File About History mikroProg Suite for ARM software On board mikroProg programmer requires special programming software called mikroProg Suite Device for ARM This software is used for programming of all supported microcontroller families with ARM Cortex MI and Cortex M4 cores The software has an intuitive interface and SingleClick programming technology To begin first locate the installation archive on the link bellow Detect MCU A http www mikroe com downloads get 1809 mikroprog_suite_for_arm zip After downloading extract the package and double click the executable setup file to start installation HEX File Quick guide Lead Save 01 Click the Detect MCU button in order to recognize the device ID Rel
22. tton Page 19 VCC 3 3V 100nF VCC 3 3V VCC 3 3V 60 LA 5 100nF VCC 3 3V LA H 100nF VCC 3 3V gt 0 o m VCC 3 3V VCC 3 3 LA 100nF VCC 3 3 LA 100nF V 6 8 VCC 3 3V LA Falls o 9 PA10 T3 ill el 2 2uF 87 dJ o Le Lea Lea o1 u1 Rjofojo a A juj JO Oo o9 1 DOB nj 72 73 74 7 75 2 2uF PE15 LD2 100pin TQFP STM32F407VGT6 PC15 0SC32 OUT PC14 OSC32 IN PC13 TAMPER RTC OSC OUT OSC IN VDD RFU PDR_ON KoI aN ee eA Le band LOI Laa Did LER Ee ION Kee KN Le bnd LAN Laal Di LER EI nooo NINININI R33 100K PEO T2 U1 VCC 3 3V VCC 3 3V R3 10k R4 RESET R4 RST 220 Ti 8 3 100 5 6 22pF 22pF xi OSC_OUT OSC_IN MHz OSC32_OUT 0SC32_IN x2 32 768KHz C33 C34 10pF 10pF VCC 3 3V 3V3 RI 11 11 Ny KK DO3V3 T2 VCC33V VCC33V R5 R6 PE12 LD1 PEO T2 PA10 T3 Figure 4 2 Other modules connection schematic PE15 LD2 clicker 2 for STM32 features LTC 3586 2 a highly integrated power management and battery charger IC that includes a current limited switching PowerPath manager When you solder the onboard zero ohm J1 jumper to the LDO position Figure 6 1 the LTC93586 2 will provide an independent steady pow
Download Pdf Manuals
Related Search
Related Contents
User Manual - Birmy PC - The file you requested is unavailable Insys Modem 336 LL 2D 5.0 ミクニシャワーチェア 取扱説明書 Master Appliance 1425-3550 FPM130-900F User's Manual Samsung GT-I5510 คู่มือการใช้งาน GE 14 Refrigerator User Manual Copyright © All rights reserved.
Failed to retrieve file