Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to read Control Registers in PWM mode? #21

Open
Eileenmc opened this issue Jun 30, 2020 · 2 comments
Open

Possible to read Control Registers in PWM mode? #21

Eileenmc opened this issue Jun 30, 2020 · 2 comments

Comments

@Eileenmc
Copy link

We're using the Lidar Lite v3 HP configured in PWM to an Arduino Uno and would like to be able to read the control registers, for example, Health Status in the serial monitor. Is this possible? Looking through the Operations Manual and Tech specs isn't clear if the registers can only be used in I2C mode. Thank you in advance for your help with this!

@Eileenmc
Copy link
Author

Eileenmc commented Jul 1, 2020

Gave some thought to this last night after I posted the above question. The issue is that we want to use the lidar in PWM mode but also want to be able to read the registers while its running. Is the solution using two arduino's - one to communicate with the Lidar in PWM as the master and the other communicating with it in I2C as slave?

@jmseitz
Copy link
Collaborator

jmseitz commented Jul 1, 2020

You can utilize TRIGGER / MONITOR connections and I2C connections to the v3HP, simultaneously. The slave peripheral inside the v3HP continues to operate during PWM mode, allowing full access to the device's register set. You could use a separate Arduino to do this if you prefer, but both interfaces can be managed by a single Arduino.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants