Skip to main content
Visitor II
December 3, 2021
Question

IIS3DWB ESP32

  • December 3, 2021
  • 2 replies
  • 1239 views

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!

    This topic has been closed for replies.

    2 replies

    Visitor II
    December 3, 2021

    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.1Author
    Visitor II
    December 12, 2021

    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