cancel
Showing results for 
Search instead for 
Did you mean: 

Device: VL53L1 Subject: VL53L1X_ULD API Question 1: How can I activate the 2V8-interface mode in the compact driver? Question 2: Should register 0x28 and register 0x29 both be written to ensure 2V8-mode?

FDuis
Associate

Explanatory note: 

The "fat driver" has built in code to detect a "USE_I2C_2V8" flag.

If detected, the software writes to register 0x2E.

Though the register names for 0x2E and 0x2F suggest that both should be changed to get the interface mode wanted (high voltage for both I2C and GPIO) , the "fat driver" seems to change register 0x2E only (and not to 0x2F: cf. question 2).

I could not find any detection code In the "ULD driver" and not any code writing to register 0x2E or 0x2F (cf. question 1) .

2 REPLIES 2
John E KVAM
ST Employee

After creation of the 'Fat' driver we came to the conclusion that the sensor worked even if you did not correctly set the I2C flag.

so we simply left it out of the 'lite' driver.

Doesn't seem to make things worse or better.


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. It helps the next guy.
FDuis
Associate

Thank you.

Greetings