16
The whole STM32 development board fitted in DIP40 form factor, containing high-performance STM32F051R8 ARM Cortex-M0 microcontroller. ARM MINI MINI-M0 development board for STM32

MINI-M0 - Electrocomponentsdocs-europe.electrocomponents.com/webdocs/1335/0900766b8133596… · The whole STM32 development board fitted in DIP40 form factor, containing high-performance

Embed Size (px)

Citation preview

Page 1: MINI-M0 - Electrocomponentsdocs-europe.electrocomponents.com/webdocs/1335/0900766b8133596… · The whole STM32 development board fitted in DIP40 form factor, containing high-performance

The whole STM32 development board fitted in DIP40 form

factor, containing high-performance STM32F051R8 ARM

Cortex-M0 microcontroller.

ARMMINI

MINI-M0™

development board for STM32

Page 2: MINI-M0 - Electrocomponentsdocs-europe.electrocomponents.com/webdocs/1335/0900766b8133596… · The whole STM32 development board fitted in DIP40 form factor, containing high-performance

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-M0 - Electrocomponentsdocs-europe.electrocomponents.com/webdocs/1335/0900766b8133596… · The whole STM32 development board fitted in DIP40 form factor, containing high-performance

Page 3

Introduction to MINI-M0 for STM32 4

Key features 4

System Specification 5

1. Programming with mikroBootloader 6

step 1 – Connecting MINI-M0 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-M0 - Electrocomponentsdocs-europe.electrocomponents.com/webdocs/1335/0900766b8133596… · The whole STM32 development board fitted in DIP40 form factor, containing high-performance

Page 4

Introduction to MINI-M0 for STM32

Key featuresMiniature and high-performance development tool designed

to work as stand alone device or as MCU card in DIP40 socket.

MINI-M0 for STM32 is preprogrammed with USB-UART

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-M0 for STM32 via pads marked

with PA14 (TCK/SWC), PA13 (TMS/

SWD), 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 STM32F051R8

16 MHz Crystal oscillator

32.768kHz Crystal oscillator

FTDI FT230x chip

UART RX LED

UART TX LED

08

09

10

11

12

13

Page 5: MINI-M0 - Electrocomponentsdocs-europe.electrocomponents.com/webdocs/1335/0900766b8133596… · The whole STM32 development board fitted in DIP40 form factor, containing high-performance

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 300mA)

01

02

03 04 05

06

07

08

09

10

11

12 13

Page 6: MINI-M0 - Electrocomponentsdocs-europe.electrocomponents.com/webdocs/1335/0900766b8133596… · The whole STM32 development board fitted in DIP40 form factor, containing high-performance

Page 6

1. Programming with mikroBootloader

You can program the microcontroller with bootloader which

is preprogrammed into the device by default. To transfer

.HEX file from a PC to MCU you need bootloader software

(UART mikroBootloader) which can be downloaded from:

After software is downloaded unzip it to desired location and

start mikroBootloader USB UART software.

http://www.mikroe.com/downloads/get/2055/mini_m0_bootloader_v220.zip

note

Figure 2-1: mikroBootloader window

mikroBootloader software

01 When you start mikroBootloader software, a window as shown in Figure 2-1 should appear

Before starting mikroBootloader software, connect MINI M0 for

STM32 to a PC using a USB cable provided with the package

Page 7: MINI-M0 - Electrocomponentsdocs-europe.electrocomponents.com/webdocs/1335/0900766b8133596… · The whole STM32 development board fitted in DIP40 form factor, containing high-performance

Page 7

step 1 – Choosing COM port

Figure 2-3: Choosing COM port

01

01

Identifying device COM port

Figure 2-2: Identifying COM port

01 Open Device Manager window and expand Ports section to see which COM port is assigned to MINI M0 for STM32 (in this case it is COM3)

01

02

03

Click the Change Settings button

From the drop down list, select appropriate COM port (in this case it is COM3)

Click OK

03

02

Page 8: MINI-M0 - Electrocomponentsdocs-europe.electrocomponents.com/webdocs/1335/0900766b8133596… · The whole STM32 development board fitted in DIP40 form factor, containing high-performance

Page 8

step 2 - Establishing Connection

01

Figure 2-4: Connecting with mikroBootloader

01 Press the Reset button on MINI M0 for STM32 board and click the Connect button within 5s, otherwise the existing microcontroller program will run. If connected, the button’s caption will be changed to Disconnect

step 3 - Browsing for .HEX file

01

Figure 2-5: Browse for HEX

01 Click the Browse for HEX button and from a pop-up window (Figure 2-6) choose a .HEX file to be uploaded to MCU memory

Page 9: MINI-M0 - Electrocomponentsdocs-europe.electrocomponents.com/webdocs/1335/0900766b8133596… · The whole STM32 development board fitted in DIP40 form factor, containing high-performance

Page 9

step 4 - Selecting .HEX file step 5 - Uploading .HEX file

Figure 2-6: Locating and selecting .hex file Figure 2-7: Begin uploading

01 01

02

Select .HEX file using open dialog window.

Click the Open button

To start .HEX file bootloding click the Begin uploading button

01

02 01

Page 10: MINI-M0 - Electrocomponentsdocs-europe.electrocomponents.com/webdocs/1335/0900766b8133596… · The whole STM32 development board fitted in DIP40 form factor, containing high-performance

Page 10

2. Schematic

X116MHz

X232.768KHz

C410pF

C210pF

C622pF

C522pF

T1

VDD-3.3V

R110K

C1100nF

R2

220

RST#

RESET

VDD-3.3V

VCC-USB

FP1 12345 GND

IDD+D-VBUS

CN1

USB MINIB

USB-D_NUSB-D_P

VCC-USB

LD3 LD1LD2

R34K7

R44K7

PC12PC13

R52K2

C7100nF

VDD-3.3V

PC13OSC32_INOSC32_OUT

RST#PC0PC1PC2

PA0PA1TX-FTDI

PA4

PA5

PA6

PA7

PC4

PC5

PB0

PB1

PB10

PB11

PB12PB13PB14PB15

PC9PA8

PA13

PA14

PC12PB4

PB5

PB6

PB7

OSC_INOSC_OUT

VCCIORXDGNDCTS

CB2

RSTVCCCB1CB0

GN

D

RTS

TXD

CB3

DP

DM

3V3

GND PAD

U2 FT230x

VDD-3.3V

USB

-D_P

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

RF7RF6

PB4

PC12

PC11

PC10

PA15

PA14PB9

PB8

BOO

T0 PB7

PB6

PB5

VSS

VDD

PC15PC14

VBATPC13

PF0PF1NRSTPC0

PC2PC1

PA2PA1PA0VDDAVSSA

PB0

PC5

PC4

PA7

PB11

PB10

VDD

VSS

PF4

PA3

PF5

PA4

PA5

PA6

STM32F051R8

U1RX

-FTD

I

TX-FTDI

RX-F

TDI

R62K2

VDD-3.3V

LD4PC3

C9

100nF

C10

100nF

C12

100nF

C14

2.2uF

VDD-3.3V

USB

-D_N

PB9

C11

2.2u

F R939K

R8287K

1

2

3

IN

GND

OUT 5

4EN ADJ

U3

AP7331-ADJ

C13

10uF

VDD-3.3V

R74K7

LD5

R13

4K7

R1510K

HD1

HD2

VDD-3.3V

RST#

PB4PB5

PB0PB1

PB12

PB13

PB14PB15

PC4

PC5

PA8

PC9

PB10PB11

PA0PA1

PC0

PC1PC2

PB6PB7

PA4PA5

PA6PA7

PA13PA14

VDD-3.3V

1234567891011121314151617181920

2122232425262728293031323334353637383940

PC3

PB9

Page 11: MINI-M0 - Electrocomponentsdocs-europe.electrocomponents.com/webdocs/1335/0900766b8133596… · The whole STM32 development board fitted in DIP40 form factor, containing high-performance

Page 11

3. Pinout

PB1

PB0

SPI1-SCK PB13

PWM1 PB5

PWM0 PB4

INT3 PC9

NC

NC

GND GND

3.3V Power supply 3.3V

INT2 PA8

PC2

PC1

SPI1-SS PB12

AN4 PC0

AN5 PC5

AN3 PC3

AN1 PA1

AN0 PA0

nMCLRPin functions Pin functions

Analog I/O

NC

NC

PB14

PB15

PB6

PB7

PB11

PB10

NC

NC

GND

3.3V

PB9

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 PWM lines

PWM2

PWM3

I2C-SCL

I2C-SDA

Page 12: MINI-M0 - Electrocomponentsdocs-europe.electrocomponents.com/webdocs/1335/0900766b8133596… · The whole STM32 development board fitted in DIP40 form factor, containing high-performance

Page 12 Page 13

4. Dimensions

50.82000

2.54100

17

.78

70

0

Legendmmmils

Page 13: MINI-M0 - Electrocomponentsdocs-europe.electrocomponents.com/webdocs/1335/0900766b8133596… · The whole STM32 development board fitted in DIP40 form factor, containing high-performance

Page 13

Notes:

Page 14: MINI-M0 - Electrocomponentsdocs-europe.electrocomponents.com/webdocs/1335/0900766b8133596… · The whole STM32 development board fitted in DIP40 form factor, containing high-performance

Page 14

Notes:

Page 15: MINI-M0 - Electrocomponentsdocs-europe.electrocomponents.com/webdocs/1335/0900766b8133596… · The whole STM32 development board fitted in DIP40 form factor, containing high-performance

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, 2014, 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-M0 - Electrocomponentsdocs-europe.electrocomponents.com/webdocs/1335/0900766b8133596… · The whole STM32 development board fitted in DIP40 form factor, containing high-performance

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/support/

If you have any questions, comments or business proposals,

do not hesitate to contact us at [email protected] for STM32

ver. 1.00

0 100000 025291

ARMMINI