Design Automation


ToF sensor software expansion for STM32Cube

23 June 2021 Design Automation

The x-cube-TOF1 expansion software package for STM32Cube runs on STM32 microcontrollers and includes drivers that recognise time-of-flight (ToF) sensors and perform simple ranging on single or multiple devices.

The expansion is built on STM32Cube software technology to ease portability across different STM32 microcontrollers. It comes with a sample implementation of the drivers running on the X-NUCLEO-53L3A2 expansion boards connected to a featured STM32 Nucleo development board. The software provides sample applications such as simple ranging for expansion boards and breakout boards, multi-sensor ranging, and calibration.

This software is based on the STM32CubeHAL hardware abstraction layer for the STM32 microcontroller. The package extends STM32Cube by providing a board support package (BSP) for the sensor expansion board. The drivers abstract the hardware low-level details and allow applications to access sensor data in a hardware-independent manner. Sensor data can be logged to a file selected by the user.

The package is compatible with and can be downloaded from and installed directly into, STM32CubeMX.


Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Cost-effective microcontroller series
Altron Arrow DSP, Micros & Memory
The STM32C5 series from STMicroelectronics delivers an excellent balance of performance, efficiency, and affordability for embedded designs that require more capability without increasing bill of materials cost.

Read more...
Understanding two key tools for cleaner serial data
Altron Arrow Editor's Choice Analogue, Mixed Signal, LSI
Understanding how pre-emphasis and equalisation works, and when to use one over the other, is critical when designing reliable high-speed systems.

Read more...
Connected without limits: An engineering perspective on Altron Arrow’s wireless ecosystem
Altron Arrow Editor's Choice Design Automation
Wireless connectivity is no longer a supporting technology, but rather, a core design consideration that underpins modern electronic systems across industries.

Read more...
Next-gen robotic systems initiative
EBV Electrolink Design Automation
EBV Elektronik recently introduced MOVE – Driving Robotics Forward, a new initiative designed by EBV Elektronik‘s Embedded Solutions team to support the development of next-generation robotic systems.

Read more...
Analogue reservoir AI chip capable of real-time learning
Altron Arrow AI & ML
TDK Corporation has jointly developed a prototype of a reservoir AI chip using an analogue electronic circuit that mimics the cerebellum with Hokkaido University.

Read more...
Ultra-low jitter clocks
Altron Arrow Telecoms, Datacoms, Wireless, IoT
Skyworks has introduced a new family of ultra-low jitter programmable clocks designed to meet the increasing demands of next-gen connectivity.

Read more...
Efficient Bluetooth SoC
Altron Arrow Telecoms, Datacoms, Wireless, IoT
The EFR32BG29 wireless SoC from Silicon Labs is a highly efficient, high memory, low-power, and ultra compact SoC designed for secure and high-performance wireless networking for IoT devices.

Read more...
RTOS – The future of embedded systems
Altron Arrow Edge Computing & IIoT
At the heart of the next generation of embedded devices is efficient yet powerful system-level code, often based on an open-source real-time operating system.

Read more...
Reference design for NB-IoT plus GNSS
Altron Arrow Design Automation
ST Microelectronics’ STDES-ST87M01IGN is a reference design for the ST87M01 NB-IoT + GNSS module, implemented on a 2-layer FR4 PCB (90 x 60 x 1,6 mm).

Read more...
Gen5 Pro enhances power conversion
Altron Arrow Power Electronics / Power Management
The Infineon Technologies CoolSET ICE501XD and ICE502XD PWM Fixed Frequency Gen5 Pro controllers are advanced solutions for auxiliary power supplies in demanding high-voltage applications.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved