We're successfully using DRV2605 on a design but we want to detect and log overcurrent events when they occur. I have three questions about the behavior of the the DRV2605 when it detects an overcurrent:
1) The section 7.3.11.2 of the datasheet indicates that when an overcurrent occurs, OC_DETECT on the Status register is latched, and then the device "shuts down". What does it mean, precisely, that it "shuts down" in this case? What parts of the device stop working and what parts continue to work? For instance, presumably the device stops driving the LRA, but does it also abort the current haptic waveform sequence that is playing? Does it continue to respond to I2C commands?
2) If the DRV2605 is playing a sequence and detects a short / overcurrent, latches OC_DETECT, aborts the current haptic waveform sequence, does the GO bit on the GO register get cleared, as it normally would when a haptic waveform sequence finishes playing? Or will the DRV2605 leave the GO bit set high for as long as the short is detected (at which point the device restarts in the default state, which would clear the bit).
3) After the DRV2605 has detected a short and latches OC_DETECT, section 7.3.11.2 of the datasheet indicates that it will keep monitoring the status of the short while staying in overcurrent mode, and once it detects that the short is removed, "the DRV2605 device restarts in the default state". In this case, is the OC_DETECT bit cleared after reset, or is it sticky, remaining set after reset? If it's cleared, is there any way to determine after the DRV2605 has "restarted in the default state" that this restart was caused by an overcurrent event?