BMA421 reads all zeros
#4
Hi,

After weekend of experiments with pinetime (updates with few waspos firmwares)  .
I am experiencing issues with first chip_id read on Pinetime.
"Invalid sensor" issue as in this ticket most of the time ( sometimes counts to ~200 steps after few reboots but in general ).
Now always causes steps.py __init__ fails.
Code:
       if (dev->intf_rslt == BMA4_INTF_RET_SUCCESS)
        {
            for (indx = 0; indx < len; indx++)
            {
                /* Parsing and storing the valid data */
                data[indx] = temp_buff[indx + dev->dummy_byte];
            }
        }
        else
        {
           printf("fail of register read: 0x%x",dev->intf_rslt); <---- ffffff
           rslt = BMA4_E_COM_FAIL;
        }

Forcing battery consumption to 0 doesn't fix issue. The same making 0.05 timeout longer.

My pinetime is not devkit.
'debug' flag of dev gives logs on later steps so isn't usable.

What else can I check ? Does opening device and checking internal connections last option?
  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: 2 Guest(s)