Skip to main content
Charlie1
Visitor II
November 13, 2019
Solved

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

  • November 13, 2019
  • 2 replies
  • 1254 views

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.

This topic has been closed for replies.
Best answer by John E KVAM

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

2 replies

John E KVAM
ST Employee
November 14, 2019

sigmaLimit = (FixPoint1616_t)(60*65536);

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

Put the high half into add 

John E KVAM
John E KVAMBest answer
ST Employee
November 20, 2019

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