Skip to main content
Visitor II
March 29, 2019
Question

IIS2DH Reset

  • March 29, 2019
  • 8 replies
  • 1618 views

I have an issue where the IIS2DH accelerometer gets into a state where I get no output form the axis registers. How can the device be reset without removing power? The IIS3DSH used to have a register that could be toggled for a hard reset. The IIS2DH only appears to have a soft reset with:

CTRL_REG5 (24h) : BOOT bit.

The BOOT does not reset the device to a working state. Only a POR.

    This topic has been closed for replies.

    8 replies

    ST Employee
    April 2, 2019

    Hi, the BOOT bit on the IIS2DH reboot the original calibration memory content, it doesn't turn off the device, let me say. But which is the symptom of your issue? After certain time do you get FF or 00 data on the output? Are you using SPI or I2C for the device communication? Especially in case of I2C, at which Vdd / VddIO are you working?

    regards

    iaeinfachAuthor
    Visitor II
    April 2, 2019

    Indeed I am using I2C and yes the symptom is 00 data. The voltage is nominally 3.6V for both Vdd and VddIO.

    On a future revision of the board I plan to use SPI. I assume this is the preferred method.

    iaeinfachAuthor
    Visitor II
    April 2, 2019

    Does not exceed 3.6V I should say.

    ST Employee
    April 2, 2019

    yes, SPI is -let's say- less dependent to the "environmental" condition than I2C, and doesn't need pull-up resistors. Vdd 3.6V condition is quite at limit... could it be possible for you to work at lower Vdd?

    iaeinfachAuthor
    Visitor II
    April 2, 2019

    Perhaps, but trying to avoid excess components. Its a very small area. I also noted in earlier development that voltages below 3.3 would cause issues with readings. The low threshold varied with different chips, but transient dips would definitely cause me issues. Since I went with a higher voltage those issues have gone away.

    ST Employee
    April 2, 2019

    ​I understand... which pull-up values are you using?

    iaeinfachAuthor
    Visitor II
    April 2, 2019

    6.8k.

    Correction, I was mistaken before. Earlier version was 3.6V direct to the IIS2DH. We now are in fact using 3.3v supply and I added caps to deal with the transients.

    ST Employee
    April 4, 2019

    On how many samples did you faced the issue? Is your Vdd stable?