Skip to main content
Associate
February 19, 2024
Solved

VL6180X Sensor, device register memory volatility

  • February 19, 2024
  • 2 replies
  • 1271 views

Hi there,

I was wondering if the memory used to save the values in the device registers for the VL6180X sensor are volatile or non-volatile. This would affect how the sensors behaves during a power cycle. Could someone clarify this for me if possible?

Thanks in advance.

Best answer by John E KVAM

You are correct. There is no volatile memory. At reboot, one loses the I2C address - if it was changed and one loses the calibration information. Restore that and you are good to go.

- john

2 replies

Andrew Neil
Super User
February 19, 2024

The documentation would say what (if any) configuration is non-volatile.

If it's not mentioned, then assume it isn't.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
dere1Author
Associate
February 19, 2024

Hi Andrew,

Thanks for the quick reply, 
After a thorough look through the VL6180X datasheet I don't believe it mentions anything about the memory being non-volatile. I'll assume the device registers values are volatile.

John E KVAM
ST Employee
February 19, 2024

You are correct. There is no volatile memory. At reboot, one loses the I2C address - if it was changed and one loses the calibration information. Restore that and you are good to go.

- john

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.