Skip to content

F5 - F8 Readings inconsistent with other platforms #6

Closed
@afaghm

Description

@afaghm

Hello,
I am using this code with the AS7341 and a Raspberrypi. I am trying to calibrate the sensor readings with a Spectrometer and I have faced an issue. It seems that the F5-F8 channel readings are incorrect. To verify that it is not a sensor limitation issue, I compared the readings with the readings of the same sensor connected to an Arduino using c++ code (https://github.com/adafruit/Adafruit_AS7341/blob/master/Adafruit_AS7341.cpp). The ATIME, AGAIN, and ASTEP parameters are kept the same in both platforms. The values for the F5-F8 are completely different and those that are obtained with the c++ code are consistent with the actual spectrometer. I cannot day I fully understand the code, but I am guessing something is going wrong in the SMUX config in "_f5f8_clear_nir()". Would anyone please be able to provide some insight into this?

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