cancel
Showing results for 
Search instead for 
Did you mean: 

we have implemented a custom library for VL53L0X to integrate into Cypress PSoC4 but having trouble expanding from it (in a simple way) to configure sigma to 60

Charlie1
Associate

on pg 22 per DocID029105 Rev 1 for Long Range

we are able to set

signal rate to 0.1mcps

default timing budget is 33ms so no change there

VCSEL pre range period to 18

VCSEL final range to 14

but cannot do the final recommended setting configuration of setting Sigma to 60

I know the attached isn't a validated library but it has worked for us and was hoping for assistance to expand from it for long range.

1 ACCEPTED SOLUTION

Accepted Solutions
John E KVAM
ST Employee

FINAL_RANGE_CONFIG__SIGMA_THRESH

Address = 0x076

[15:0] bits

final_range_config_sigma_thresh: Sigma Limit value for FINAL RANGE Limit applied as follows: If sigma measured > sigma_thresh throw sigma error and exit.

If sigma_thresh = 0 skip check for FINAL RANGE


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.

View solution in original post

2 REPLIES 2
John E KVAM
ST Employee

sigmaLimit = (FixPoint1616_t)(60*65536);

status = VL53L0X_SetLimitCheckValue(&VL53L0XDevs[i], VL53L0X_CHECKENABLE_SIGMA_FINAL_RANGE,

Put the high half into add 


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.
John E KVAM
ST Employee

FINAL_RANGE_CONFIG__SIGMA_THRESH

Address = 0x076

[15:0] bits

final_range_config_sigma_thresh: Sigma Limit value for FINAL RANGE Limit applied as follows: If sigma measured > sigma_thresh throw sigma error and exit.

If sigma_thresh = 0 skip check for FINAL RANGE


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.