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:

Development board supports Arduino and ST Morpho
Altron Arrow DSP, Micros & Memory
The Arduino UNO V3 connectivity support and the ST Morpho headers allow the easy expansion of the functionality of the STM32 Nucleo open development platform with a wide choice of specialised shields.

Read more...
140 W USB-C PD reference design
Altron Arrow Electronics Technology
The design has a wide input range of 90 to 264 V AC, 50-60 Hz, and supports an output voltage range of 5 to 28 V (USB-PD 3.1 specification).

Read more...
Altium provides free training
Design Automation
There is no longer any excuse not to master Altium Designer with the company now offering both advanced instructor-led three-day training and an on-demand video series.

Read more...
RF agile transceiver
Altron Arrow Telecoms, Datacoms, Wireless, IoT
The AD9361S-CSL from Analog Devices is a high performance, highly integrated, RF agile transceiver designed for use in 3G and 4G applications operating up to 6 GHz.

Read more...
Industrial on-line UPS improves lead time
Altron Arrow Power Electronics / Power Management
Emerson’s S4KD is an on-line (double conversion) UPS, providing a zero-transfer time from external to internal power during utility power failure, to deliver a seamless flow of power for critical loads.

Read more...
Designing a smart wireless industrial sensor
Altron Arrow Editor's Choice Telecoms, Datacoms, Wireless, IoT
This article provides an overview of wireless standards and assesses the suitability of Bluetooth LE, SmartMesh (6LoWPAN over IEEE 802.15.4e), and Thread/Zigbee (6LoWPAN over IEEE 802.15.4) for use in industrial harsh RF environments.

Read more...
Altron Arrow joins forces with Identiv
Altron Arrow News
The strategic collaboration with Altron Arrow expands Identiv’s reach in the southern African market.

Read more...
Bluetooth Channel Sounding provides sub-metre accuracy
Altron Arrow News
Bluetooth Channel Sounding is a new protocol stack designed to enable secure and precise distance measurement between two Bluetooth LE connected devices.

Read more...
100 V half-bridge GaN driver
Altron Arrow Power Electronics / Power Management
The LT8418 from Analog Devices is a 100 V half-bridge GaN driver that integrates top and bottom driver stages, driver logic control, and protections.

Read more...
Finer dead reckoning for GNSS module
Altron Arrow Telecoms, Datacoms, Wireless, IoT
Teseo-VIC3D module is an easy to use dead-reckoning GNSS standalone module, embedding TeseoIII single-die standalone positioning receiver IC working simultaneously on multiple constellations.

Read more...