stm 32 development ecosystem - · pdf filestm studio stm studio helps debug and diagnose stm32...

Post on 06-Feb-2018

224 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

STM 32 Development Ecosystem

June 2017

STM32 family, the perfect solution for your projects

10 years longevity

STMicroelectronics provides a

minimum longevity

commitment of 10 years for

STM32 families.

CUBESTM32 CUBE or more precisely CUBE-MX is a graphical tool

that allows configuring the STM32 microcontrollers very

easily and generate a complete C project for:

IAR, KEIL, AC6 and ATOLLIC.

This platform includes the STM32 Cube Library, ensuring

easy portability across STM32 portfolio, plus a consistent set

of middleware components (RTOS, USB, FS, TCP/IP,

Graphics, etc).

All embedded peripherals examples come with a full set of

examples.

With STM32 Cube, STMicroelectronics provides a

comprehensive software tool, significantly reducing

development efforts, time and cost.

Evaluation Boards

• ST offers a comprehensive evaluation

boards to ease the lives of developers

and unleash the creativity of makers.

• All eva-boards include the emulator.

• A lot of eva-boards are ready to use

under ARM mbed

Evaluation boards

ODE - Open Development Environment The STM32 Open Development Environment (STM32 ODE) is an open, flexible, easy

and affordable way to develop innovative devices and applications based on the

STM32 32-bit microcontroller family combined with other state-of-the-art ST

components connected via expansion boards.

It enables fast prototyping with leading-edge components that can quickly be transformed

into final designs.

The STM32 ODE includes the following five elements:

• STM32 Nucleo development boards. A comprehensive range of affordable development

boards for all STM32 microcontroller series, with unlimited unified expansion capability,

and with integrated debugger/programmer

• STM32 Nucleo expansion boards. Boards with additional functionality to add sensing,

control, connectivity, power, audio or other functions as needed. The expansion boards are

plugged on top of the STM32 Nucleo development boards. More complex functionalities

can be achieved by stacking additional expansion boards

• STM32Cube software. A set of free-of-charge tools and embedded software bricks to

enable fast and easy development on the STM32, including a Hardware Abstraction Layer,

middleware and the STM32CubeMX PC-based configurator and code generator

• STM32Cube expansion software. Expansion software provided free of charge for use

with STM32 Nucleo expansion boards, and compatible with the STM32Cube software

framework

• STM32 ODE Function Packs. Set of function examples for some of the most common

application cases built by leveraging the modularity and interoperability of STM32 Nucleo

development boards and expansions, with STM32Cube software and expansions.

Low cost emulator

The ST-LINK/V2 is an in-circuit debugger and programmer for

the STM8 and STM32 microcontroller families. The single wire

interface module (SWIM) and JTAG/serial wire debugging (SWD)

interfaces are used to communicate with any STM8 or STM32

microcontroller located on an application board.

In addition to provide the same functionalities as the ST-LINK/V2,

the ST-LINK/V2-ISOL features digital isolation between the PC and

the target application board. It also withstands voltages of up to

1000 Vrms.

STM32 applications use the USB full-speed interface to

communicate with Atollic®, IAR™, Keil®, AC6 and TASKING

integrated development environments.

STM STUDIO

STM Studio helps debug and diagnose STM32

applications while they are running by reading and

displaying their variables in real-time.

Running on a PC, STM Studio interfaces with STM32

MCUs via the standard ST-LINK development tools.

STM Studio is a non-intrusive tool, preserving the

real-time behavior of applications.

STM Studio perfectly complements traditional

debugging tools to fine tune applications.

It is well suited for debugging applications which cannot

be stopped, such as motor control applications.

Different graphic views are available to match the

needs of debugging and diagnosis or to demonstrate

application behavior.

Libraries & Examples

The libraries include:

• The HAL hardware abstraction layer, enabling

portability between different STM32 devices via

standardized API calls

• The Low-Layer (LL) APIs, a light-weight,

optimized, expert oriented set of APIs designed

for both performance and runtime efficiency

• A collection of examples for all the STM32

peripherals

• A collection of Middleware components, like

RTOS, USB library, file system, TCP/IP stack,

Touch sensing library or Graphic Library (free

SEGGER G.L.) (depending on the MCU series),

etc

STM32 Education

Bring your STM32 project to life with the free educational resources created by STM.

Learn at your own pace, watch classes on your own schedule, anytime, anywhere, on

any device, or join one of our live learning sessions led by our experts, close to you

(trainings, tutorials, books, videos and much more).

Free C IDE - Compiler

Up to now there is a loot of IDE (Compiler and Debugger) for

the Cortex Mx, here there is a little list of the principal free IDE

that are used for develop on the STM32.

• AC6 – System WorkBench

• ATOLLIC is now free

• KEIL is free for STM32L0xx (Cortex M0+) and STM32F0xx

(Cortex M0).

For other STM32 it is free up to 32K of exe.

• emIDE

• mbed is free ARM compiler

• Now is possible use some STM32 in the ARDUINO IDE.

For more info see this tutorial

Support

The support is divided in three levels that are

• AVNET-SILICA local FAE & Specialist

• STM local FAE

• STM central support team (T.O.M.A.S.)

based in Prague

CUBE

14

More info are here

15

16

CUBE-MX - request update 1/2

17

CUBE-MX - request update 2/2

18

CUBE-MX - How to move the Pin Positions

19

CUBE-MX

Clock tree

20

Type here the

frequency that you

need and press enter

CUBE-MX - Peripheral and middleware configuration

21

CUBE-MX - GPIO Panel

22

CUBE-MX - generate the code for some GUI 1/3

23

CUBE-MX - generate the code for some GUI 2/3

24

CUBE-MX - generate the code for some GUI 3/3

25

CUBE-MX - Power consumption calculator

26

HAL library

27

HAL & LL library

28

HAL & LL library

30

31

32

33

HAL library - Where to find examples ready to use ?

34

LL examples

35

36

For who has interest to see a practical

section that explain how to develop a new

project on STM32L476 for AC6 see here.

And…

37

Up to now we showed you the standard way to develop

on STM32 using a classic tools.

In the next sections we will introduce you in the ARM

mbed world, a new way to develop firmware on STM32

families

Thank you!

38

top related