mini-m4 - eu.mouser.com · select .hex file using open dialog window. click the ”open” button....

16
The whole STM32 development board fitted in DIP40 form factor, containing powerful STM32F415RG microcontroller. ARM MINI MINI-M4 development board for STM32

Upload: tranhuong

Post on 17-Mar-2019

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MINI-M4 - eu.mouser.com · Select .HEX file using open dialog window. Click the ”Open” button. 02. Page 8 Page 9 step 4 – Uploading .HEX file

The whole STM32 development board fitted in DIP40 form

factor, containing powerful STM32F415RG microcontroller.

ARMMINI

MINI-M4™

development board for STM32

Page 2: MINI-M4 - eu.mouser.com · Select .HEX file using open dialog window. Click the ”Open” button. 02. Page 8 Page 9 step 4 – Uploading .HEX file

Page 3

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.

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.

TO OUR VALUED CUSTOMERS

Nebojsa Matic

General Manager

Page 3: MINI-M4 - eu.mouser.com · Select .HEX file using open dialog window. Click the ”Open” button. 02. Page 8 Page 9 step 4 – Uploading .HEX file

Page 3

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.

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. Dimensions 12

Table of Contents

Page 4: MINI-M4 - eu.mouser.com · Select .HEX file using open dialog window. Click the ”Open” button. 02. Page 8 Page 9 step 4 – Uploading .HEX file

Page 4 Page 5

Introduction to MINI-M4 for STM32

Key featuresMiniature 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#.

01

02

03

04

05

06

07

Connection Pads

USB MINI-B connector

DATA LED

STAT LED

POWER supply LED

Reset button

Power supply regulator

Microcontroller STM32F415RG

16 MHz Crystal oscillator

32.768kHz Crystal oscillator

08

09

10

Page 5: MINI-M4 - eu.mouser.com · Select .HEX file using open dialog window. Click the ”Open” button. 02. Page 8 Page 9 step 4 – Uploading .HEX file

Page 4 Page 5

System Specification

power supply

3.3V via pads or 5V via USB

board dimensions

50.8 x 17.78mm (2 x 0.7“)

weight

~6g (0.013 lbs)

power consumption

depends on MCU state (max current

into 3.3V pad is 800mA)

01

02

03 04 05

06

07

08

09

10

Page 6: MINI-M4 - eu.mouser.com · Select .HEX file using open dialog window. Click the ”Open” button. 02. Page 8 Page 9 step 4 – Uploading .HEX file

Page 6 Page 7

1. Programming with mikroBootloader

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:

After software is downloaded unzip it to desired location and

start mikroBootloader USB HID software.

http://www.mikroe.com/downloads/get/1938/mini_m4_stm32_bootloader_v200.zip

Figure 1-1: USB HID mikroBootloader window

step 1 – Connecting MINI-M4

01

01

To start, connect the USB cable, or if already connected press the Reset button on your MINI-M4 board. Click the ”Connect” button within 5s to enter the bootloader mode, otherwise existing microcontroller program will execute.

Page 7: MINI-M4 - eu.mouser.com · Select .HEX file using open dialog window. Click the ”Open” button. 02. Page 8 Page 9 step 4 – Uploading .HEX file

Page 6 Page 7

step 3 – Selecting .HEX file step 2 – Browsing for .HEX file

Figure 1-2: Browse for HEX Figure 1-3: Selecting HEX

01 01

02

01

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.

Select .HEX file using open dialog window.

Click the ”Open” button.

02

Page 8: MINI-M4 - eu.mouser.com · Select .HEX file using open dialog window. Click the ”Open” button. 02. Page 8 Page 9 step 4 – Uploading .HEX file

Page 8 Page 9

step 4 – Uploading .HEX file

Figure 1-4: Begin uploading Figure 1-5: Progress bar

01

01

01 01To start .HEX file bootloading click the ”Begin uploading” button.

You can monitor .HEX file uploading via progress bar

Page 9: MINI-M4 - eu.mouser.com · Select .HEX file using open dialog window. Click the ”Open” button. 02. Page 8 Page 9 step 4 – Uploading .HEX file

Page 8 Page 9

step 5 – Finish upload

Figure 1-6: Restarting MCU Figure 1-7: mikroBootloader ready for next job

01

01

Click the ”OK” button after uploading is finished and wait for 5 seconds. Board will automatically reset and your new program will execute.

Page 10: MINI-M4 - eu.mouser.com · Select .HEX file using open dialog window. Click the ”Open” button. 02. Page 8 Page 9 step 4 – Uploading .HEX file

Page 10 Page 11

2. Schematic

X116

MH

zX2

32.7

68KH

z

C422pF

C222pF

C622pF

C522pF

T1

VDD-3.3V

R110K

C1100nF

R2

220

RST#

RESETC32.2uF

C82.2uF

C9

100nF

C10

100nF

C11

100nF

C12

100nF

C13

100nF

C14

2.2uF

VDD-3.3V

VDD-3.3V

E110uF

E210uF

3

12GND

Vin

Vout

REG1

LD29080DT33

VCC-USB

FP1 12345 GND

IDD+D-VBUS

CN1

USB MINIB

USB-DETUSB-D_NUSB-D_P

VCC-USB

USB-ID

LD3

HD1HD2

VDD-3.3V

RST#

LD1LD2

R34K7

R44K7

PC12PC13

VDD-3.3V

R52K2

R6220

C7100nF

VDD-3.3V

30292827

3433

58 57 56 55 54 53 52

47

3635

43444546

3738

9

4950

1112

32

64 63

43

24231817

16151413

5678

10

12

2221201962 61 60 59

39404142

48

3151

2625

PC3PC8

PB1

PD2

PB3

PB2

PA13PA12PA11PA10PA9PA8PC9

PB14

PB12PB13

PB15

PC7PC6

VDDVCAP2

PB4

PC12

PC11

PC10

PA15

PA14PB9

PB8

BOO

T0 PB7

PB6

PB5

VSS

VDD

PC15PC14

VBATPC13

PH0PH1NRSTPC0

PC2PC1

PA2PA1PA0VDDAVSSA

PB0

PC5

PC4

PA7

PB11

PB10

VDD

VCAP

1

VSS

PA3

VDD

PA4

PA5

PA6

STM32F415RG

U1

PC13OSC32_INOSC32_OUT

RST#PC0PC1PC2

PA0PA1PA2

PA3

PA4

PA5

PA6

PA7

PC4

PC5

PB0

PB1

PB10

PB11

PB12PB13PB14PB15

PC9PA8

PA13

PA14

PA15

PC10

PC11

PC12PB3

PB4

PB5

PB6

PB7

PB8

PB9

USB-DET

USB-D_NUSB-D_P

USB-IDOSC_INOSC_OUT

PB4PB5

PB0PB1

PB12

PB13PB14PB15

PC4PC5

PA8

PC9PB8PB9PB10

PB11

PA0PA1PA2PA3PC0

PC1PC2

PB6PB7

PC10PC11

PA4PA5

PA6PA7

PA13PA14

PA15PB3

VDD-3.3V

123456789101112131415161718192021

22232425262728293031323334353637383940

Page 11: MINI-M4 - eu.mouser.com · Select .HEX file using open dialog window. Click the ”Open” button. 02. Page 8 Page 9 step 4 – Uploading .HEX file

Page 10 Page 11

3. Pinout

PB1

PB0

SPI1-SCK PB13

PWM1 PB5

PWM0 PB4

INT3 PC9

CRX PB8

CTX PB9

GND GND

3.3V Power supply 3.3V

INT2 PA8

PC2

PC1

SPI1-SS PB12

AN4 PC0

AN3 PA3

AN2 PA2

AN1 PA1

AN0 PA0

MCLRPin functions Pin functions

CAN

Analog I/O

PC10

PC11

PB14

PB15

PB6

PB7

PB11

PB10

PB3

PA15

GND

3.3V

PC5

PC4

PA13

PA14

PA4

PA5

PA7

PA6

SPI1-MISO

SPI1-MOSI

U0TX

U0RX

GND

3.3V Power supply

INT1

INT0

TMS/SWD

SPI0-MOSI

SPI0-MISO

I2C

UART0

TCK/SWC

SPI0-SS

SPI0-SCKSPI0

AN5

AN6

SPI LinesInterrupt LinesAnalog Lines I2C Lines UART lines CAN lines PWM lines

PWM2

PWM3

TDI

TDO

I2C-SCL

I2C-SDA

U1TX

U1RXUART1

Page 12: MINI-M4 - eu.mouser.com · Select .HEX file using open dialog window. Click the ”Open” button. 02. Page 8 Page 9 step 4 – Uploading .HEX file

Page 12 Page 13

4. Dimensions

50.8mm (2000 mils)

2.54mm (100 mils)

17

.78

mm

(70

0 m

ils)

Page 13: MINI-M4 - eu.mouser.com · Select .HEX file using open dialog window. Click the ”Open” button. 02. Page 8 Page 9 step 4 – Uploading .HEX file

Page 12 Page 13

Notes:

Page 14: MINI-M4 - eu.mouser.com · Select .HEX file using open dialog window. Click the ”Open” button. 02. Page 8 Page 9 step 4 – Uploading .HEX file

Page 14 Page 15

Notes:

Page 15: MINI-M4 - eu.mouser.com · Select .HEX file using open dialog window. Click the ”Open” button. 02. Page 8 Page 9 step 4 – Uploading .HEX file

Page 14 Page 15

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 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, the MikroElektronika logo, mikroC™, mikroBasic™, mikroPascal™, MINI™, EasyMX PRO™, mikroBUS™, Click Boards™, mikroProg™, 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 © MikroElektronika, 2012, All Rights Reserved.

HIGH RISK ACTIVITIES

The products of MikroElektronika are not fault – tolerant nor designed, manufactured or intended for use or resale as on – line control equipment in hazard-ous environments requiring fail – safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, direct life support machines or weapons systems in which the failure of Software could lead directly to death, personal injury or severe physical or environmental damage (‘High Risk Activities’). MikroElektronika and its suppliers specifically disclaim any expressed or implied warranty of fitness for High Risk Activities.

Page 16: MINI-M4 - eu.mouser.com · Select .HEX file using open dialog window. Click the ”Open” button. 02. Page 8 Page 9 step 4 – Uploading .HEX file

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 [email protected]

0 100000 022894

MINI-M4 for STM32ver. 1.00

ARMMINI