Skip to content

Sensor Bias Magnitude set to : 50-µA, why ?  #14

@gabriel-marques

Description

@gabriel-marques

Hello,

First of all thanks, for your library.

I've been using your module with this library on a RPI 3 and I achieved to use the ADC with a 3V3 reference. For that, I had first to change the reference value from 5.08V to 3.3V in the library and set in the Makefile Wiringpi instead of bcm3835 which was gaving me a segfault. Then, I had to remove the 0 Ohm resistor below the PCB which was connecting AVDD to 5V and connect 3V3 to the AVDD Input slot. But still, when reading values from a ADXL335 the average was around 3.2 V and the reason is that in the library, in function ADS1263_ConfigADC1 of file ADS1263.c the REG_MODE1 is set to 0x84 which modifies the filter selected but is ALSO modifies the sensor bias magnitude and this without specifying why.

I set it to 0 again and now I have great values but why is it set to 50-µA at first place ? If it's something necessary for the diff reading then set it only when needed and not by default.

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions