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

Đang mở
#12 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
28/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
arduino, cpp
Lĩnh vực
embedded-iot

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
C++
Star
1
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NorthernWidget/Okapi_Library

Tất cả issue của NorthernWidget/Okapi_Library

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.