BMA421 reads all zeros
#2
(10-31-2020, 09:50 AM)tbondar Wrote: Hi All, I'm trying to read the BMA421 on my P8 but all I get from it on I2C is all zeros. Reading chip id gets zero, reading acceleration gets zero. I checked the SDA and SCL lines with logic analyser and they look good. Anybody seen this before?

There was an (?undocumented?) change of specification part way through the life of the P8 and the BMA421 was replaced with a much cheaper SC7A20 device that requires the step counting to be implemented in software rather than offloaded to the motion processor found in the BMA421.

Based on the comments from the wasp-os bug tracker it looks very much like the new part reads zeros for the ID:
https://github.com/daniel-thompson/wasp-...-683431763

PS Just to be 100% clear for anyone scanning this thread, this topic is not related to PineTime and the PineTime has not had any undocumented spec changes! If you have a PineTime dev kit and the sensor is not working then double check it is fully plugged in ;-), it is relatively easy to knock it out when the back is open.
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
  Reply


Messages In This Thread
BMA421 reads all zeros - by tbondar - 10-31-2020, 09:50 AM
RE: BMA421 reads all zeros - by danielt - 11-02-2020, 07:38 AM
RE: BMA421 reads all zeros - by tbondar - 11-04-2020, 11:21 AM
RE: BMA421 reads all zeros - by slawkory - 02-12-2021, 08:07 AM
RE: BMA421 reads all zeros - by danielt - 02-15-2021, 09:24 AM
RE: BMA421 reads all zeros - by slawkory - 02-20-2021, 02:19 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)