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.

For more information contact Renaldo Fibiger, Altron Arrow, +27 11 923 9600, rfibiger@arrow.altech.co.za, www.altronarrow.com


Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

NFC/RFID demonstration kit
Altron Arrow Telecoms, Datacoms, Wireless, IoT
The boards are powered through their USB connectors and are supported by downloadable schematics, BOM, Gerber files, drivers and firmware sources.

Read more...
Absolute pressure sensor
Altron Arrow Analogue, Mixed Signal, LSI
The sensing element, which detects absolute pressure, consists of a suspended membrane manufactured using a special process developed by STMicroelectronics.

Read more...
2- and 4-output fanout clock buffers
Altron Arrow Analogue, Mixed Signal, LSI
Both devices support 2,5/3,3 V power supplies with separate input and output supply voltages for level shifting.

Read more...
Evaluation board for MEMS devices
Altron Arrow Test & Measurement
The STEVAL-MKI220V1 is an adaptor board designed to facilitate the evaluation of MEMS devices in the LPS27HHTW product family.

Read more...
Arrow Electronics unveils new CEO
Altron Arrow News
Sean Kerins has been picked to succeed Michael Long as president and chief executive officer effective 1 June 2022.

Read more...
Vienna rectifier reference design for PFC
Altron Arrow Power Electronics / Power Management
The STDES-VRECTFD reference design is a complete solution for high-power, three-phase AC/DC rectifier applications based on the Vienna topology. It features full digital control through STMicroelectronics’ ...

Read more...
Qi 1.3 wireless charging with authentication
Altron Arrow Power Electronics / Power Management
In order to ensure high-quality wireless charging power transmitters, the Wireless Power Consortium (WPC) has released the Qi 1.3 specification with the extended power profile. This new specification ...

Read more...
UPS keeps IoT networks running during power-grid disturbances
Altron Arrow Power Electronics / Power Management
Growing cities bring more technology to one place, especially in developing countries and in many cases the expansion of electricity grids simply cannot keep up with the demand. The power plants that ...

Read more...
AMOLED power management IC
Altron Arrow Power Electronics / Power Management
STMicroelectronics’ new fully integrated power management IC (PMIC) for AMOLED displays combines a low quiescent current and enhanced flexibility to extend the battery runtime of portable devices. With ...

Read more...
Video demonstrates features of Digi Remote Manager
Altron Arrow Multimedia, Videos
When you need to manage a deployed network of disparate serial devices, there are traditional, time-tested ways to do so. However, they tend to be cumbersome and time-consuming – a problem Digi International ...

Read more...