MEMS Studio: Raw QVAR Signal on Nucleo STM32F401RE & X-NUCLEO-IKS4A1
Hello,
I have the Nucleo STM32F401RE board, on which I mounted the X-NUCLEO-IKS4A1 expansion board with the removable add-on STEVAL-MKE001A for QVAR signal detection.
My first question is: is it possible to acquire the raw QVAR signal using only MEMS Studio, or is it necessary to integrate a firmware solution? By "raw QVAR signal," I mean the data that has not been processed by the FSM, and not the tap or double tap, which serves only as an interrupt.
Below are the steps I have followed so far and the inconsistencies I encountered:
1. When connecting the board to the PC, the software immediately recognizes it, and using the provided DataLogExtended binary, I can select the devices of interest, including the LSM6DSV16X IMU for QVAR signal acquisition.
2. In the register interface, I configured:
- The `AH_QVAR_EN` bit to 1 in the `CTRL7` register (16h).
- The `INT2_DRDY_AH_QVAR` bit to 1 in the `CTRL7` register (16h).
- Wrote the values `(0x10, 0x07)`, `(0x11, 0x07)`, and `(0x16, 0xC0)`.
I encountered two main issues:
- The first concern relates to reading via `MultiRead (0x3A, (uint8_t*)&qvar_out, 2)`. In the interface, it is only possible to interact with address `0x3A` or `0x3B`, as if reading the entire word is not allowed.
- Additionally, I noticed that the datasheet specifies that the accelerometer must be turned on in high-performance or normal mode, while MEMS Studio indicates that both the accelerometer and gyroscope should be configured in power-down mode (I have attached a screenshot).
I also tried enabling the pull-up resistor by setting `SHUB_PU_EN = 1` in the `IF_CFG` register (03h), but without success.
In both cases, even after programming the board, I cannot visualize a time-varying signal in the graphs. Either I cannot acquire the signal, or the acquired value remains fixed at -420.103, without responding to interactions with the electrodes.
What am I doing wrong? I would like to acquire the raw signal to study it and then use the FSM. I don’t want to limit the use of QVAR only to handle interrupts.
Thank you in advance for your help.

