Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN4545 Datasheet(PDF) 7 Page - STMicroelectronics

Part # AN4545
Description  VL6180X basic ranging application note
PDF  27 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4545 Datasheet(HTML) 7 Page - STMicroelectronics

Back Button AN4545 Datasheet HTML 3Page - STMicroelectronics AN4545 Datasheet HTML 4Page - STMicroelectronics AN4545 Datasheet HTML 5Page - STMicroelectronics AN4545 Datasheet HTML 6Page - STMicroelectronics AN4545 Datasheet HTML 7Page - STMicroelectronics AN4545 Datasheet HTML 8Page - STMicroelectronics AN4545 Datasheet HTML 9Page - STMicroelectronics AN4545 Datasheet HTML 10Page - STMicroelectronics AN4545 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 27 page
background image
DocID026571 Rev 1
7/27
AN4545
Performing range measurements
27
2.1
Performing a range measurement in single-shot mode
1.
Check device is ready to start a range measurement. (Optional)
a)
Check bit 0 of RESULT__RANGE_STATUS {0x4d} is set.
2.
Start a range measurement.
a)
Write 0x01 to SYSRANGE__START {0x18}.
3.
Wait for range measurement to complete.
a)
Poll RESULT__INTERRUPT_STATUS_GPIO {0x4f} register till bit 2 is set to 1.
(New Sample Ready threshold event).
4.
Reading range result.
a)
Read RESULT__RANGE_VAL {0x62}.
b)
This is the range measurement between the VL6180X and target in mm
5.
Clear the Interrupt status.
a)
Write 0x07 to SYSTEM__INTERRUPT_CLEAR {0x15}.
6.
Repeat the previous steps 1 to 4 for more range measurements.
2.2
Performing a range measurement in continuous mode
1.
Check device is ready to start range measurement. (Optional)
2.
Check bit 0 of RESULT__RANGE_STATUS {0x4d} is set.
3.
Start range measurements.
a)
Write 0x03 to SYSRANGE__START {0x18}.
4.
Wait for range measurement to complete.
a)
Poll RESULT__INTERRUPT_STATUS_GPIO {0x4f} register till bit 2 is set to 1.
(New Sample Ready threshold event).
5.
Reading range result.
a)
Read RESULT__RANGE_VAL {0x62}.
b)
This is the range measurement between the VL6180X and target in mm.
6.
Clear the Interrupt status.
a)
Write 0x07 to SYSTEM__INTERRUPT_CLEAR {0x15}.
7.
Repeat the steps 2 to 4 for more range measurements.
8.
Stop range measurements.
a)
Write 0x01 to SYSRANGE__START {0x18}.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com