Difference between revisions of "Microduino-Module CoreSTM32"

From Microduino Wiki
Jump to: navigation, search
(Specifications)
 
(20 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
|
 
|
 
[[file:Microduino- CoreSTM32 -rect.jpg|400px|thumb|right|Microduino- CoreSTM32]]
 
[[file:Microduino- CoreSTM32 -rect.jpg|400px|thumb|right|Microduino- CoreSTM32]]
'''[[Microduino-CoreSTM32]]''' is one of core modules of Microduino series, '''[[Microduino-CoreSTM32]]''' is an open source hardware and [http://leaflabs.com/docs/hardware/maple-mini.html Maple Mini] compatible. It is an 32-bit ARM Cortex-M3 development board, based on STMicroelectronics' STM32F103CBT6 chip.
+
Microduino-CoreSTM32 is one of the core modules of Microduino, adopting ARM development board of STM32F103CBT6 chip. '''[[Microduino-CoreSTM32]]''' is a open-source software, compatible with [http://leaflabs.com/docs/hardware/maple-mini.html Maple Mini], and it can be used together with Microduino extension modules and other electronic components, modules, and sensors to make many funny interactive works.  
It can be combined with other Microduino modules and used in more projects.
 
  
 
==Features==
 
==Features==
* Small, stackable, and ecomomic
+
* Small, cheap, stackable, and open;
* Open source hardware circuit design and Arduino compatible programming development environment.
+
* Open source hardware circuit design and programming development environment similar to Arduino.
* Using the U-Shape 27-pin interface (UPin-27)--the standard interface of Microduino series
+
* Microduino-CoreSTM32 can be downloaded with [http://static.leaflabs.com/pub/leaflabs/maple-bootloader/maple_mini_boot.bin bootloader] through Microduino-USBTTL;
* Microduino- CoreSTM32 can work with Microduino-USBTTL and burn programs into the bootloader flexibly.
+
*With an uniform Microduino interface standard and rich peripheral modules, it can be easily connected with other Microduino modules and sensors.
*With a uniform Microduino interface standard and rich peripheral modules, it can easily connect with other Microduino modules and sensors.
+
*2.54mm-spacing female connector interface,which makes it easy to integrate to the pegboard.   
*2.54mm (0.1 inch) pin pitch, compatible with bread boards and pegboards.
 
* Microduino- CoreSTM32 can work with Microduino-USBTTL and burn programs into the bootloader flexibly.Please refer to: [http://static.leaflabs.com/pub/leaflabs/maple-bootloader/maple_mini_boot.bin bootloader]
 
   
 
 
|-
 
|-
 
|
 
|
Line 25: Line 21:
 
*Operation voltage: 5V  
 
*Operation voltage: 5V  
 
*Core voltage: 3.3V  
 
*Core voltage: 3.3V  
*Flash:128KB
+
*Flash: 128KB
* SRAM:20KB
+
*SRAM: 20KB
 +
 
 
===Pin Specification ===
 
===Pin Specification ===
 
*Digital I/O pin:  
 
*Digital I/O pin:  
 
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14(A0),15(A1),16(A2),17(A3),18(SDA),19(SCL),20(A6),21(A7)
 
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14(A0),15(A1),16(A2),17(A3),18(SDA),19(SCL),20(A6),21(A7)
 
*Analog input pin:  
 
*Analog input pin:  
A0(ADC12_IN0),A1(ADC12_IN1),A2(ADC12_IN2),A3(ADC12_IN3),10(ADC12_IN4),13(ADC12_IN5),12(ADC12_IN6),11(ADC12_IN7),A6(ADC12_IN8),A7(ADC12_IN9)  
+
A0(ADC12_IN0), A1(ADC12_IN1), A2(ADC12_IN2), A3(ADC12_IN3), 10(ADC12_IN4), 13(ADC12_IN5), 12(ADC12_IN6), 11(ADC12_IN7), A6(ADC12_IN8), A7(ADC12_IN9)  
 
*Serial port:  
 
*Serial port:  
 
**Serial RX0 and TX1, used for receiving(RX) and sending(TX) TTL serial data.  
 
**Serial RX0 and TX1, used for receiving(RX) and sending(TX) TTL serial data.  
 
**Serial1 D2(RX3)and D3(TX3), used for receiving(RX) and sending(TX) TTL serial data.   
 
**Serial1 D2(RX3)and D3(TX3), used for receiving(RX) and sending(TX) TTL serial data.   
* Hardware PWM: 0,1,4,11,12,14(A0),15(A1),16(A2),17(A3),18(SDA),19(SCL),20(A6),21(A7)
+
*Hardware PWM: 0, 1, 4, 11, 12, 14(A0), 15(A1), 16(A2), 17(A3), 18(SDA), 19(SCL), 20(A6), 21(A7)
* SPI:D10(SPI1_NSS)、D11(SPI1_MOSI)、D12(SPI1_MISO)、D13(SPI1_SCK);
+
*SPI: D10(SPI1_NSS), D11(SPI1_MOSI), D12(SPI1_MISO), D13(SPI1_SCK);
*IIC:18(SDA)、19(SCL)
+
*IIC: 18(SDA), 19(SCL);
 
*Each I/O port has interruption function.   
 
*Each I/O port has interruption function.   
  
Line 45: Line 42:
  
 
==Documents==
 
==Documents==
Microduino- CoreSTM32 used components.
+
*Main components used in Microduino- CoreSTM32
 
** MCU: '''[[media: STM32F103CBT6.pdf| STM32F103CBT6]]'''
 
** MCU: '''[[media: STM32F103CBT6.pdf| STM32F103CBT6]]'''
 +
**Schematic diagram: [[media:Microduino-CoreSTM32.zip| Microduino-CoreSTM32]]'''
  
 
==Development==
 
==Development==
===Set up the Microduino-CoreSTM32 development environment===
+
===Set up the Microduino-CoreSTM32 development environment(1)===
* Use the Maple IDE development environment: Microduino use the similar developemnt environment with the Arduino IDE, so you can use the Maple IDE, Flash or Processing and so on. Conbine with other Microduino module, you can finish more interesting projects.
+
* Use the Maple IDE development environment: Microduino use the similar development environment with the Arduino IDE, so you can use the Maple IDE, Flash or Processing and so on. Combining with other Microduino modules, you can make many interesting interactive works..
*Download the program to Microduino-CoreSTM32, you must use the [[Microduino-USB2TTL/zh]] module。
 
 
*Configure the Maple IDE, please refer to '''[[Microduino-CoreSTM32 Maple Drive Install]]'''
 
*Configure the Maple IDE, please refer to '''[[Microduino-CoreSTM32 Maple Drive Install]]'''
 +
*TO download programs to Microduino-CoreSTM32, just use the USB interface of Microduino-CoreSTM32, without [[Microduino-USBTTL]], which is only used when programming bootLoader. There is bootloader, by default, so you don't have to program it.
  
 
===Program for Microduino-CoreSTM32===
 
===Program for Microduino-CoreSTM32===
  
 
*Make sure installed the Microduino-CoreSTM32 derive
 
*Make sure installed the Microduino-CoreSTM32 derive
*Prepared hardware:Microduino-CoreSTM32、USB cable
+
*Prepared hardware:Microduino-CoreSTM32, USB cable
 
*Prepared software:Maple IDE
 
*Prepared software:Maple IDE
 
'''[[The beginning of Micoduino-CoreSTM32]]'''
 
'''[[The beginning of Micoduino-CoreSTM32]]'''
 +
 +
===Set Microduino-CoreSTM32 Development Environment(2)===
 +
*Use Keil uVision development environment: To develop Microduino-CoreSTM3, software keil can also be used. This environment can not only use C language, but also assembly language to program. And it has accessible integration environment, and powerful software simulation debugging tolls. Keil provides a complete development plan, including C compiler, microassembler, exoskeleton, library manager, and a powerful simulation debugger, which are combined together by an integration development environment(μVision.
 +
*To configure Keil uVision development environment, please refer to '''[[Configuration of Microduino-CoreSTM32 Keil development environment]]'''
 +
*To download programs to Microduino-CoreSTM32, you can directly use the USB interface of Microduino-CoreSTM32. And to execute online breakpoint debugging, another module Microduino-CoreSTMDEBUGE is needed, namely stlink.And you can stack the two modules and connect them through the USB interface of Microduino-CoreSTMDEBUGE to the computer to download programs.
 +
 +
===Program Microduino-CoreSTM32(2)===
 +
 +
*Please make sure that you have installed STLINK driver.
 +
*Required hardware: Microduino-CoreSTM32, Microduino-CoreSTMDEBUGE, and a USB cable.
 +
*Requires software: Keil uVision5
 +
'''[[STM32 Keil development environment experiment]]'''
  
 
===Burn the Microduino- CoreSTM32  BootLoader===
 
===Burn the Microduino- CoreSTM32  BootLoader===

Latest revision as of 03:50, 4 August 2017

Language: English  • 中文
Microduino- CoreSTM32

Microduino-CoreSTM32 is one of the core modules of Microduino, adopting ARM development board of STM32F103CBT6 chip. Microduino-CoreSTM32 is a open-source software, compatible with Maple Mini, and it can be used together with Microduino extension modules and other electronic components, modules, and sensors to make many funny interactive works.

Features

  • Small, cheap, stackable, and open;
  • Open source hardware circuit design and programming development environment similar to Arduino.
  • Microduino-CoreSTM32 can be downloaded with bootloader through Microduino-USBTTL;
  • With an uniform Microduino interface standard and rich peripheral modules, it can be easily connected with other Microduino modules and sensors.
  • 2.54mm-spacing female connector interface,which makes it easy to integrate to the pegboard.

Specification

Electrical Specification

  • Microcontroller: STM32F103CBT6
  • Frequency: 72MHz
  • Operation voltage: 5V
  • Core voltage: 3.3V
  • Flash: 128KB
  • SRAM: 20KB

Pin Specification

  • Digital I/O pin:

0,1,2,3,4,5,6,7,8,9,10,11,12,13,14(A0),15(A1),16(A2),17(A3),18(SDA),19(SCL),20(A6),21(A7)

  • Analog input pin:

A0(ADC12_IN0), A1(ADC12_IN1), A2(ADC12_IN2), A3(ADC12_IN3), 10(ADC12_IN4), 13(ADC12_IN5), 12(ADC12_IN6), 11(ADC12_IN7), A6(ADC12_IN8), A7(ADC12_IN9)

  • Serial port:
    • Serial RX0 and TX1, used for receiving(RX) and sending(TX) TTL serial data.
    • Serial1 D2(RX3)and D3(TX3), used for receiving(RX) and sending(TX) TTL serial data.
  • Hardware PWM: 0, 1, 4, 11, 12, 14(A0), 15(A1), 16(A2), 17(A3), 18(SDA), 19(SCL), 20(A6), 21(A7)
  • SPI: D10(SPI1_NSS), D11(SPI1_MOSI), D12(SPI1_MISO), D13(SPI1_SCK);
  • IIC: 18(SDA), 19(SCL);
  • Each I/O port has interruption function.
Microduino-Core STM-Pinout
Microduino-Core STM-Pinout
Microduino-Core STM-Pinout

Documents

Development

Set up the Microduino-CoreSTM32 development environment(1)

  • Use the Maple IDE development environment: Microduino use the similar development environment with the Arduino IDE, so you can use the Maple IDE, Flash or Processing and so on. Combining with other Microduino modules, you can make many interesting interactive works..
  • Configure the Maple IDE, please refer to Microduino-CoreSTM32 Maple Drive Install
  • TO download programs to Microduino-CoreSTM32, just use the USB interface of Microduino-CoreSTM32, without Microduino-USBTTL, which is only used when programming bootLoader. There is bootloader, by default, so you don't have to program it.

Program for Microduino-CoreSTM32

  • Make sure installed the Microduino-CoreSTM32 derive
  • Prepared hardware:Microduino-CoreSTM32, USB cable
  • Prepared software:Maple IDE

The beginning of Micoduino-CoreSTM32

Set Microduino-CoreSTM32 Development Environment(2)

  • Use Keil uVision development environment: To develop Microduino-CoreSTM3, software keil can also be used. This environment can not only use C language, but also assembly language to program. And it has accessible integration environment, and powerful software simulation debugging tolls. Keil provides a complete development plan, including C compiler, microassembler, exoskeleton, library manager, and a powerful simulation debugger, which are combined together by an integration development environment(μVision.
  • To configure Keil uVision development environment, please refer to Configuration of Microduino-CoreSTM32 Keil development environment
  • To download programs to Microduino-CoreSTM32, you can directly use the USB interface of Microduino-CoreSTM32. And to execute online breakpoint debugging, another module Microduino-CoreSTMDEBUGE is needed, namely stlink.And you can stack the two modules and connect them through the USB interface of Microduino-CoreSTMDEBUGE to the computer to download programs.

Program Microduino-CoreSTM32(2)

  • Please make sure that you have installed STLINK driver.
  • Required hardware: Microduino-CoreSTM32, Microduino-CoreSTMDEBUGE, and a USB cable.
  • Requires software: Keil uVision5

STM32 Keil development environment experiment

Burn the Microduino- CoreSTM32 BootLoader

Applicaion

Microduino CoreSTM32 Tutorial

History

Picture