Skip to main content
KWine
Senior
July 10, 2021
Question

VL53L5 GPIO uses?

  • July 10, 2021
  • 1 reply
  • 981 views

I have exposed both GPIO1 and GPIO2 pulled up to VDDIO with a 47 K resistor on my VL53L5 breakout. GPIO1 is used as the interrupt. What can I use GPIO2 for, another interrupt? It would be very convenient to have a date ready interrupt on GPIO1 and a threshold interrupt on GPIO2, for example...

Is there an AN describing use of these GPIOs?

This topic has been closed for replies.

1 reply

John E KVAM
ST Employee
July 15, 2021

At the moment the GPIO2 is undefined. But the firmware running in the VL53L5 is downloadable, so it's subject to change. But at moment GPIO 2 does nothing.

GPIO is an unfortunate term. GPIO1 was a GPIO until we wrote the code. At that point it was no longer a general purpose pin. It was fixed as an interrupt pin.

But the use of GPIO2 is undefined at the moment.

KWine
KWineAuthor
Senior
July 15, 2021
Thanks John,
As I suspected but thought I'd ask anyway.
If you do get around to defining a purpose for GPIO2 I hope you will keep my second interrupt (or threshold interrupt) idea in mind.
Kris