Software Speeds Safety Certification for STM32-Based Systems

STMicroelectronics has announced new free software for its STM32 microcontrollers. The functional-safety design package cuts complexity and IEC 61508 safety-certification costs for STM32-based safety critical applications. This resource is created for designers of STM32-based devices in the field of industrial controls, robots, sensors, medical, or transportation, which must be certified up to Safety Integrity Level (SIL) 2 or 3 of the recognized safety standard IEC 61508. ST’s STM32 SIL Functional-Safety Design Package simplifies system development and certification.

The SIL Functional-Safety Design Package comprises documentation and the X-CUBE-STL, a software Self-Test Library certified to IEC 61508 SIL3. The package is initially available for the STM32F0 series. ST will continue to introduce equivalent packages for all other series in the STM32 family throughout 2018 and 2019. There are currently more than 800 STM32 microcontroller variants.

ST’s STM32 SIL Functional Safety Design Package contains full documentation to support development of STM32-based embedded systems to meet IEC 61508 requirements for functional safety. The documentation comprises safety manuals that detail all applicable safety requirements, or conditions of use, with implementation guidelines to help developers certify their products to SIL 2 or SIL 3 in accordance with IEC 61508. Also included are the mandatory Failure-Modes Effects Analysis (FMEA), containing the detailed list of microcontroller failure modes and related mitigation measures, and Failure-Mode Effects and Diagnostics Analysis (FMEDA), which gives a static snapshot reporting IEC 61508 failure rates, computed at both the microcontroller and basic functions detail levels.

The software self-test library, X-CUBE-STL, is a software-based diagnostic suite for detecting random hardware failures in STM32 safety-critical core components comprising the CPU, SRAM, and Flash memory. The Diagnostic Coverage is verified by state-of-the-art ST proprietary fault injection methodology. Integrated with the familiar and proven STM32Cube workflow, it is application-independent thereby allowing use with any user application, and is delivered as compiler-agnostic object code.

TÜV Rheinland, a leading international certification institute for functional safety certification to relevant international standards, has positively assessed X-CUBE-STL-F0 according to the functional safety standard IEC 61508:2010. Detailed information of the certificate will be soon available on www.fs-products.com. Swiss-based sensor manufacturer Contrinex is the first to use ST’s Functional-Safety Design Package to certify safety products based on STM32F0 microcontrollers.

The Functional-Safety Design Package for STM32F0 microcontrollers is available from www.st.com, free of charge, subject to Non-Disclosure Agreement (NDA) with ST. Equivalent packages for other STM32 series will be introduced throughout 2018 and 2019.

 

STMicroelectronics | www.st.com

X-Ware IoT Platform Integrates STM32 Firmware Update

Express Logic has announced that it has integrated the STMicroelectronics’ Secure Boot and Secure Firmware Update v.2.0 services with its X-Ware IoT Platform for its developers using the STMicroelectronics’ STM32-family of ARM Cortex-M microcontrollers.
The X-CUBE-SBSFU Secure Boot and Secure Firmware Update solution enables the update of the STM32 MCU built-in program with new firmware versions based on the X-Ware IoT Platform. The update process is performed in a secure way to prevent unauthorized updates and access to confidential on-device data. In addition, Secure Boot (Root of Trust services) checks and activates STM32 mechanisms, and checks the authenticity and integrity of X-Ware IoT Platform before every execution to ensure that invalid or malicious code cannot be run.

Because X-CUBE-SBSFU is built on top of STM32Cube software technology, the X-Ware IoT Platform integration will be portable across the entire range of STM32 microcontrollers, beginning with the STM32L4 and STM32L4+ series devices.

Express Logic  considers itself a safety leader in the embedded IoT space with its industrial-grade approach, including pre-certification to SIL 4 and ASIL D safety standards. The new secure boot and secure firmware update services from STMicroelectronics enhance security for Express Logic’s X-Ware IoT Platform for the STM32 microcontroller.

Express Logic | www.rtos.com

STMicroelectronics | www.st.com

STM32 Software Brings Alexa Tech to Simple Connected Objects

The X-CUBE-AVS software package from STMicroelectronics enables Amazon’s Alexa Voice Service (AVS) to run on STM32 microcontrollers, allowing simple connected objects such as smart appliances, home-automation devices, and office products to support advanced conversational user interfaces with Cloud-based intelligence like automatic speech recognition and natural-language understanding.

As an expansion package for the STM32Cube software platform, X-CUBE-AVS contains ready-to-use libraries and open routines that accelerate porting the AVS SDK (Software Development Kit) to the microcontroller. With application samples also included, it abstracts developers from the complex software layers needed to host AVS on an embedded device. Being the first such package to cater specifically for microcontrollers, whereas AVS development usually targets more power-hungry and expensive microprocessors, X-CUBE-AVS makes Alexa technology accessible to a wider spectrum of developers and projects.
The software handles low-layer communication and connection to AVS servers, provides application-specific services, and encapsulates the AVS protocol to ease application implementation. Connection management includes a persistent-token mechanism for directly restoring connection losses without repeated user authentication. A software test harness is provided for endurance testing, which can simulate events such as network disconnection to facilitate robustness testing and validation of the user application.

X-CUBE-AVS comes with a demonstration example for the STM32F769 Discovery Kit (order code: 32F769IDISCOVERY), which shows how to connect a simple smart-speaker to AVS, leveraging the board-configuration interface included in the software. X-CUBE-AVS can be used with other STM32F7 microcontrollers, or any STM32 device with adequate CPU performance and memory to run the AVS SDK.

X-CUBE-AVS is available now to download, free of charge, from http://www.st.com/x-cube-avs

STMicroelectronics | www.st.com

Software Tool Aids STM32 MCU Programming

STMicroelectronics offers a new software tool, STM32CubeProgrammer, the provides device-programming and firmware upgrades for STM32 microcontrollers in a unified, multi-platform and user-configurable environment. Ready to run on Windows, Linux,or MacOS operating systems, the STM32CubeProgrammer can program the STM32 microcontroller’s on-chip Flash/RAM or external memories using various file formats. Further capabilities include whole-memory or sector erase and programming microcontroller option bytes. Users can also generate encrypted files for secure programming (Secure Firmware Install/Update) to authenticate production and protect intellectual property.

With this tool, users can program STM32 microcontrollers through the device’s SWD (Single-Wire Debug) or JTAG debugging ports, or the bootloader ports (such as UART and USB). Hence the STM32CubeProgrammer brings the individual capabilities of the ST Visual Programmer, DFUse Device Firmware Update tool, Flash Loader, and ST-Link utility together within the STM32Cube ecosystem. ST will extend the STM32CubeProgrammer’s capabilities by adding programming access via microcontroller I2C and CAN ports.

The STM32CubeProgrammer provides many opportunities to customize and configure features, using either the GUI or the command-line interface (CLI). Also, this all-in-one tool can be used in standalone mode or integrated and controlled from a custom application. Programming can be done manually or automated using scripts.

STMicroelectronics | www.st.com

Scalable Multi-Protocol Industrial Ethernet Platform

STMicroelectronics recently announced a collaboration with Hilscher that combines the STM32 ecosystem with the multi-protocol flexibility of Hilscher’s netX control ICs. As a result, you can use the I-NUCLEO-NETX expansion board with any STM32 Nucleo-64 or STM32 Nucleo-144 development board.

The I-NUCLEO-NETX contains a netX 52 network controller IC with integrated Real-Time Ethernet switch. Plus, it includes two RJ-45 ports for line and ring topologies. netX 52 supports all Real-Time Ethernet protocol specifications and evolutions, including EtherCAT, PROFINET, EtherNet, Ethernet/IP, POWERLINK, CC-Link IE, Modbus TCP, and SERCOS III. Well suited for the Industrial Internet of Things (IIoT). it also can support Fieldbus standards like CANopen, emerging standards such as Time-Sensitive Networking (TSN), and OPC-UA and MQTT for cloud data exchanges.

Combining the strengths of netX with the STM32 family creates a “flexible, stable, and scalable platform for building products from simple I/O systems to complex, high-end drives and controls.” The I-NUCLEO-NETX expansion board is available on Amazon for $49. The I-CUBE-NETX expansion software—including evaluation versions of the EtherCAT, PROFINET, and EtherNet/IP protocols—is available for free at www.st.com/i-cube-netx.

Source: STMicroelectronics

Mouser Stocks STM32 LoRaWAN Discovery Board

Mouser Electronics currently offers the STMicroelectronics STM32 LoRaWAN Discovery Board. The new Discovery Kit and I-NUCLEO-LRWAN1 STM32 LoRa Arduino-compatible extension board (available to order from Mouser) offer you a development platform for learning and evaluating solutions based on LoRa and FSK/OOK radio frequency (RF) communication.Mouser_STSTM32LoRaWAN

The ST STM32 LoRaWAN Discovery Kit is based on an all-in-one Murata Type ABZ open module solution to address low-power wide area networks (LPWAN) and support the LoRaWAN long-range wireless protocol. An STM32L072 ARM Cortex-M0+ microcontroller—featuring 192 KB of flash memory, 20 KB of RAM, and 6 KB of EEPROM—powers the Type ABZ mdoule. The STM32L0 ultra-low-power microcontroller offers low-power design features, targeting battery-powered and energy-harvesting applications.

ST’s I-NUCLEO-LRWAN1 STM32 LoRa extension board includes a LoRaWAN module powered by an STM32L052 microcontroller, an SMA connector, a 50-Ω antenna, and headers compatible with Arduino Uno R3 boards. The board features three ST environmental sensors: an LSM303AGR accelerometer and magnetometer, an HTS221 relative humidity and temperature sensor, and an LPS22HB pressure sensor.

Both the Discovery board and NUCLEO board come with LoRaWAN class A-certified I-CUBE-LRWAN embedded software that enables designers to set up a complete LoRaWAN node.

Source: Mouser Electronics

STMicroelectronics Certifies Cryptographic Library for STM32 MCUs

STMicroelectronics has successfully certified its cryptographic library for STM32 microcontrollers as per the US Cryptographic Algorithm Validation Program (CAVP). An extension to the STM32Cube software package, the X-CUBE-CRYPTOLIB library is well suited for secure STM32-based applications, such as IoT devices, point-of-sale terminals, and smart meters.

The STM32 cryptographic library includes all the major security algorithms for encryption, hashing, message authentication, and digital signing. This enables you to meet application requirements for any combination of data integrity, confidentiality, identification/authentication, and non-repudiation. The library includes firmware and hardware-acceleration functions for some STM32 families.

There are examples for each algorithm and template projects for popular development tools such as Keil MDK-ARM, IAR Embedded Workbench EWARM, and GCC-based IDEs (e.g., Ac6 SW4STM32 and Atollic TrueSTUDIO).

The approved algorithms are AES (validation number 3971), RSA (2036), ECDSA (874), SHS (3275), DRBG (1165) and HMAC (2589). Full details are available online at the NIST CSRC Algorithm Validation Lists webpage. X-CUBE-CRYPTOLIB contains many further algorithms, including DES, TripleDES, MD5, ECC with key generation, ChaCha20, Poly1305, Curve25519 and others.

The X-CUBE-CRYPTOLIB for STM32 is available free of charge under the terms of STMicro’s Software License Agreement (SLA0048).

Source: STMicroelectronics

STMicroclectronics Offers Free Dev Tools to Linux Users

STMicroelectronics now offers free high-productivity tools to Linux users interested in working with STM32 microcontrollers. The STM32CubeMX configurator and initialization tool and the System Workbench for STM32—which is an IDE created by Ac6 Tools and supported by the openSTM32.org community—are now both available to run on Linux OS. Thus, Linux users can work on embedded projects with STM32 devices without leaving their favorite desktop environment.

System Workbench for STM32 supports the ST-LINK/V2 debugging tool under Linux through an adapted version of the OpenOCD community project. You can use the tools STMicro hardware such as STM32 Nucleo boards, Discovery kits, and Evaluation boards, as well as microcontroller firmware within the STM32Cube embedded-software packages or Standard Peripheral Library.

Source: STMicroelectronics

STM32 Family Enabled for the ARM mbed IoT Device Platform

STMicroelectronics has announced that the STM32 family of ARM Cortex-M based microcontrollers is now enabled for the ARM mbed IoT Device Platform with the latest public version of the ARM mbed OS. The mbed platform adds a standard OS, cloud services, and development tools for creating new IoT applications.

By adding mbed to its handy design ecosystem, STMicro is encouraging more productivity and collaboration in IoT development. Using the mbed OS with STM32 development hardware enables you to innovate while reducing your product’s time to market. You can easily incorporate STM32 microcontrollers with STMicro’s sensor and power-management products to deploy “smart,” secure IoT designs.

Source: STMicroelectronics

New STM32 Micrcontrollers in Small Memory Sizes

STMicroelectronics’s new STM32F446 microcontrollers feature ARM Cortex-M4 based processing combined with 256- or 512-KB on-chip flash memory options. In addition to using STMicro’s ART Accelerator, the microcontrollers feature smart architecture, advanced flash technology, and an embedded ARM Cortex-M4 core to achieve a performance of 225 DMIPS and 608 CoreMark at 180 MHz executing from embedded flash.

Source: STMicroelectronics

Source: STMicroelectronics

Key features include:

  • At 180 MHz, the STM32F446 delivers 225 DMIPS/608 CoreMark performance executing from flash memory with 0-wait states. The DSP instructions and the floating-point unit expand the range of addressable applications.
  • Using a 90-nm process, the current consumption in Run mode and executing from flash memory is as low as 200 µA/MHz at 180 MHz. In Stop mode, the power consumption is 50 µA typical.
  • Two dedicated audio PLL, SPDIF input, three half-duplex I²S, and two serial audio interfaces (SAI) supporting full-duplex I²S as well as time division multiplex (TDM) mode.
  • Up to 20 communication interfaces (including 4x USARTs plus 2x UARTs running at up to 11.25 Mbps, 4x SPI running at up to 45 Mbps, 3x I²C with a new optional digital filter capability, 2x CAN, SDIO, HDMI CEC and camera interface)
  • Two 12-bit DACs, three 12-bit ADCs reaching 2.4 MSPS or 7.2 MSPS in interleaved mode up to 17 timers: 16- and 32-bit running at up to 180 MHz
  • Easily extendable memory range using the flexible 90-MHz memory controller with a 32-bit parallel interface, and supporting Compact Flash, SRAM, PSRAM, NOR, NAND and SDRAM memories
  • Cost-effective NOR flash extension with the 90-MHz Dual quadSPI interface supporting memory-mapped mode
  • STM32F446 samples are now available for lead customers. Volume production is scheduled for Q1 2015 in packages from a tiny WLCSP81 measuring 3.728 × 3.85 mm to a 20 × 20 mm LQFP144 with 256- or 512-KB flash memory, all with 128-KB SRAM. Pricing starts at $3.75 for the STM32F446RC in a 64-pin LQFP64 package with 256-KB flash memory and 128-KB SRAM for orders of 10,000 units.

Source: STMicroelectronics