cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L8CX LPn pin ignored

1MHz
Visitor

I have 5 VL53L8CX on the same I2C bus.

I need to set the LPn pin HIGH of the sensor I want to change address.

But the problem is that I can also change the address when LPn pin is low as well.

Also I also don't know how to scan I2C addresses in only one sensor when all other also reply as well even though only one sensor has LPn pin set to HIGH.

Can I not disable I2C with the LPn pin or am I missing something?

LPn pin datasheet:

Enables communication. Drive this pin to logic 0
to disable the I²C communication. Drive this pin
to logic 1 to enable the I²C communication. This
pin is typically used when you need to change
the I²C address in multidevice systems.

 

2 REPLIES 2
Peter BENSCH
ST Employee

Welcome @1MHz, to the community!

You will find an answer to your question including a step-by-step procedure in UM3109, section 2.3 (under fig. 5).

Hope that helps?

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

That procedure is valid after hard reset. But after each sensor is configured with new I2C address and downloaded with firmware the LPn pin can not disable I2C communication anymore.