antirez / antirez/bma423-pure-mp
Support for FIFO streaming readout
- 主要言語
- Python
- スター
- 10
- フォーク
- 3
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。