2020-12-04 06:49 AM
Hi,
I'm using the IKS01A3 board on a P-NUCLEO-WB55 board with the example application IKS01A3 DataLogTerminal.
Some questions:
Thanks for helping a newbie!
Jim Tompkins
Halifax, Canada
Solved! Go to Solution.
2020-12-21 01:58 AM
Hi Jim @JTomp.1 ,
sorry, it is the FP-SNS-MOTENVWB1 function pack (not the FP-SENS-MOTENV1), which is dedicated to the P-NUCLEO-WB55 + X-NUCLEO-IKS01A3.
-Eleon
2020-12-10 04:24 AM
Hi Jim @JTomp.1 ,
Let me know if these suggestion can help your application building.
-Eleon
2020-12-10 08:49 AM
Hi Eleon,
Thanks for the answer!
I will look in MX for the pin configurations. In the image above, for example, PB0 has signal name = GPIO-Output. The code refers to GPIO0: GPIO15. I was hoping to find a reference somewhere in the code from PB0 to one of the GPIOx names, but could not find this.
I downloaded the FP-SENS-MOTENV1 function pack to try. Under projects, I can't see a reference to STM32WB55. Also, if I start a new project in MX using the P-NUCLEO-WB55 board and try to add embedded software packs using the FP-SENS-MOTENV1 .zip file, it doesn't like the format of the .zip file. Does FP-SENS-MOTENV1 support P-NUCLEO-WB55?
The DataLogTerminal example works, but I would like to modify in as follows for my own application:
Thanks for your help,
Jim
2020-12-11 05:02 AM
Hi @JTomp.1 ,
my suggestion to start from the project in: \Projects\P-NUCLEO-WB55.Nucleo\Applications\MOTENV1\STM32CubeIDE\MOTENV1_IKS01A3_WB55RG, opening it with the STM32CubeIDE or the the IDE you use, instead of from the CubeMX trying to import the firmware package in .zip file format.
On this project, the LIS2DW12 is implemented and you can disable all the other sensors if you need.
As regard the DataLogTerminal example, yes, the data acquisition from the sensor is in polling mode: if you want to trigger it you should insert the function below in a loop as defined in lis2dw12_read_data_single.c:
int32_t LIS2DW12_ACC_GetAxes(LIS2DW12_Object_t *pObj, LIS2DW12_Axes_t *Acceleration)
-Eleon
2020-12-11 06:57 AM
Hi Eleon,
My STM32Cube_FW_WB_V1.9.0 installation doesn't include the MOTENV1 application folder. See the image above.
My installation of the MOTENV1 function pack doesn't have a subfolder for the P-NUCLEO-WB55.
Do I need to install something else?
I will take a look at the read_data_single C file.
Thanks,
Jim
2020-12-21 01:58 AM
Hi Jim @JTomp.1 ,
sorry, it is the FP-SNS-MOTENVWB1 function pack (not the FP-SENS-MOTENV1), which is dedicated to the P-NUCLEO-WB55 + X-NUCLEO-IKS01A3.
-Eleon
2020-12-21 05:51 AM