100% found this document useful (1 vote)
852 views

Stm32-Stm8 Embedded Software Solutions

Stm32-Stm8 Embedded Software Solutions

Uploaded by

ahimpli
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
852 views

Stm32-Stm8 Embedded Software Solutions

Stm32-Stm8 Embedded Software Solutions

Uploaded by

ahimpli
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 59

Embedded software solutions

STM32, STM8

A full portfolio and several models


Extensive software ecosystem around the STM32 and STM8 You will find your solution, fitting your requirements in terms of price, license and support

ST-designed software

Built in-house, making the most of the STM32 and STM8 Source code or binaries Supported by ST

Open source

Proposed by community or partners Source code, from BSD or GPL licenses to commercial products Supported by open source community or partners

Partners

Generic solutions proposed by many companies, portable to/from other platforms Source code or binaries Supported by partners

A large community of partners

Solutions at all levels


Application fields

Audio applications

Motor control

Industrial

Automotive

Middleware

RTOS/ kernel

File system

USB

TCP/IP Bluetooth Display

ZigBee

Touch sensing

Development and execution environments

Hardware abstraction layer (HAL)

Select the area of interest for more details

Hardware dependent layer (HAL)

Hardware dependent layer


This layer is the first one to interact with the MCU hardware Consistent programming interface
When microcontrollers have different hardware implementations

Full microcontroller coverage


All peripherals are handled

STM32 Hardware dependent layer


Availability

Provider Solution name


Standard peripheral library and CMSIS DSP library4 Class B guidelines Crypto library3 ST
AES, DES, 3DES, ARC4, MD5, SHA1, SHA2, RSA sig, ECC Key gen, ECDSA, ...

Model Cost

F0

F1

F2

F3
F30x F37x

F4

L1

ST

Source

Free

ST

Source1

Free

Y N2

Y Y

Y N2

N2

Binaries

Free

N2

1/ Application note can be downloaded from ST web site. Software can be obtained on demand with NDA. Contact your local sales office. 2/ Can be ported. 3/ Subject to trade regulation, please contact our sales office. 4/ DSP library for Cortex-M4 cores only.

STM8 Hardware dependent layer


Availability Provider
ST ST

Solution name
Standard peripheral library Class B guidelines

Model
Source Source

Cost
Free Free

S
Y Y

A
Y Y

L
L10x L15x

T
Y N1

Y Y

1/ Can be ported.

Focus ST standard peripheral library


Hardware abstraction layer fully covering the STM32 or STM8

Compliant with standards


ANSI-C source code Misra and ST coding rules ARM-CMSIS compliant for STM32

A real help for developers


Comes with a multitude of examples demonstrating usage

Focus CMSIS DSP library


ARM CMSIS DSP library
Complete set of DSP algorithms, with examples
Math Vectors Statistics Filters (FIR, IIR, ) Interpolation Matrix Transform (FFT, )

10

Optimized for Cortex-M4 core, on integer and floating-point values

Back

Middleware (USB, Ethernet, )

Middleware
Middleware stacks fill the gap between hardware and your application. ST and STs partners bring the required solutions. All standard middleware covered
RTOS/kernel File system USB TCP/IP Bluetooth ZigBee

12

Middleware RTOS/kernel
This is the root component to share time between several tasks on a single core. It ensures task switch within a known and limited duration.

13

A multitude of solutions for the STM32 and STM8 available now


New contributions are being added regularly

STM32 RTOS / kernel (1/2)


Provider
AVIX-RT CMX CMX Chibios eCosCentric eForce Emcraft Systems EUROS Express Logic FreeRTOS Green Hills

14

Solution name
AVIX CMX-RTX CMX-Tiny ChibiOS/RT eCosPro C3 uCLinux EUROSPlus ThreadX FreeRTOS -velOSity

Model
Binaries Source Source Open source (GPL3) or Source Source1 Source Open Source (GPL)2 Binaries Source Open source (modified GPL) Source

Cost
License License License Free or License License License Free2 License License Free License

Availability F0 F1 F2 F3
N N Y Y N Y N N Y Y Y Y Y Y Y Y Y N Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y

F4
Y Y Y Y Y Y Y Y Y Y Y

L1 W
Y Y Y Y Y Y N Y Y Y Y N N N N N N N N N N N

Keil/ARM

MDK-ARM

Source

License

1/ eCos is an open source kernel, a subset of eCosPro. eCosPro comes with TCP/IP stack, FAT, jFFS2, RAM and ROM FS 2/ uCLinux is open source, but this company proposes some ports on STM32. It requires some additional boards that they sell. uCLinux can be much more than just a Kernel

STM32 RTOS / kernel (2/2)


Provider
Mentor Micrium Micro Digital Quadros Rowebots

15

Solution name
Nucleus Kernel C-OS SMX RTXC Rtos Unison

Model
Source Source Source Source Source1

Cost
License License License License License

Availability F0
N Y N Y N

F1
Y Y Y Y Y

F2
Y Y Y Y Y

F3
Y Y Y Y Y

F4
Y Y Y Y Y

L1
Y Y Y Y Y

W
N N N N N

SEGGER
SICS High Integrity Systems High Integrity Systems

embOS
Contiki OpenRTOS2 SafeRTOS3

Source
Open source (BSD) Source Source

License
Free License License

Y
N Y N4

Y
N Y Y

Y
N Y Y

Y
N Y N4

Y
N Y Y

Y
N Y Y

Y
Y N N

1/ An Open Source version with less features is also available. 2/ OpenRTOS is FreeRTOS with commercial support 3/ SafeRTOS is OpenRTOS with Safety features and certificates 4/ Available on customer request. Please contact supplier

STM8 RTOS/kernel
Availability Provider
AtomThreads Chibios CMX SEGGER

16

Solution name
AtomThreads RTOS ChibiOS/RT CMX-Tiny+ embOS

Model
Open source (BSD) Open source (GPL3) or Source Source Source

Cost S
Free Free or License License License Y Y Y Y

A
N1 N1 N1 Y

L
N1 Y N1 Y

T
N1 N1 N1 N1

1/ Could be very easily ported 2/ Contact supplier

Back

Middleware File system


A file system is the way in which files are named and how they are placed logically for storage and retrieval. Several standards exist, such as FAT and JFFS2
Some safety solutions
Ensuring data is not corrupted in any way (power supply removal, )

17

Some NAND memory access solutions


With error correction and wear-leveling

STM32 File system (1/2)


Provider
ChaN CMX eCosCentric Express Logic EUROS HCC Green Hills Keil/ARM Mentor Embedded Micrium Micro Digital

18

Solution name
FatFS CMX-FFS

Model
Open source (BSD) Source Source Source Binaries Source Source Source Source Source Source

Cost
Free License License1 License License License License License License License License

Availability F0
Y3 Y N Y N Y Y Y N Y N

F1
Y3 Y Y Y Y Y Y Y Y Y Y

F2
Y3 Y Y Y Y Y Y Y Y Y Y

F3
Y3 Y Y Y Y Y Y Y Y Y Y

F4
Y3 Y Y Y Y Y Y Y Y Y Y

L1
Y3 Y Y Y Y Y Y Y Y Y Y

W
N N N N N N N N N N N

eCC-YAFFS (Nand), MMFS, JFFS2


FileX FMS HCC-FFS -velOSity File System MDK-ARM Flash Nucleus Storage C/FS smxFS

1/ Free for non commercial usage. 2/ Available on customer request. Please contact supplier. 3/ FatFS ported on STM32 available on demos

STM32 File system (2/2)


Provider
Quadros Rowebots SEGGER SICS

19

Solution name
RTXCfatfile Unison FAT File System emFile Contiki/Coffee FS

Model
Source Source Source Open source (BSD)

Cost
License License License Free

Availability F0
Y N Y N

F1
Y Y Y N

F2
Y Y Y N

F3
Y Y Y N

F4
Y Y Y N

L1
N1 Y Y N

W
N N Y Y

1/ Available on customer request. Please contact supplier.

STM8 File system


Provider
ChaN HCC

20

Solution name
Petit FatFS FAT THIN

Model
Open source (BSD) Source Source

Cost
Free License License

Availability S
N1 Y Y

A
N1 Y Y

L
Y2 Y Y

T
N1 Y N1

SEGGER

emFile

1/ Could be very easily ported. 2/ Petit FatFS ported on STM8 available on demos

Back

Middleware USB
Universal Serial Bus requires a dedicated software stack. This serial bus is organized in a star topology with host and device roles, host organizing the traffic. Several device classes are specified, in order to ease communication in different application cases. ST provides a complete offer for STM32
Often seen acronyms
OTG HUB MS HID CDC Printer Audio DFU
On-The-Go: An OTG peripheral can switch host and device role on the fly Defines what protocols to implement to build a hub application Mass storage: Protocols to interact with storage block devices (for files) Human interface device: Protocols for peripherals interacting with human body (mouse, keyboard, etc.) Communication device class: Protocols for serial communications, different sub-classes define details, for instance ACM for a standard COM port, or ECM for modems Defines what protocols to implement to build a printer application Defines what protocols to implement to build an audio application (microphone, headset, etc.)

21

Device firmware upgrade: Protocols to implement firmware upgrade ability

STM32 USB solutions (1/2)


Provider
CMX EUROS Express Logic HCC Jungo Keil/ARM Mentor Embedded Micrium Micro Digital Quadros Rowebots SEGGER

22

Solution name
CMX-USB Device, Host USB Host & Device USBX HCC-USB USBware MDK-ARM USB Nucleus USB C/USB smxUSB RTXCusb Unison USB System emUSB

Model
Source Binaries Source Source Source Source Source Source Source Source Source Source

Cost F1
License License License License License + royalties License License License License License License License Y Y Y Y Y Y Y Y Y Y Y

Availability
F2
Y Y Y Y

F3
Y Y Y Y

F4
Y Y Y Y

L1
Y Y Y Y

On demand Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y N1 Y Y

1/ Available on customer request. Please contact supplier

STM32 USB solutions (2/2)


Availability Provider Solution name Model Cost F1
Others F105 F107

23

F2
N Y N3 Y

F3
Y N N3 N1

F4
N Y N3 Y

L1
Y N Y2 N1

ST ST ST Thesycon

USB FS device library USB FS&HS Host&Device lib Continua USB certified stack2 Embedded USB Device

Source Source Source Source

Free Free Free License

Y N N3 N1

N Y

1/ Available on customer request. Please contact supplier 2/ Available to Continua members only. Refer to your local ST sales office. 3/ Can be ported

STM32 USB solutions details (1/2)


Provider
CMX EUROS Express Logic HCC Jungo Keil/ARM Mentor Embedded Micrium Micro Digital Quadros Rowebots SEGGER

24

Solution name
CMX-USB Device, Host USB Host & Device Stack USBX HCC-USB USBWare MDK-ARM USB Nucleus USB C/USB smxUSB RTXCusb Unison USB System emUSB

Details
Device: HID, MS, CDC (ACM, ECM, RNDIS), Audio, Midi, MTP, PHDC Host: HID, MS, CDC (ACM, ECM, RNDIS, OBEX), Audio, Midi, Printer, HUB Device: HID, MS, CDC (ACM, ECM) Host: HID, MS, CDC (ACM, ECM), HUB Device: HID, MS, CDC (ACM, ECM, RNDIS), Still Image, PTP, PictBridge Host: HID, MS, CDC (ACM, ECM), Audio, Printer, HUB, Prolific Device: HID, MS, CDC (ACM, ECM, RNDIS), Printer, Audio, Midi, MTP, Still Image Host: HID, MS, CDC (ACM, ECM, RNDIS), Audio, Midi, Printer, HUB Device: HID, MS, CDC (ACM, ECM, RNDIS, WMC, OBEX), Audio, Video, SICD, PTP, MTP, PictBridge, CCID, DFU Host: HID, MS, CDC (ACM, ECM, EEM, NCM), Audio, Video, PTP, MTP, ICCD, iPod, HUB Device: HID, MS, CDC (ACM), Audio Host: HID, MS Device: HID, MS, CDC (ACM, ECM) Host: HID, MS, CDC (ACM, ECM), HUB Device: HID, MS, CDC (ACM), Audio, PHDC (Medical) Host: HID, MS, CDC (ACM), Audio, Printer, PHDC (Medical) Device: HID, MS, CDC (ACM, RNDIS, Single Interface and mult. ports), Audio, Video, Midi, PTP, MTP, DFU Host: HID, MS, CDC (ACM), Audio, Printer, HUB Device: MS, CDC (ACM, ECM, RNDIS) Host: HID, MS, CDC (ACM), HUB Device: MS, CDC (ACM) Host: MS, CDC (ACM), HUB, others on demand (inc . PHDC) Device: HID, MS, CDC (ACM), Printer Host: HID, MS, CDC (ACM), Printer

STM32 USB solutions details (2/2)


Provider
ST ST ST Thesycon

25

Solution name
USB FS device library USB FS&HS Host&Device Continua USB certified stack Embedded USB Device

Details
Device: HID, MS, CDC (ACM), Audio, DFU, PHDC (with below Continua package) Device: HID, MS, CDC (ACM), Audio, DFU Host: HID, MS USB PHDC Class (Personal Health Device Class), 11073-20601 = Base Framework. Agents: 1073-10417 = Glucose, 11073-10408 = Thermometer Other Agents can be implemented on demand Device: HID, MS, CDC (ACM, ECM, NCM)

Back

Middleware TCP/IP (1/2)


TCP and IP were developed by a US Department of Defense research project to connect a number of different networks designed by different vendors into a network of networks (the Internet). It was initially successful because it delivered a few basic services that everyone needs (file transfer, electronic mail, remote logon) across a very large number of client and server systems, and is now widely deployed.

26

Middleware TCP/IP (2/2)


Often seen acronyms
ARP IP 6LoWPAN IPSec TCP UDP DHCP DNS FTP TFTP SMTP POP HTTP SSL/TLS Wi-Fi
Address resolution protocol: Provides physical address from IP address Internet protocol: Primary protocol in Internet Protocol Suite. 2 flavors: IPv4 and IPv6. IPv4 will disappear as it only supports up to 232 addresses, not enough for future needs, while IPv6 supports 2128 IPv6 over low power wireless personal area networks: Provides IPv6 connectivity to low rate wireless networks Internet protocol security: Secured version of IP, using cryptography Transmission control protocol: Provides reliable, ordered delivery of a stream of bytes User datagram protocol: Provides unreliable service. Datagrams may arrive in any order, duplicated, or may be missing. Used for time-sensitive applications, when data drop is better than delay Dynamic host configuration protocol: Provides means to allocate IP address dynamically Domain name system: Translates domain names meaningful to humans into numerical IP ones File transfer protocol: Provides means to copy files from one host to another Trivial file transfer protocol: Similar to FTP, but based on UDP, and simpler (for example, no directory) Simple mail transfer protocol: Used to send e-mail to a server Post office protocol: Used to retrieve e-mail from a server Hypertext transfer protocol: Used by web browsers Transport layer security: Secured container for application protocols using cryptography. Example: HTTPS means HTTP over SSL, FTPS, etc.. IPSec applies cryptography at a lower level than SSL/TLS, making it more universal. However SSL is widely used. Wi-Fi is an implementation of the IEEE 802.11 radio communication specification. It is usually used with a TCP/IP stack, so all TCP/IP bricks can be reused on Wi-Fi, adapting the lowest firmware layer.

27

STM32 TCP/IP solutions (1/2)


Provider
CMX EUROS Express Logic eCosCentric eForce GreenHills HCC Interniche Interniche Interniche Keil/ARM SICS Mentor Embedded

28

Solution name
CMX-TCP/IP, CMX-MicroNet, CMX-INet TCP/IP stack NetX and NetX Duo IPv4/IPv6 SecureSockets, SecureShell Net3 -velOSity TCP/IP v4/v6 MISRA HCC-TCP/IP v4/v6 NicheLite NicheStack embTCP v4/v6 MDK-ARM TCPNET LwIP Nucleus Network

Model
Source Binaries Source Source Source Source Source Source Source Binaries Source Open source (BSD) Source

Cost
License License License License License License License Free License License License Free License

Availability
F107
Y Y Y Y Y Y Y Y Y N Y Y2 Y

F2
Y Y Y Y Y Y Y Y Y Y Y Y2 Y

F4
Y Y Y Y Y N1 Y Y Y Y Y Y2 Y

W
N Y N N N N N N N N N N N

1/ Available on customer request. Please contact supplier 2/ A port to STM32 was implemented by ST

STM32 TCP/IP solutions (2/2)


Provider
Micrium Micro Digital Oryx Emb. Quadros Rowebots SEGGER SICS

29

Solution name
C/TCP-IP smxNS and smxNS6 (Dual IPv6/v4) CycloneTCP RTXC Quadnet Unison TCP-IP/v4-v6 embOS/IP Contiki/uIP6

Model
Source Source Open source (GPL2) or source Source Source Source Open source (BSD)

Cost
License License Free or license License License License Free Y Y Y Y Y Y N

Availability
F107 F2
Y Y Y Y Y Y N

F4
Y Y Y Y Y N1 N1

W
N N N N N N Y

Provider
Oryx Emb. PolarSSL yaSSL

Solution name
CycloneSSL PolarSSL CyaSSL

Model
Open source (GPL2) or Source Open source (GPL2) or Source Open source (GPL2) or Source

Cost
Free or license Free or license Free or license Y Y2 N

Availability
F107 F2
Y Y2 Y

F4
Y Y2 Y

W
Y N N

1/ Available on customer request. Please contact supplier 2/ A port to STM32 was implemented by ST

STM32 TCP/IP solutions details (1/2)


Provider
CMX CMX EUROS Express Logic eCosCentric eCosCentric eForce HCC Green Hills Interniche Interniche Interniche Keil/ARM SICS Mentor Embedded

30

Solution name
CMX-TCP/IP CMX-MicroNet TCP/IP stack NetX and NetX Duo IPv4/IPv6 SecureSockets SecureShell Net3 MISRA HCC-TCP/IP v4/v6 -velOSity TCP/IP v4/v6 NicheLite NicheStack embTCP v4/v6 MDK-ARM TCPNET LwIP Nucleus Kernel

Details
PPP, PPPoE, ARP, IGMP, ICMP, IPv4, UDP, TCP, DHCP(cs), DNS, FTP(cs), IMAP4, NAT, POP3(c), SMTP , SNMP, SNTP, Telnet(s), SSL/TLS, TFTP(c), HTTP(s) PPP, ARP, IGMP, ICMP, IPv4, UDP, TCP, DHCP(c), DNS, FTP(cs), POP3(c), SMTP, SNMP, SNTP, Telnet(s), SSL/TLS, TFTP, HTTP(s) PPP, PPPoE, ARP, IGMP, ICMP, IPv4, IPv6, IPSec/IKE, UDP, TCP, DNS, DHCP(cs), FTP(cs), NAT, POP3(c), SMTP, SNMP, SNTP, Telnet(s), SSL/TLS, TFTP, HTTP(cs) PPP, ARP, IGMP, ICMP, IPv4, IPv6, IPSec/IKE, UDP, TCP, DNS, DHCP(c), FTP(cs), NAT, POP3(c), SMTP, SNMP, SNTP, Telnet(s), TFTP, HTTP(s) SSH2 SSL/TLS PPP, ARP, IGMP, ICMP, IPv4, IPv6, UDP, TCP, DNS, DHCP(c), FTP(s), SSL/TLS ARP, ICMP, IPv4, IPv6, UDP, TCP, DNS, DHCP(c), FTP(s), SMTP, TFTP(s), HTTP(s) ARP, ICMP, IGMP, IPv4, IPv6, IPv4/6, UDP, TCP, DNS, DHCP(c), ARP, ICMP, IPv4, UDP, TCP, DNS, DHCP(c), FTP(s), Telnet(s), TFTP SLIP, PPP, PPPoE, ARP, IGMP, ICMP, IPv4, IPv6, IPSec/IKE, UDP, TCP, DNS, DHCP(cs), FTP(cs), NAT, POP3(c), SMTP, SNMP, SNTP, Telnet(s), SSL/TLS, TFTP, HTTP(s), RTP/RTCP, SSH ARP, TCP/IP v4, IPv4/v6 HTTP, FTP Telnet ICMP, UDP, TCP. DNS, DHCP SLIP, PPP, ARP, IPv4, ICMP, UDP, TCP, DNS, DHCP(c), FTP(s), SMTP, SNMP, Telnet(s), TFTP(s), HTTP(s) PPP, ARP, ICMP, IPv4, UDP, TCP, DHCP(c) PPP, PPPoE, ARP, IGMP, ICMP, IPv4, IPv6, IPSec/IKE, UDP, TCP, DHCP(c), FTP(cs), NAT, SNMP, SNTP, Telnet(cs), SSL/TLS, TFTP (cs), HTTP(cs)

STM32 TCP/IP solutions details (1/2)


Provider
Micrium Micro Digital Oryx Emb. Quadros Rowebots

31

Solution name
C/TCP-IP (and C/SSL) smxNS and smxNS6 (Dual IPv6/v4) CycloneTCP RTXC Quadnet Unison TCP-IP/v4-v6

Details
ARP, ICMP, IPv4, UDP, TCP, DNS, DHCP(c), FTP(cs), SMTP, POP3(c), SNTP, Telnet(s), SSL/TLS, TFTP, HTTP(s)

SLIP, PPP, PPPoE, ARP, IGMP, ICMP, IPv4, IPv6, IPv4/6, UDP, TCP, DNS, mDNS, DHCP(cs), FTP(cs), NAT, POP3(c), SMTP, SNMP, SNTP, Telnet(s), SSL/TLS, TFTP, HTTP(cs), RTP/RTCP, SSH
ARP, IPv4, ICMP, IGMP, IPv6, ICMPv6, MLD, NDP, SLAAC, UDP, TCP, DNS, DHCP(c), DHCPv6(c), SMTP(c), FTP(cs), HTTP(s) PPP, PPPoE, ARP, IGMP, ICMP, IPv4, IPv6, IPSec/IKE, UDP, TCP, DNS, DHCP(cs), FTP(cs), NAT, POP3(c), SMTP, SNMP, SNTP, Telnet(s), SSL/TLS, TFTP, HTTP(cs), UPnP, Prioritized Packets Handling PPP, ARP, ICMP, IGMP, IPv4, IPv6, IPv4/6, 6LowPan, IPSec, UDP, TCP, DNS, DHCP(cs), SMTP(c), SNMP, Telnet(s), TFTP(cs), HTTP(cs), NAT

SEGGER
SICS

embOS/IP
Contiki/uIP6

PPP, PPPoE, ARP, ICMP, IGMP, IPv4, UDP, TCP, DNS, DHCP(c), FTP(cs), SMTP(c), Telnet(s), TFTP(cs), HTTP(s)
IPv6, 6LoWPAN

Back

Middleware Bluetooth
Bluetooth is a wireless communication technology for exchanging data over short distances, typically used in the mobile world between phones and accessories. Solutions with STM32 + Bluetooth transceiver
Several solutions are available, using STM32 with STs STA2500D or ST-Ericssons STLC2690 or other components

32

Often seen acronyms


HCI Host/controller interface: Standardized communication between controller and radio chips

SPP
A2DP HSP HDP HFP

Serial port profile: Profile that emulates serial line over Bluetooth
Advanced audio distribution profile: Profile to stream high quality audio Headset profile: Profile to implement a basic headset application Health device profile: Profile designed to facilitate transmission and reception of medical data Hands-free profile: Typical profile used in cars for hands-free phone usage. Implements more features than HSP, such as voice dialing or last number redial

STM32 Bluetooth solutions


Provider Solution name Model
Binaries or Sources
Binaries or Sources Binaries or Sources

33

Cost F0 F1
Y N Y
License + royalties
License + royalties License + royalties

Availability F105/107
Y N Y
On demand On demand On demand

F2
Y Y Y

F4
Y Y Y

L1
Y N Y

Alpwise Alpwise Alpwise A&W Jungo Clarinox SEARAN

iAnywhere Blue SDK 3.x iAnywhere Blue SDK 4.x ALPW-BLESDK CAMagic PhoneLink BTware ClarinoxBlue dotStack

N2 N Y

Binaries or Sources
Sources Binaries or Sources Binraies or Sources

License and/or royalties


License+ royalties License and/or royalties License and/or royalties

1/ Available on customer request. Please contact supplier 2/ Available on specific conditions. Please contact supplier

STM32 Bluetooth solutions details


Provider
Alpwise Alpwise Alpwise A&W Jungo Clarinox SEARAN

34

Solution name
iAnywhere Blue SDK 3,x iAnywhere Blue SDK 4.x iAnywhere CAMagic PhoneLink BTware ClarinoxBlue dotStack

Details
BT2.1 + EDR, BT3.0, BT3.0 + HS Supported profiles: AD2P, AVRCP, HFP, HSP, HID, OBEX, FTP, OPP, SPP and more BT4.0 BLE Dual Mode Supported profiles: AD2P, AVRCP, HFP, HSP, HID, OBEX, FTP, OPP, SPP and more BT4.0 BLE Single Mode Supported profiles: GAP, GATT, Proximity, Find Me, Heart Rate, Health Thermometer, Alert Notification, Time and more BT2.1+EDR, BT4.0 Supported Profiles : HFP, HSP, PBAP, A2DP, AVRCP, HID, OBEX, FTP, OPP, SPP, PAN, MAP and more BT2.1+EDR, BT3.0 Supported profiles: A2DP, AVRCP, HFP, HSP, HDP HID, FTP, SPP, iPod, and more BT2.1+EDR Supported profiles: HCI, L2CAP, RFCOMM, SDP, SDAP, GAP, SPP, AVRCP, A2DP, ADVTP, GAVDP, HFP, HSP, IOP, MAP, PBAP BT2.1+EDR, BT4.0 Supported profiles: SPP, HID, FTP, HSP, HFP, A2DP, AVRCP, PBAP, iAP, GATT, demo apps on iOS and Android

Back

Middleware ZigBee
With short messages, ZigBee offers green wireless standards to connect a wide range of devices so they work together intelligently and help you control your world. Full coverage of STM32W built-in Radio
STM32W family embeds an IEEE 802.15.4 2.4 GHz compliant radio supporting ZigBee and proprietary protocols Often seen acronyms
ZigBee RF4CE ZigBee PRO ZigBee IP ZRC ZID ZHA ZSE
Wireless protocol stack for low data rate, low power optimized for consumer electronics. Applications include remote control, mice, keyboards, 3D goggles. Wireless protocol stack for low data rate, low-power applications using mesh routing. Supports home automation, building automation and smart energy 1.x applications. Wireless protocol based on IPv6/6LowPan targeting next generation smart energy/smart grid applications. Remote control application profile supported by ZigBee RF4CE for consumer electronics. ZigBee human interface device application profile supported by ZigBee RF4CE for mice, keyboards, etc. Home automation application profile supported by ZigBee PRO protocol stack. ZigBee smart energy application profile supported by ZigBee PRO and ZigBee IP protocol stacks.

35

STM32 ZigBee solutions


Provider
ST ST ST (with Sensinode)

36

Solution name
Simple MAC firmware ZigBee RF4CE ZigBee IP stack

Model
Binaries Binaries Binaries

Cost
Free Free Free

Availability
W
Y Y Q2/13

Back

Middleware Display
STs MCUs can drive displays through serial or parallel interfaces. Getting the most from hardware and software
ST has built a close relationship with partners providing software solutions based on our microcontrollers. Customers can make the most of their hardware. Often seen acronyms
Anti aliasing Alpha blending GUI
Technique to minimize distortion artifacts known as aliasing when presenting a high-resolution image at a lower resolution. Aliased images show some stair effects on curves. Anti-aliasing removes this by modifying edge pixel colors. Alpha blending is the process of combining a translucent foreground color with a background color, thereby producing a new blended color. Graphical user interface

37

bpp
Palette JPEG RGB Widgets

Bits per pixel (also known as color depth: Number of bits used to represent the color of a single pixel in an image. 1 bpp corresponds to monochrome images.
Technique to lower image memory size by storing the set of colors used in a table and using this table for each pixel Commonly used method of lossy compression for digital image. The degree of compression can be adjusted, allowing a trade-off between storage size and image quality. JPEG typically achieves 10:1 compression with little perceptible loss in image quality. Color model in which red, green and blue are merged to reproduce a broad array of colors. Element of a graphical user interface that can be changed by the user (such as text box, radio button)

STM32 Display solutions


Provider
Altia EUROS Express Logic ST ST Mentor Embedded Micrium Micro Digital Quadros Rowebots SEGGER

38

Solution name
Altia Design eGUI PEGX Embedded GUI library STemWin1 Inflexion UI C/GUI C/PEG, PEG+, PEG Pro C/PEG, PEG+, PEG Pro Remedy GraphXgen emWin

Model
Source Binaries Source Source Binaries Binaries Source Source Source Source Source

Cost
License License License Free Free License License License License License License

Availability F0
N1 N1 Y N Y N Y N1 N1 N Y

F1
N1 Y Y Y Y N Y Y Y Y Y

F2
Y Y Y Y Y Y Y Y Y Y Y

F3
N1 Y Y Y Y N Y Y Y Y Y

F4
Y Y Y Y Y Y Y Y Y Y Y

L1
N1 Y N1 Y Y N Y N1 N1 N1 Y

1/ Available on customer request. Please contact supplier

Back

Middleware Touch sensing


Capacitive touch sensing is an electrical cost-efficient technology, replacing conventional mechanical switches to detect user actions, to build modern GUI look and feel. NRE/royalty-free C source code
Complete solution for touch keys, linear and rotary touch sensors, with acquisition, post processing and API layers, debounce filtering and calibration functions Often seen acronyms
Surface capacitance Projected capacitance RC acquisition CT acquisition
The capacitance of a single ended electrode is modified when the finger gets close to it. The capacitance between two sensing electrodes is modified when the finger gets close to them. Resistor-capacitor acquisition for surface capacitance only. It consists in measuring the charge and discharge time duration of a RC cell made of the electrode capacitance and a load resistor. Charge transfer acquisition for surface capacitance only. It consists in measuring the duration for charging the electrode capacitance and transferring part of the accumulated charge into a sampling capacitor. The CT acquisition is more robust than the RC one. Charge transfer acquisition for projected capacitance. This acquisition offers enhanced features such as integrated sampling capacitor, automatic electrode tuning, electrode parasitic capacitance compensation, The ProxSense acquisition is more robust than the CT one.

39

ProxSense acquisition

STM32 Touch-sensing solutions


Provider
ST

40

Solution name
STM32 Touch Sensing Library

Acquisition
CT

Model
Source

Cost F0
Free Y N

Availability F1 F2
N

F3
Y

F4
N

L1
Y

STM8 Touch-sensing solutions


Provider
ST ST

41

Solution name
STM8 Touch Lib STM8TL5xxx Touch Lib

Acquisition
RC + CT ProxSenseTM

Model
Source Source

Cost S
Free Free Y1 N

Availability
A
N2 N

L
Y1 N

T
N Y

1/ RC for STM8S, RC and CT for STM8L 2/ Available on customer request.

Back

Application fields (audio, motor,)

Application field Audio


A complete solution for all audio aspects
All audio aspects can be covered by solutions from ST or partners or STM32

43

Optimized for ST products


Unlike open-source non-optimized solutions, ST works with partners to propose optimized algorithms for ST platforms

Often seen acronyms


Codec PCM AAC, MP3, WMA
A codec is a program capable of encoding and decoding a digital data stream. The encoded stream can be compressed or not, with a lossy (MP3, WMA, ) or lossless (FLAC, ALAC, ) mechanism. Pulse-code modulation: Digital representation of an analog signal, in which the magnitude of the analogue signal is sampled regularly, each sample being quantized to the nearest value within a range of digital steps. Music codecs with patents. Royalties need to be paid to patent owners. Open source, no royalties music codec Open source, no royalties speech codec Simple codec with no royalties often used in telephony ADPCM (adaptive differential pulse code modulation): Simple compression of PCM data

Vorbis
Speex G711 G726

STM32 Audio solutions


Availability Provider
ST ST ST ST ST ST

44

Solution name
ADPCM Vocoder, Speex Vocoder G711, G726, G726A Vocoders Audio Engine MP3 Decoder
With Channel Mixer, Equalizer and Loud

Model
Source Source Binaries Binaries Binaries Binaries

Cost
Free Free Free Free Free Free

F0
N N N N N N

F1
Y N1 N1 N1 N1 N1

F105 /107
N1 N1 Y Y Y Y3

F2
N1 Y4 Y Y Y Y3

F3
N1 N1 N1 N1 N1 N1

F4
N1 Y3 Y Y Y Y3

L1
N1 N1 N1 N1 N1 N1

Audio Engine MP3 Codec


With Channel Mixer, Equalizer and Loud

Audio Engine WMA Decoder


With Channel Mixer, Equalizer and Loud

Audio Engine AAC Decoder


AAC-LC, HE-AAC+ v1, HE-AAC+ v2

Audio Engine Post Processing ST ST ST ST DSPConcept Craftwork


Smart Volume Control, Biquad Filters, Source Rate converters, Stereo Widening

Binaries Source Binaries Binaries Binaries Binaries

Free Free Free Free License License

N Q3/13 N N N N

N N N Y N N

N Y Y Y N N

N Y Y Y N N1

N1 Y N1 N1 N N

Q3/13 Y Y Y Y Y

N Y N N1 N N

Apple iAP Library (iPod/iPhone/iPad)2 USB audio class and stream synchro. (feedback pipe, external PLL, ) 4 Source Rate Converter3 Audio Weaver Remote Speakers (DLNA Media Renderer)

1/ The library will run immediately on these targets, even if not ported officially. 2/ Only available by request to local sales for companies being a licensee of Apple MFi (Made for iPod) program. 3/ Available on demand. Ask your local ST Sales office.

Focus STM32 Audio Engine MP3


De facto standards support
Support for popular MP3 and WMA key formats, AAC coming

45

More than just a codec


Comes with must-have add-ons such as
Channel mixer utility (for volume and mute control) Standalone 5-band parametric equalizer utility

Loudness control utility

Part of global Audio Engine initiative, gathering many Audio algorithms under a consistent umbrella

Beyond open-source standard approach


Optimized for Cortex-M3 and Cortex-M4
STM32F2 MIPS
21

Firmware brick
MP3 decoder

STM32F4 MIPS
10

Flash in bytes Code


15508

Const
7108

RAM in bytes
12344

Back

Application field Industrial


Industrial market needs are very fragmented in terms of communication protocols. Many different protocols are available for different target applications in lighting, automation, metering and others. Benefit from STs extensive partner network
With STs extensive partner network, our customers can easily find their required industrial protocol solution

46

Stack
EtherCAT, Profinet, Ethernet/IP, Powerlink Profibus PA CANopen J1939 DeviceNet Modbus OPC-UA server IO-Link

Meaning
Industrial Ethernet protocols for factory automation. Ethernet field buses are the latest trend in this application domain. Standard for field bus communication in automation technology (PA process automation). Originally designed for EIA-485 but also available for fiber optics. Profibus is an open standard. Based on CAN physical layer. Industrial Ethernet protocols very often support the CANopen device profiles.

Standard used for communication and diagnostics with vehicle components (e.g. agricultural machines).
Based on CAN physical layer. The common industrial protocol (CIP) is an industrial protocol for industrial automation applications. CIP is used in Ethernet/IP and DeviceNet. Originally designed for EIA-485. Modbus TCP is its Ethernet variant. OPC defines communication of real-time process data over Ethernet between industrial equipment from different manufacturers (process instrumentation). All SCADA/HMI products support OPC-UA. IO-Link is used for the lowest field level communication. It offers an additional and integrated digital data channel down to the smallest sensor and actuator in factory automation.

STM32 Industrial solutions (1/3)


Provider
Andrea Informatique Embedded Labs Embedded Solutions eCosCentric

47

Solution name
DLMS / COSEM OPC-UA server Modbus RTU/ASCII eCosPro-CAN

Application
Metering Factory and building automation Factory automation Factory Automation

Model
Binaries Binaries Binaries Sources

Cost
License License + royalties License + royalties License

Availability F1
Y N Y Y Y Y Y Y Y Y N1 N

F2
Y Y Y Y Y N Y Y Y Y Y N2

F4
Y Y Y Y Y N Y Y Y Y Y N2

L1
Y N N N N N N N N N N N

eCosCentric
Embex IXXAT IXXAT IXXAT IXXAT IXXAT IXXAT

CANopen
IO-Link CANopen DeviceNet J1939 ModbusTCP Ethernet/IP3 PROFINET3

Factory Automation
Factory automation Automation, medical Factory Automation Commercial vehicles Factory automation Factory automation Factory automation

Sources
Binaries Source Source Source Source Source Source

License
License + royalties License License License License License License

1/ Please contact supplier. 2/ Possible with external memory usage 3/ Also possible with external HW to support real-time features

STM32 Industrial solutions (2/3)


Provider
IXXAT IXXAT IXXAT IXXAT IXXAT MESCO MESCO MESCO MESCO MicroControl MicroControl MicroControl Micrium Port

48

Solution name
POWERLINK1 EtherCAT3 Sercos III3 IEEE1588 PTP openSAFETY IO-Link Profibus PA HART Master/Slave Modbus DeviceNet EtherCAT CANopen C/Modbus CANopen

Application
Factory automation Factory automation Factory automation Factory automation Factory automation Factory automation Factory automation Process automation Factory automation Factory automation Factory automation Factory automation Factory automation Factory automation

Model
Source Source Source Source Open source Binaries Binaries Source Source Binaries Binaries Binaries Source Source

Cost
License License License License Free License + royalties License + royalties License + royalties License + royalties License + royalties License + royalties License + royalties License License

Availability
F1
Y Y Y Y Y Y Y Y Y Y N Y Y Y

F2
Y Y Y Y Y N N Y N Y Y Y Y Y

F4
Y Y Y Y Y N N Y N Y Y Y Y Y

L1
N Y Y N N N Y N N N N N N N

1/ Also possible with external HW to support real-time features 2/ Please contact supplier 3/ Requires external HW

STM32 Industrial solutions (3/3)


Provider
Port Port Port Port Port Port Port PTPd ST ST TMG TMG TMG TMG

49

Solution name
Modbus RTU/ASCII DeviceNet EtherCAT3 PROFINET EtherNet/IP3 ModbusTCP3 POWERLINK3 PTPd DALI DMX4 IO-Link Profibus DP and PA Profinet Ethernet/IP

Application
Factory automation Factory automation Factory automation Factory automation Factory automation Factory automation Factory automation Factory automation Lightning Lighting/home & building automation Factory automation Factory automation Factory automation Factory automation

Model
Source Source Source Source Source Source Source Open source (BSD)1 Source Source4 Source Source Source Source

Cost
License License License License License License License Free Free Free License License License + royalties License + royalties

Availability F1
Y Y Y N Y Y Y Y

F2
Y Y Y Y Y Y Y N2

F4
Y Y Y Y Y Y Y N2

L1
N N N N N N N N
Q3/13

Q3/13 Q3/13 Q3/13

Y Y Y N N

N2 Y Y Y Y

N2 Y Y Y Y

N2 Y Y N N

1/ PTPd ported on STM32 by ST 2/ Please contact supplier. 3/ with external MAC or with ESC1100/1200 (EtherCAT) 4/ Code is provided on request. Contact your local ST sales office.

STM8 Industrial solutions


Provider
Embex MESCO ST TMG TAPKO

50

Solution name
IO-Link IO-Link DALI IO-Link KNX

Application
Factory automation Factory automation Lighting Factory automation Building automation

Model
Binaries Binaries Source Source Binaries

Cost S
License + royalties License Free License License + royalties Y Y

Availability A
N1 N1

L
Y Y

T
N N

Y
Y N

N2
Y N

Q3/13
Y Y

N2
Y N

1/ Please contact supplier 2/ Can be easily ported

Back

Application field Motor control


Control your 3-phase motor with top performance
Use of FOC algorithm allowing high energy efficiency and reduced noise emission Outstanding dynamic performance and speed range

51

Easy for designers


Full firmware customization through PC tool: ST motor control workbench

Often seen acronyms


BLDC Brushless DC: permanent magnet motor with trapezoidal shaped B-EMF, FOC applicable

PMSM
ACIM FOC

Permanent magnet synchronous motor: with sinusoidal shaped B-EMF, FOC applicable
AC induction motor: type of motor, FOC applicable Field-oriented control: Mathematical technique used to achieve decoupled control of the flux and torque in a 3-phase motor.

STM32 Motor control


Provider
ST

52

Solution name
Bipolar stepper motors driving
STM32 FOC PMSM SDK
Software development kit including: Motor control library (sensors, algorithms), Single or Dual control Motor control application (implementation of library, high-level MC commands) Demo projects and utilities

Model
Sources
Several models
Binaries2
Source (without FOC control loop)3 Source (with FOC control loop)4

Cost
Free

Availability F0
N1

F1
Y

F2
N1

F3
N1

F4
N1

L1
N1

ST

Free

Q3/13

ST
ST

ST motor control workbench


STM32 ACIM SDK
Software development kit focusing on ACIM motors with indirect FOC method.

Binaries
Source4

Free
Free

Y
N

Y
Y

Y
N

Q3/13
N

Y
N

N
N

1/ Can be ported 2/ Motor Control Library is provided in binary form 2/ Available on demand by contacting nearest ST sales office 3/ Available under NDA on demand by contacting nearest ST sales office

STM8 Motor control


Provider Solution name Model Cost Availability S A L T

53

ST

STM8S and STM8A BLDC and ACIM motor control firmware library Scalar control of induction motor control Scalar control (six-step) of permanent magnet brush-less motors (BLDC and PMSM) STM8S motor control firmware library builder GUI

Source

Free

ST

Binaries

Free

Back

Application field Automotive


More than hardware
In addition to microcontrollers dedicated to automotive equipment, ST proposes a set of firmware solutions

54

Often seen acronyms


J1939
J2602

Vehicle standard used for communication and diagnostics with vehicle components (e.g. agricultural machines).
USA variant of LIN Local interconnect network: The LIN bus is a small and slow network system that is used as a cheap sub-network of a CAN bus to integrate intelligent sensor devices or actuators in todays cars. The LIN specification is enforced by the LIN-consortium, with the first exploited version being 1.1, released in 1999. Since then, the specification has evolved to version 2.1 to meet current networking needs. Bit rates vary within the range of 1 to 20 Kbit/s. Controller-area network (CAN or CAN-bus): This is a standard vehicle bus designed to allow microcontrollers and devices to communicate with each other within a vehicle without a host computer. Possible bit rates from 125 Kbit/s up to 1 Mbit/s.

LIN

CAN

STM32 Automotive solutions


Warning: STM32 device is not qualified for automotive, but there are however some existing software solutions.

55

Provider
ArcCore Vector Vector

Solution name
ArcticCore Autosar stack CANbedded CANbedded J1939

Model
Open Source or source Source Source

Cost
Free or License License License

Availability F1
Y Y Y

F2
N1 N1 N1

F4
N1 N1 N1

L1
N1 N1 N1

1/ Please contact supplier

STM8 Automotive solutions


Provider
ST ST Vector Vector Vector

56

Solution name
J2602 Driver LIN 2.1 Driver

Model
Source Source Source Source Source

Cost
Free1 Free1 License License License

Availability S
N2 N2 N2 N2 N2

A
Y Y Y Y Y

L
N Y N N N

T
N N N N N

CANbedded
CANbedded LIN CANbedded J1939

1/ Available on demand. Ask your local ST Sales office. 2/ Please contact supplier

Back

Development and execution environments


Some new environments modify traditional firmware development. These environments are based on high-level object-oriented languages, coming with their own specific development environments.

57

Java

Easier migration
ST and its partners support customers as they migrate to these new environments
Environment
Java .NET

Meaning
Java object-oriented language and Eclipse development environment. C# object-oriented language and Microsoft Visual Studio development environment. This is Microsoft .NET Micro Framework for microcontrollers.

STM32 Development and execution environments


Provider
ST (with IS2T) Mountaineer

58

Solution name
STM32Java Microsoft .NET Micro Framework

Model
License Open source (Apache 2.0)

Cost
License on tool. No royalty on parts Free

Availability F1
Y1 Y

F2
Y Y

F4
Y Y

1/ Upon request to IS2T.

Back

Thank you

59

www.st.com

You might also like