I am seeing the same value of TRQ_DAC when reading CTRL REGISTER 1 (addr 0x3) despite writing a new TRQ_DAC value to the register. I will need your help in resolving this issue.
I need to update the TRQ_DAC setting while the motor drivers are enabled. Since the TRQ_DAC read value is always fixed, I am unsure that the effective motor current is being changed. Please advise on how I can resolve this issue while still using SPI communication. I am not planning to use the VREF pin (yet) to set the current trip level..
Here is some additional background:
- I am driving a bipolar hybrid stepper motor using the DRV8434S with an external MCU using SPI and STEP/DIR input.
- I am able to setup the motor using SPI and operate the motor.
- I am writing a TRQ_DAC value of 75% to the CTRL REGISTER 1 shortly after enabling SPI communications.
- After setup of registers I start running the motor. The motor runs without any issues.
- I write a new TRQ_DAC value of 50% to the 0x3 register, this while the motor is actively being operated with an external STEP/DIR input mode.
- The status byte returned after the 0x3 register write operation does not indicate any error. The data byte in the register is always indicating TRQ_DAC=75%.