MINI-M4 ™ development board for STM32 The whole STM32 development board fitted in DIP40 form factor, containing powerful STM32F415RG microcontroller.
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. Nebojsa Matic General Manager The STM32, ARM® and Windows® logos and product names are trademarks of STMicroelectronics®, ARM® Holdings and Microsoft® in the U.S.A. and other countries.
Table of Contents Introduction to MINI-M4 for STM32 4 Key features 4 System Specification 5 1. Programming with mikroBootloader 6 step 1 – Connecting MINI-M4 for STM32 6 step 2 – Browsing for .HEX file 7 step 3 – Selecting .HEX file 7 step 4 – Uploading .HEX file 8 step 5 – Finish upload 9 2. Schematic 10 3. Pinout 11 4.
Introduction to MINI-M4 for STM32 Miniature and powerful development tool designed to work as stand alone device or as MCU card in DIP40 socket. MINI-M4 for STM32 is pre programmed with USB HID bootloader so it is not necessary to have external programmer. If there is need for external programmers (mikroProg™ or ST-LINK V2) attach it to MINI-M4 for STM32 via pads marked with PA14 (TCK/SWC), PA13 (TMS/SWD), PA15 (TDI), PB3 (TDO) and RST#.
02 System Specification 07 01 power supply 3.3V via pads or 5V via USB power consumption depends on MCU state (max current into 3.3V pad is 800mA) 08 10 board dimensions 50.8 x 17.78mm (2 x 0.7“) 03 04 05 09 weight ~6g (0.
1. Programming with mikroBootloader step 1 – Connecting MINI-M4 You can program the microcontroller with bootloader which is pre programmed into the device by default. To transfer .hex file from a PC to MCU you need bootloader software (mikroBootloader USB HID) which can be downloaded from: http://www.mikroe.com/downloads/get/1938/ mini_m4_stm32_bootloader_v200.zip 01 After software is downloaded unzip it to desired location and start mikroBootloader USB HID software.
step 2 – Browsing for .HEX file step 3 – Selecting .HEX file 01 01 02 Figure 1-2: Browse for HEX Figure 1-3: Selecting HEX 01 Click the ”Browse for HEX” button and from a pop-up window (Figure 1-3) choose the .HEX file which will be uploaded to MCU memory. 01 Select .HEX file using open dialog window. 02 Click the ”Open” button.
step 4 – Uploading .HEX file 01 01 Figure 1-4: Begin uploading Figure 1-5: Progress bar 01 To start .HEX file bootloading click the ”Begin uploading” button. 01 You can monitor .
step 5 – Finish upload 01 Figure 1-6: Restarting MCU Figure 1-7: mikroBootloader ready for next job 01 Click the ”OK” button after uploading is finished and wait for 5 seconds. Board will automatically reset and your new program will execute.
VDD-3.3V PA6 PA7 PA5 PA4 PA14 PA13 PC4 PC5 PC12 PC11 PC10 PA15 PA14 VDD-3.3V 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 C5 22pF HD2 PC13 PC12 VDD-3.3V R4 4K7 LD1 VDD VSS PB9 PB8 BOOT0 PB7 PB6 PB5 PB4 PB3 PD2 PC12 PC11 PC10 PA15 PA14 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 PA13 USB-D_P USB-D_N USB-ID USB-DET PA8 PC9 RESET C1 100nF C3 2.
3. Pinout Pin functions Pin functions MCLR PA6 SPI0-MISO PA0 PA7 SPI0-MOSI AN1 PA1 PA5 SPI0-SCK AN2 PA2 PA4 SPI0-SS AN3 PA3 PA14 TCK/SWC AN4 PC0 PA13 TMS/SWD SPI1-SS PB12 PC4 INT0 AN5 PC1 PC5 INT1 AN6 PC2 3.3V 3.3V Power supply INT2 PA8 GND GND 3.3V Power supply 3.
17.78mm (700 mils) 4. Dimensions 50.8mm (2000 mils) 2.
Notes: Page 13
Notes: Page 14
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.
MINI ARM If you want to learn more about our products, please visit our website 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/esupport If you have any questions, comments or business proposals, do not hesitate to contact us at office@mikroe.com MINI-M4 for STM32 ver. 1.