This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRV2604: Auto detect LRA or ERM

Part Number: DRV2604

Is there a way for the driver to "auto-detect" whether there is an LRA or ERM attached to the device?

Is it possible to use the auto calibration feature for this?

Thanks,

Dave

  • Hi, David,

    Welcome to E2E and thank you for your interest in our products!

    Unfortunately, our haptics drivers don't have the auto-detection capability. If you are intending to save power or to put the device in standby mode, you would need to disable it with the EN bit or through an I2C command.

    Best regards,
    Luis Fernando Rodríguez S.
  • Hi Luis,

    Regarding auto-detection, would it be possible to use the auto-calibration routine (and the subsequent failure of one of the routines) to determine which motor is connected?

    Don
  • Don,

    Unfortunately, the DRV2604 cannot determine which kind of actuator is connected. There's a diagnostics mode in the device but it only can be used to check if an actuator is connected or not. However, it doesn't make the difference between an ERM or an LRA.

    Best regards,
    Luis Fernando Rodríguez S.
  • Luis,

    In your opinion/experience, could you use a micro controller to read the values in registers A_CAL_COMP, A_CAL_BEMF and BEMF_GAIN after auto calibrarion to determine if an ERM is detected and if not, reprogram the DRV2604 for LRA mode?

    Thanks,
    Dave Luong
  • Hi, David,

    This could be a possible solution.

    Normally, the auto-calibration fails when you select the wrong kind of device to calibrate. So, you may take a look at the parameters through the registers map or wait to see if the the auto-calibration is made correctly. This would be an indirect way to determine the correct type of actuator.

    I hope to have been clear. Please let me know if you have additional questions or comments.

    Best regards,
    Luis Fernando Rodríguez S.