
2.3 Schematics and I2C/SPI configuration
The communication between driver and firmware is handled by the I2C for both sensors, with a maximum speed
of 1 MHz. In addition, the VL53L8CH also has the possibility to communicate with SPI. In this case, the maximum
SPI speed is 3 MHz. The implementation of each communication protocol requires pull-ups as described in the
product datasheets.
The devices have a default I2C address of 0x52. However, it is possible to change the default address to avoid
conflicts with other devices, or to facilitate adding multiple modules to the system for a greater system FoV. The
I2C address can be changed using the vl53lmz_set_i2c_address() function. To use the SPI, the multisensor is
wired using an independent slave configuration (the NCS pin).
In order to change the device I2C address without affecting others on the I2C bus, it is important to disable the
I2C communication of the devices not being changed. The procedure is as follows:
1. Power up the system as normal.
2. Pull down the LPn pin of the device that will not have its address changed.
3. Pull up the LPn pin of the device that has the I2C address changed.
4. Program the I2C address to the device using function vl53lmz_set_i2c_address() function.
5. Pull up the LPn pin of the device not being reprogrammed.
All devices should now be available on the I2C bus. Repeat the above steps for all the devices in the system that
require a new I2C address.
Figure 4. Multiple sensors on I2C bus
UM3183
Schematics and I2C/SPI configuration
UM3183 - Rev 1 page 4/24