Skip to content

LIS2DH12TR #2273

Closed Answered by cparata
0x0fe asked this question in Libraries
Feb 8, 2024 · 7 comments
Discussion options

You must be logged in to vote

Hi @0x0fe ,
currently, the Arduino library to support the LIS2DH12 is not planned. Any contribution from the community will be appreciated. All the Arduino MEMS libraries are based on SPI calls in polling mode. This is because all the APIs are implemented in synchronous mode. The usage of DMA would require an abstraction layer for DMA stuff (to have the compatibility with all STM32 families) that at the moment, as I know, is not present in Arduino and also the adoption of APIs in asynchronous mode that is out of the scope of the Arduino MEMS libraries. For your use case, probably the best thing is to use the FIFO, that allow to store data without losses.
Best Regards,
Carlo

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by fpistm
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2272 on February 08, 2024 14:52.