cancel
Showing results for 
Search instead for 
Did you mean: 

IIS3DWB ESP32

LBurc.1
Associate

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!

2 REPLIES 2
DSull.3
Associate III

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

LBurc.1
Associate

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