I contacted TI’s technical support team; and
I’m still waiting for their response— Here’s what I sent to them:
Start of My Support Request
I’d greatly appreciate your assistance regarding my step-by-step process for using your DRV2605L ( http://www.ti.com/lit/ds/symlink/drv2605l.pdf ) …
I did this step-by-step process:
STEP 1. I connected the DRV2605L to an ERM mini vibrating disk ( https://www.adafruit.com/product/1201 );
STEP 2. I then connected the DRV2605L to the Devantech USB-ISS board ( https://www.robot-electronics.co.uk/htm/usb_iss_tech.htm );
Note: Another I2C device is connected to the Devantech USB-ISS board, which is the Devantech SRF10 ultrasonic ranger …
STEP 3. Next, I connected the Devantech USB-ISS board via USB to a Raspberry Pi 3B+;
STEP 4. I installed a Python module called usb_iss; and
STEP 5. I opened Python and wrote the following lines:
from usb_iss import UsbIss, defs
iss = UsbIss()
iss.open(’/dev/ttyACM1’) # This is what appeared as the virtual port of the DRV260L as the SRF10 is /dev/ttyACM0
I got this = <usb_iss.usb_iss.UsbIss object at 0x7657b410>
iss.i2c.read(0x5A,0x00,1) # Parameters are (I2CAddress,Register,Data)
I got this = [36]
Remove DRV2605L from standby mode as stated in your guide
iss.i2c.write(0x5A,0x01,[0x00]) # Parameters are (I2CAddress,Register,[Data])
But I’m stuck at this point. I can’t seem to grasp the rest of the steps in your guide (found in your DRV2605L datasheet); and
So using the format of the code above, please kindly let me know the registers to write to and what data to write, in order for me to do your guide here:
9.3.1 Initialization Procedure
- After powerup, wait at least 250 µs before the DRV2605L device accepts I2C commands.
- Assert the EN pin (logic high). The EN pin can be asserted any time during or after the 250-µs wait period.
- Write the MODE register (address 0x01) to value 0x00 to remove the device from standby mode.
- If the nonvolatile auto-calibration memory has been programmed as described in the Auto Calibration Procedure section, skip Step 5 and proceed to Step 6.
- Perform the steps as described in the Auto Calibration Procedure section. Alternatively, rewrite the results from a previous calibration.
- If using the embedded ROM library, write the library selection register (address 0x03) to select a library.
- The default setup is closed-loop bidirectional mode. To use other modes and features, write Control1 (0x1B), Control2 (0x1C), and Control3 (0x1D) as required. Open-loop operation is recommended for ERM mode when using the ROM libraries.
- Put the device in standby mode or deassert the EN pin, whichever is the most convenient. Both settings are low-power modes. The user can select the desired MODE (address 0x01) at the same time the STANDBY bit is set.
9.3.2 Typical Usage Examples
9.3.2.1 Play a Waveform or Waveform Sequence from the ROM Waveform Memory
- Initialize the device as listed in the Initialization Procedure section.
- Assert the EN pin (active high) if it was previously deasserted.
- If register 0x01 already holds the desired value and the STANDBY bit is low, the user can skip this step. Select the desired MODE[2:0] value of 0 (internal trigger), 1 (external edge trigger), or 2 (external level trigger) in the MODE register (address 0x01). If the STANDBY bit was previously asserted, this bit should be deasserted (logic low) at this time.
- Select the waveform index to be played and write it to address 0x04. Alternatively, a sequence of waveform indices can be written to register 0x04 through 0x0B. See the Waveform Sequencer section for details.
- If using the internal trigger mode, set the GO bit (in register 0x0C) to fire the effect or sequence of effects. If using an external trigger mode, send an appropriate trigger pulse to the IN/TRIG pin. See the Waveform Triggers section for details.
- If desired, the user can repeat Step 5 to fire the effect or sequence again.
- Put the device in low-power mode by deasserting the EN pin or setting the STANDBY bit.
I’d greatly appreciate your help regarding this. Thank you.
End of My Support Request
Hope somebody here could also assist me. I’d greatly appreciate any help that I could get. Thanks! 