2022-06-29 11:21 PM
2022-07-05 07:30 AM
Hi @VAdit.1 ,
If the C examples on Github ST repository doesn't help you (iis3dwb_STdC), I would ask for support to ESP32 experts.
Can you please have a look to this thread on Github and check if it can be of some help?
--> https://github.com/espressif/arduino-esp32/issues/6796
-Eleon
2022-07-05 01:46 PM
You may well have gone to the ends of the universe, but it's not particularly helpful when describing what you've actual done, and where that's fallen down.
The IIS3DWB is connected via SPI, and should be pretty agnostic to the MCU you've chosen. The ESP32 isn't going to get much explicit support here, so perhaps review how you're implementing your SPI connectivity, and start with things like the WHO_AM_I register to confirm you can read back registers as expected.
2022-08-04 10:16 PM
Hey @Eleon BORLINI and @Community member thanks for answering my query as of now i getting the WHO_AM_I register data but its working on SPI mode 1 but data sheets specifies that it is reads the register at mode 0 or 3 !!! so my question is that am i getting the write data.
2022-08-05 11:17 AM
Or even the right data?
I guess I'd look at other registers, and perhaps look at the SPI signals on a logic-analyzer if I were concerned.
Check you ability to read/write other register, position of status bits, and those documented as being always 1 or 0
Honestly not familiar with the performance/expectations on the ESP32