antirez / antirez/bma423-pure-mp
Support for FIFO streaming readout
- Linguagem predominante
- Python
- Estrelas
- 10
- Forks
- 3
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Hi. I would like to continuously sample the BMA423 accelerometer. And for the samples to be well synchronized in time. From my testing so far, doing polling based from MicroPython introduces occasional stutters of several milliseconds in the worst case.
The best way to get stable and performant readouts is using the FIFO functionality in the accelerometer. The BMA423 has 1 kB of FIFO space, so it can hold data for many milliseconds, which also enables the host microcontroller to sleep in between. This is an "advanced" feature, which many drivers unfortunately do not implement.
Are you interested in such functionality, if I implement it? If so, do you have any guidelines as to implementation and/or API?
I am thinking to let the BMA423 stay simple methods for poking the device registers. And then the whole flow of FIFO based data streaming can be in an example, like the others you already have.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.