Skip to main content
Visitor II
November 25, 2019
Solved

X-NUCLEO-LPM01A: Set sampling frequency standalone mode

  • November 25, 2019
  • 2 replies
  • 964 views

Hello,

can we change the sampling frequency on standalone mode for the X-NUCLEO-LPM01A without using any computer?

If I understand right, by default the sampling frequency is 100Hz, and I would like to increase it to 10khZ.

David

    This topic has been closed for replies.
    Best answer by Philippe Cherbonnel

    Hello David,

    In standalone mode, the raw sampling frequency is fixed to maximum: 3.2Msamples/sec (this high frequency allows to catch short current peaks), then current is averaged: this is the configurable setting of integration time of few seconds.

    In mode connected to computer, the raw sampling frequency is the same, the configurable setting of acquisition frequency is a subset of this frequency (averaged at 100kSamples/sec, then samples picked up).

    Best regards

    Philippe

    2 replies

    ST Employee
    November 28, 2019

    Hello David,

    In standalone mode, the raw sampling frequency is fixed to maximum: 3.2Msamples/sec (this high frequency allows to catch short current peaks), then current is averaged: this is the configurable setting of integration time of few seconds.

    In mode connected to computer, the raw sampling frequency is the same, the configurable setting of acquisition frequency is a subset of this frequency (averaged at 100kSamples/sec, then samples picked up).

    Best regards

    Philippe

    David RAuthor
    Visitor II
    November 29, 2019

    Hello Philippe,

    thank you for answer, this one and the two other one, it helps a lot!

    David