BMA456 accelerometer (U43) has no firmware, so the part on the board has no use yet

オープン
#12 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
28/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
arduino, cpp
領域
embedded-iot

調査の方向性

Read the existing LIS3DH implementation in Apis_Library, especially getPitch() and getRoll(), and the library design rule on sharing code. Then consult the BMA456 datasheet to determine whether plain acceleration reads require Bosch’s feature-engine configuration blob. The work is complete when the driver, shared orientation reduction, data-row and status-snapshot fields are implemented and a hardware test passes.

索引モデルが issue の本文から書いたものです。

説明

bug

The Okapi redesign (Project-Okapi v0.6.0, the KiCad board) carries a BMA456 accelerometer, U43, on the on-board I2C segment at 0x18, powered from 3V3_AUX. Nothing in this library or anywhere else in the workspace talks to it, so a built board would have a part that does nothing.

What it is for (Andy, 2026-11-05): the board's orientation when desired, read at a wake. Not continuous sampling and not motion or impulse events, which is why its INT pin is a no-connect on the board.

What the firmware needs:

  1. A BMA456 driver from its datasheet: power mode, the acceleration registers, and whether Bosch's feature-engine configuration blob is needed for plain acceleration reads (to confirm before writing to the part; the plain registers may not need it).
  2. The orientation reduction, pitch and roll against a stored zero, which Apis_Library already does for its LIS3DH (getPitch(), getRoll()) and which should be shared rather than copied, per the library design's rule on copies.
  3. The reading's place in the data row and in the status snapshot.

A hardware test on a board closes it. No milestone here; the hardware side is Project-Okapi v0.7.0.

🤖 Generated with Claude Code

https://claude.ai/code/session_017F2gr2axqf8HWh46zhsQyY

主要言語
C++
スター
1
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NorthernWidget/Okapi_Library のほかの issue

NorthernWidget/Okapi_Library の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。