For stm32, compact multimedia development system rich with on-board peripherals for all-round development on stm32f207vgt6 and stm32f407vgt6 devices (45 pages)
Summary of Contents for mikroElektronika clicker STM32 M4
Page 1
A compact starter kit with your favorite microcontroller and a socket for click add-on ™ boards. New ideas are just a click away.
Page 2
TO OUR VALUED CUSTOMERS I 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.
Table of contents 1. What is STM32 M4 clicker? step 4 – Uploading .HEX file 2. Power supply step 5 – Finish upload 3. STM32F415RG microcontroller Programming with mikroProg programmer ™ Key microcontroller features mikroProg Suite for ARM software ™ ®...
2. Power supply Figure 2-1: Connecting USB power supply through CN1 connector When the board is powered up the power indication LED will be automatically turned on. The USB connection can provide up to 500mA of current which is more than enough for the operation of all on-board and additional modules. Page 6...
Page 7
3.3V VOLTAGE REGULATOR VCC-3.3 VCC-5V VCC-3.3 FERRITE 10uF VCC-3.3 VCC-5V VBUS 287K EN ADJ AP7331-ADJ 100nF MINIB Figure 2-2: Power supply schematic Page 7...
3. STM32F415RG microcontroller The STM32 M4 clicker development tool comes with the STM32F415RG microcontroller. This 32-bit high performance microcontroller is rich with on-chip peripherals and features 1024KB of Flash and 192KB of SRAM. It has integrated full speed USB 2.0. support. Key microcontroller features - Up to 168 MHz operation - 32-bit ARM®...
4. Programming the microcontroller Figure 4-1: STM32F415RG microcontroller The microcontroller can be programmed in two ways: Using USB HID mikroBootloader, Using external mikroProg for STM32 programmer. ™ Page 9...
Programming with mikroBootloader step 1 – Connecting STM32 M4 clicker You can program the microcontroller with a bootloader 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: www.mikroe.com/downloads/get/2144/ mikrobootloader_usb_hid_STM32F415RG.zip After the mikroBootloader software is downloaded,...
step 2 – Browsing for .HEX file step 3 – Selecting .HEX file Figure 4-3: Browse for HEX Figure 4-4: Selecting HEX Click the Browse for HEX button and from a Select .HEX file using open dialog window. pop-up window (Figure 3.4) choose the .HEX file Click the Open button.
step 4 – Uploading .HEX file Figure 4-5: Begin uploading Figure 4-6: Progress bar To start .HEX file bootloading click the Progress bar enables you to monitor .HEX file uploading. Begin uploading button. Page 12...
step 5 – Finish upload Figure 4-7: Restarting MCU Figure 4-8: mikroBootloader ready for next job Click OK button after the uploading process is finished. Press Reset button on STM32 M4 clicker board and wait for 5 seconds. Your program will run automatically. Page 13...
Programming with mikroProg programmer ™ Figure 4-9: mikroProg connector ™ 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 CN2 connector pads, Figure 4-9.
mikroProg Suite for ARM software ™ ® On-board mikroProg programmer requires special programming software called mikroProg Suite ™ ™ for ARM . This software is used for programming of all supported microcontroller families with ® Cortex -M3 and Cortex -M4 cores. The software has an intuitive interface and SingleClick ®...
Programming with ST-LINK V2 programmer In order to adjust the ST-LINK V2 programmer The microcontroller can also ™ to be connected to the development system, it be programmed with the ST-LINK V2 programmer is necessary to provide the appropriate adapter such as the mikroProg to ST-LINK V2 adapter.
Page 17
VCC-3.3 VCC-3.3 100nF 100nF 100nF 100nF 100nF 2.2uF 22pF VBAT 2.2uF PC13 VCAP2 32.768KHz TMS-SWD PC14 PA13 22pF PC15 PA12 PA11 PA10 #RST 22pF NRST STM32F415RG 16MHz 22pF VSSA NOTE Before attaching VDDA PB15 PB14 the programming PB13 connector, you PB12 VCC-3.3 have to solder the...
5. Buttons and LEDs Figure 5-1: Two buttons, two LEDs and a reset button The board also contains a reset button and a pair of buttons and LEDs. Each of these additional peripherals are located in the bottom area of the board. Reset button is used to manually reset the microcontroller. Pressing the reset button will generate a low voltage level on microcontroller’s reset pin.
6. RTC battery STM32 M4 clicker features RTC battery pads for Figure 6-1: powering microntroller’s internal RTC module. Battery battery pads and jumper J1 is used as an alternative source of power, so the RTC module can keep track of time while primary source of power is OFF or unavailable.
7. click boards are plug and play! 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 intention to provide you with as many add-on boards as possible, so you will be able to expand your development board with additional functionality.
Page 25
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.
Page 26
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, STM32 M4 clicker manual do not hesitate to contact us at office@mikroe.com...
Need help?
Do you have a question about the clicker STM32 M4 and is the answer not in the manual?
Questions and answers