2021-12-03 12:46 AM
Hello all,
I would like to try to use the IIS3DWB with ESP32 with SPI. I found very few resources over internet and I tried to use the generic driver from ST github but with no luck.
Anyone has a working example I can use?
Thank you!
2021-12-03 03:26 AM
Hi, you might consider to use the following:
ESP32 SPI settings --> https://www.youtube.com/watch?v=w3VIxtLPuRE
IIS3DWB C drivers (valid also for the SPI) --> https://github.com/STMicroelectronics/STMems_Standard_C_drivers/blob/master/iis3dwb_STdC/examples/iis3dwb_read_data_polling.c
Not sure there are many exampled of IIS3DWB with ESP32 than with STM32
2021-12-12 02:52 AM
Thank you for your answer.
After some days of headache, I found the spibus library that I used as intermediate layer with the IIS3DWB standard c driver and now everything works fine.
The link of the library I used is
https://github.com/natanaeljr/esp32-SPIbus
Thanks again