Skip to main content
MDIAL
Associate
July 17, 2019
Question

To go from 30 Hz to 100 Hz

  • July 17, 2019
  • 3 replies
  • 1564 views

Hello

I'm trying to go from the frequency 30 Hz to the frequency 100 Hz and I used the manual that ST provides on this and I have the error code -18 which corresponds to

#define VL53L1_ERROR_STREAM_COUNT_CHECK_FAIL      ((VL53L1_Error) - 18)

/*!< Stream count check fail - API out of sync with device */ on this fonction VL53L1_GetRangingMeasurementData(Dev,&RangingData)

I am using an Arduino Mega 2560 to display SPADs

could someone explain to me how to fix this?

This topic has been closed for replies.

3 replies

Dominique LOYER
Visitor II
July 22, 2019

​Hello,

I looks like your device is not well initialized or you have an HW problem. Did you test it at 30Hz? Which API are you using, ULD or the full version?

Best regards

Dominique

MDIAL
MDIALAuthor
Associate
July 27, 2019

Hello,

thank you for your return the problem is that I used a LCD display that occupied a lot of time on my bus i2c

Best regards

Julien NGUYEN
ST Employee
August 6, 2019

Hi,

The 100 Hz speed can only work with the STSW-IMG007 software package. Could you please confirm the application note (manual) that you were referring. Is it the attached AN5623 ?

Thanks

Julien

MDIAL
MDIALAuthor
Associate
August 7, 2019

thank you for your return yes it's the same I use but the error came from an LCD display that I used that made it did not work

Best Regards