2020-11-04 04:24 AM
Hello, I'm working with the STEVAL-STWINKIT and I need to use some accelerometers like IIS3DWB and IISDH. I try to add the software packs using the .ioc (software packs -> select components -> board parts -> X CUBE MEMS1) but they never appear.
I don't know if this means that the software packs that appear are equivalent to those I need. How should I proceed?
2020-11-05 12:39 AM
Hi @AGasc.2 ,
please note that you are selecting the X-CUBE-MEMS1 function pack, which runs on and doesn't support the STWINKT1.
The X-CUBE-MEMS1 pack runs on the X-NUCLEO-IKS0xAy family boards, which don't natively embed the IIS3DWB and IISDH.
You should try with other firmware function packs such as the FP-IND-PREDMNT1, which is designed for the STEVAL-STWINKIT1 tool.
-Eleon
2020-11-06 06:06 AM
Hi Eleon,
Thank you for your answer, I have been watching the software and it is what I need. I have been trying to add it to my project but I don't see how can I do it. I have tried to add it by manage software packs -> From Local but I get this.
How should I do it?
2020-11-13 07:42 AM
Hi @AGasc.2 ,
I'm afraid that you have to and, after that, you have to add your libraries/drivers "by hand" in the project files.
But the FP-IND-PREDMNT1 package, or also the STSW-STWINKT01, both of which run on the STWINKT, already include the drivers for the IIS3DWB and IISDH devices, so you don't need to add any other function packs. For example, you can run the application you can find in the \Projects\HS_DataLog folder for the STSW-STWINKT01 package.
-Eleon
2020-11-16 03:50 AM
Hi @Eleon BORLINI ,
I have been trying to add these files but I have not succeded. The program keeps giving me these 17 errors, even though the file iis2mdc.h does exist.
I have also tried to add in properties (for iis2mdc) -> C/C++ General -> Paths and symbols -> Includes, the path of the workspace where the file is found, but I still get the errors.
What can I do to solve this and being able to use these sensors?
2020-11-26 07:26 AM
Hi @AGasc.2 ,
in the STWIN HS_DataLog example of the STSW-STWINKT01 pack both the sensors of your interest are configured.
You can find this example in: Projects\HS_DataLog\STM32CubeIDE\HS_DataLog
-Eleon