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