Skip to main content
FDuis
Associate
April 3, 2019
Question

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?

  • April 3, 2019
  • 2 replies
  • 1113 views

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) .

This topic has been closed for replies.

2 replies

John E KVAM
ST Employee
April 8, 2019

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.

FDuis
FDuisAuthor
Associate
April 8, 2019

Thank you.

Greetings