2025-01-02 05:34 AM
I'm working through the "Getting started with the X-CUBE-ISPU software package for STM32Cube" tutorial and trying the ISPU_Logging example.
NULCEO F411RE -> X-NUCLEO IKS02A1 -> STEVAL-MKI229AA (LSM6DSO16IS)
(This is also my first time using the Cube IDE so not sure where things are as its a different layout to the tutorial now)
I've set up the hardware pin outs & configured the software components for the appropriate sensors, generated the code, built & downloaded onto the board. The IDE says this was all successful...
File download complete
Time elapsed during download operation: 00:00:01.175
Verifying ...
Download verified successfully
I open up the Unicleo-GUI and am met with the following...
So far so good, the board & its sensors have been recognized and that's the same sensors I added in the software component section
I click apply & ...
What am I missing here? I've stepped through the document a few times now but cant for the life of me find what's missing
2025-01-03 09:21 AM
Hello,
Could you please send me your ioc file for analysis?
Thanks and regards,
Petr
2025-01-03 09:24 AM
Actually please send me the whole project, I just realized you didn't generate it using CubeMX, right?
2025-01-04 06:40 AM
2025-01-17 04:54 AM
Please try to switch io_ctx.Address from LSM6DSO16IS_I2C_ADD_H to LSM6DSO16IS_I2C_ADD_L in LSM6DSO16IS_0_Probe() function in custom_ispu_motion_sensors.c file. There is ISM330DHCX sensor on IKS02A1 board which has the same I2C address as your LSM6DSO16IS in DIL24 and to distinguish between them the onboard sensors have I2C address LSB bit connected to VDD while DIL24 ones to GND.