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.


Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised.

ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'
FDuis
Associate

Thank you.

Greetings