background image

2

Programming guidelines

The software project to make the sensor board work directly with the NUCLEO-F401RE is available on 

ST

website

.

The user must download the package X-CUBE-TOF1, then install the X-CUBE-TOF1 SW pack in CubeMX.
The precompiled SW project is available under:
C:\Users\username\STM32Cube\Repository\Packs\STMicroelectronics\X-CUBE-TOF1\2.0.0\Projects\NUCLEO-
F401RE\Examples\CUSTOM\VL53L5CX_SimpleRanging.
A VL53L5CX-SATEL board project for NUCLEO-F4101RE is available in the directory tree as shown in the
following figure. The difference between ST common Expansion board X-NUCLEO-53L5A1 and this board is the
classification name. This project is part of the “CUSTOM” directory.

Figure 3. 

X-CUBE-TOF1 directory

The project is developed for IAR, Keil and STM32CubeIDE toolkits. The user can select any software
development kit and make it run.
Another method is to push directly the embedded software binary file. For such task, user can simply drag and
drop the binary file "VL..." located in the Binary directory, into the STM32 target represented by "NODE_F401RE"
in the PC file tree.
By default, the software programs the sensor in 4x4 mode. The result can be rendered using a serial tool (such as
Teraterm) to access the Nucleo COM port, as shown in 

Figure 4. Display rendering by default 4x4 mode

.

AN5717

Programming guidelines

AN5717

 - 

Rev 2

page 5/9

Содержание AN5717

Страница 1: ...easier to integrate the VL53L5CX SATEL breakout boards into development and evaluation devices due to their small size The VL53L5CX SATEL is designed to connect remotely the VL53L5CX sensor to any typ...

Страница 2: ...e schematic to connect directly a VL53L5CX SATEL board to a NUCLEO F401RE board without the X NUCLEO 53L5A1 expansion board Figure 1 VL53L5CX SATEL flying lead connection to NUCLEO F401RE The pin list...

Страница 3: ...14 9 SDA AREF 8 GND 7 GND CN6 Power 1 NC PA5 D13 6 2 IOREF PA6 D12 5 3 RESET NRST PA7 D11 4 IOVDD 4 3V3 PB6 D10 3 AVDD 5 5V PC7 D9 2 6 GND PA9 D8 1 7 GND 8 VIN PA8 D7 8 CN9 Digital PB10 D6 7 CN8 Analo...

Страница 4: ...on the PCB to connect to the NUCLEO F401RE Refer to Figure 2 VL53L5CX mini PCB flying lead connection to NUCLEO F401RE Note Two additional pull up resistors to I2C lines are required The resistors val...

Страница 5: ...pansion board X NUCLEO 53L5A1 and this board is the classification name This project is part of the CUSTOM directory Figure 3 X CUBE TOF1 directory The project is developed for IAR Keil and STM32CubeI...

Страница 6: ...al communication by UART By default some options can be triggered like the resolution for example by typing r It is switched to 8x8 mode as shown in Figure 5 Display rendering for 8x8 mode Figure 5 Di...

Страница 7: ...ory Date Version Changes 14 Oct 2021 1 Initial release 09 Dec 2021 2 Added information regarding breakout board in Section Introduction Added Section 1 2 Connecting the breakout VL53L5CX SATEL to a NU...

Страница 8: ...delines 2 1 1 Connecting the VL53L5CX SATEL to a NUCLEO F401RE board 2 1 2 Connecting the breakout VL53L5CX SATEL to a NUCLEO F401RE board 4 2 Programming guidelines 5 Revision history 7 Contents 8 AN...

Страница 9: ...cts and ST assumes no liability for application assistance or the design of Purchasers products No license express or implied to any intellectual property right is granted by ST herein Resale of ST pr...

Отзывы: