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:

Generating negative voltages from a positive supply
Altron Arrow Editor's Choice Passive Components
It is common for IoT devices, industrial sensors, meters, and medical equipment to require both a positive and negative voltage, and this article explains the options available to produce a negative rail from a positive rail supply.

Read more...
Addressing latency and signal integrity challenges
Altron Arrow DSP, Micros & Memory
Strengthening Microchip Technology’s data centre solutions portfolio, its XpressConnect retimers support high-bandwidth architectures, while helping reduce integration complexity.

Read more...
Precision timing in compact package
Altron Arrow Telecoms, Datacoms, Wireless, IoT
Designed for use in harsh environments, the EX-423 incorporates a four-point mounted quartz crystal structure that improves shock resistance and reduces g-sensitivity.

Read more...
Advanced STM32 debugging in VS Code
Design Automation
Once an STM32 project is running in VS Code, the IAR C-SPY Debug extension adds a professional-grade analysis layer that scales with project complexity.

Read more...
Accelerate development of AI-enabled embedded systems
Design Automation
ADI’s CodeFusion Studio (CFS) is a modern embedded software development platform aimed at accelerating the creation of AI-enabled embedded systems.

Read more...
EMC limits and levels
Altron Arrow Editor's Choice Circuit & System Protection
As soon as electronics and electrical systems started interfering with each other, the world had to come to some consensus. Considering physics is universal and does not care about what country electrical/electronic products are used in, it should be the same everywhere, right? It is nearly there, but not quite.

Read more...
Introducing STM32CubeMX2
Altron Arrow Design Automation
STMicroelectronics has launched STM32CubeMX2, a new evolution of its popular configuration and code generation tool for STM32 microcontrollers.

Read more...
Next-gen SPE
Altron Arrow Telecoms, Datacoms, Wireless, IoT
Next-generation 100/1000BASE-T1 Single Pair Ethernet PHYs integrate MACsec security, time sensitive networking, and functional safety.

Read more...
Industrial vibration sensing simplified
Altron Arrow Analogue, Mixed Signal, LSI
The IIS3DWBG1 from STMicroelectronics is a high performance, three-axis digital vibration sensor engineered for demanding industrial applications where accurate motion monitoring is essential.

Read more...
AI assistant for STM32 developers
Design Automation
The STMicroelectronics STM32 Sidekick is an AI-driven assistant fully integrated into the STM32 ecosystem designed to streamline embedded development using STM32 microcontrollers.

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