-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
sensor: driver: lis2dh interrupt definitions #30133
Comments
Yes, I got this point. I'll address it as soon as possible. |
Thanks, will make the thingy even better as a prototyping tool.... Billy.. |
I started today looking into that issue, but I think that unfortunately the lis2dh12 device can Just a question related to thingy52: isn't the DRDY fixed on INT1 in hardware? |
@avisconti
I think the zephyr driver was done that way for convenience. I'm not that great with MEM drivers so I always look at the manufacture for guidance; here is their github c code driver: Hope this helps. |
I think that you can drive the events interrupts to INT1 or INT2, but you cannot drive DRDY on INT2.
Yes, I sit beside the guy that writes the standard C drivers, and I as well wrote some of them in the past. I can ask to him as well as to designers to be 100% sure of what I told you. Just to be sure of what you are asking with this request, are you just interested to define INT1/INT2 just for events interrupt (like Any Motion) or you want also to define it for DRDY? Because for DRDY I think you cannot. |
@avisconti This is in part because a number of board only connect INT1, Thingy:52 is an example of one that is on my desk. Billy.. |
@WilliamGFish |
@avisconti Any news? Can I help? |
Sorry, let me try to take alook again. I fotgot it! |
I think that the answer is here. IT is not possible on this sensor to do what you requested. |
I'm gonna close this request. If you feel that the answwer is not satisfactory you can re-open it. |
Enhancement proposal description.
With the lis2dh sensors would it be possible to have the interrupts triggers user assigned? Currently int1 is drdy and int2 motion, I believe that the either can be used for both, therefore could be assigned dependant on need.
Create ability for user to assign trigger type to sensor interrupt dependent on need.
The text was updated successfully, but these errors were encountered: