STHS34PF80 how to use Unicleo-GUI with custom board
Hi ST-Team,
We want to use the STHS34PF80 for presence detection. I am not very familiar with the sensor, as a just watched
the webinar about the sensor last Tuesday.
I think a good way to check the capabilities of the sensor is the STM32 Open Development Environment (ODE).
With Unicleo-GUI we could test the sensor then and get used to it.
In terms of hardware we have the STEVAL-MKI231KA kit only, which can easily be adapted to our board which has
I2C bus to connect the sensor and USB (Virtual comport) to connect to the PC.
I found the GitHub Entry https://github.com/STMicroelectronics/sths34pf80-pid which provides the driver sths34pf80_reg.c
Using this I can easily pull some registers out of the sensor and send it to a terminal like in the example sths34pf80_tmos_data_polling.c
But how to use X-CUBE-MEMS1 with my custom board?
How can I provide the necessary protocol on my virtual comport, so that Unicleo-GUI is happy?
I installed X-CUBE-MEMS1 in CubeMX, but as far as I can see the libraries there are precompiled and no source code.
There is also another library called: InfraredPD presence and motion detection (UM3169).
This is obviously necessary to improve the sensors builtin compensation functions, when the gain is reduced.
But again this library has no source code.
So my problem is:
I could buy the whole set of NUCLEO-U575ZI-Q (Mother board) X-NUCLEO-IKS4A1 (Expansion) and
STEVAL-MKI231KA (Kit to adapt the sensor)
With this enivronment the Unicleo-GUI software probably works. But how can I get it transferred to my custom application? Why is it called STM32 Open Development Environment , if the major components are not provided in source code?
I am a bit irritated whether I can use the sensor for our application just with the driver sths34pf80_reg.c, which would be easy.
Or do I need to apply further compensation libraries which are just a blackbox?
Maybe it is like this:
The Unicleo-GUI combined with some dedicated hardware and X-CUBE-MEMS1 is only meant to check the sensor
parameters. It will never be transferred to a real application. Only the specific results are thereafter transferred to the sensor registers using sths34pf80_reg.c.
But if this is the case I could buy STEVAL-MKI109V3 with Unico-GUI which is more Plug&Play and doesn´t involve CubeMX configurations...
A apologize for my possible missunderstandings.
Any help for my questions would be highly appreciated
Andy
