Skip to content

sampling frequency not respected? #2

Closed
@ghost

Description

Hi,

I'm using the MAX30102, but in principle it shouldn't make any difference.
Using the Example6_FiFoReadings code, if I change the sampling frequency I notice that it is not respected.
I have tried changing the sampling rate and the averages together.
Here's a table with some results:

selected freq avg mode effective freq
50 1 spo2 50
50 2 spo2 25
50 4 spo2 12.5
100 1 spo2 100
100 2 spo2 50
100 4 spo2 25
200 1 spo2 200
200 2 spo2 100
200 4 spo2 50
400 1 spo2 100
400 2 spo2 50
400 4 spo2 25
800 1 spo2 50
800 2 spo2 25
800 4 spo2 12.5

You can see that up to 200Hz it behaves as expected, but from 400Hz and on it seems to completely change its behaviour.
The other parameters were left as usual: pulseWidth = 411 and adcRange = 2048

Any suggestions?

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