Skip to main content
gbarbour
Associate II
April 25, 2018
Solved

What is the base address of the VL6180X registers?

  • April 25, 2018
  • 2 replies
  • 848 views
Posted on April 25, 2018 at 21:56

Looking at the data sheet for the VL6180X (p49-50), the registers are listed with their 'offset' address.

Does this mean I have to add a base address to the offset addresses? If so, where is that found in the documentation, please? And, is there a register listing that has the actual register addresses somewhere?

Thank you.

This topic has been closed for replies.
Best answer by gbarbour
Posted on April 30, 2018 at 22:19

My best guess is that the registers are offset from 0x00.

I've been working with Microcontrollers for years and when they say 'offset' they mean from a base address, thus my confusion. 

2 replies

gbarbour
gbarbourAuthor
Associate II
April 30, 2018
Posted on April 30, 2018 at 16:02

I am grateful for any suggestions offered.

Is the data sheet inaccurate when it lists the 'offset' address, instead of calling it the actual address? Or, is there some number that I need to add to the offset address to get the true address?

If the latter, where is that base address to be found in the documentation?

Thank you.

gbarbour
gbarbourAuthorBest answer
Associate II
April 30, 2018
Posted on April 30, 2018 at 22:19

My best guess is that the registers are offset from 0x00.

I've been working with Microcontrollers for years and when they say 'offset' they mean from a base address, thus my confusion.