I'm using the MotionDI "dynamic inclinometer" library with a LSM6DSOX (on a NUCLEO-L476RG). The rotation computed by the library looks right as long as the sensor remains stationary. But when I translate the sensor, there is a temporary but significa...
I'm using a NUCLEO-L476RG with a STEVAL-MKI197V1, connected in SPI mode without any expansion board. My setup works: I successfully used the LSM6DSOX low-level driver to read sensor data. But my attempts to use the high level libraries, such as Motio...
I need to use a gyroscope with my Nucleo-64 board, but the gyroscope needs to stand apart (i.e. at the end of a cable). Is the STEVAL-MKI197V1 a good match? Can I connect it directly to my Nucleao-64 with a SPI cable, *without* using an expansion boa...
Table 4 of UM2667 says: PA0_SPI_IRQ_PB14_BNRG1BOOT: Default STM32 port = PA0Optional STM32 port = PB14To use the optional port, mount R82 and unmount R85However, on my X-NUCLEO-BNRG2A1, both R82 and R85 are mounted. What should I do?
I used the BlueNRG GUI app (as described in 2.2 of AN5651) to flash a non-official firmware (this one) on my brand new X-NUCLEO-BNRG2A1. I did a few tests and realized that ST BLE sample apps weren't working anymore. So I decided to come back to the ...
Thanks, that is very useful.> weighting stability of sensors for prediction (trust factor), from 0 to 1That surprises me. I seem to see significant behavior change with ATime > 1. In fact, in my setup (LSM6DSOX mounted on a pedestrian), I get accepta...
Thanks @Miroslav BATEK .I did some more tests and I believe the issue is caused by the gyroscope: it seems to be very sensible to linear acceleration, i.e. it returns wrong angular velocity values when linearly accelerating.A partial solution for me...
Everything is working fine now. For those landing here, here are the mistakes I made:I forgot to add the CRC component, hence the initial MotionGC_Initialize() hard fault interrupt.In order to debug this first issue, I used the MotionGC_GetLibVersion...
@Miroslav BATEK, I found my error regarding MotionGC_GetLibVersion(). I was calling it *before* the lib initialization, and it seems it's wrong, despite what's described in UM2181 chapter 2.2.3 diagram. So now MotionGC_GetLibVersion() works.
@Miroslav BATEK , thanks a lot for looking into this.I doubled the stack size with no success.I noticed the MotionGC_GetLibVersion() function fails at its very beginning, after a single test. See here:If you have access to the library source code, t...