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.

CCS/DRV10983: DRV10983 PROBLEMS PWM & I2C

Part Number: DRV10983


Tool/software: Code Composer Studio

Hi, I have some problems on driving a motor with the DVR10983.

I have no problems writing the EEPROM and reading the registers through I2C but when a PWM is in the SPEED pin, the motor doesn’t work.
I can also see a signal in the FG pin even though the motor is not moving at all, there is also a signal on each of the phases of the motor (U, V and W) but the amplitude of this signal doesn’t change according to the duty cicle of the PWM, it only changes by modifying the supply voltage.

The values I have on the registers are:
Register | Value
0x20 —- 0xA9
0x21 —- 0x04 (I acquired this parameters as indicated in the Tuning Guide)
0x23 —- 0x49
0x24 —- 0x50
0x25 —- 0xE4
0x26 —- 0x89
0x2A —- 0x08
0x2B —- 0x0F (here I’m indicating that SPEED pin will spect a PWM)
0x01 —- 0x00 (here I’m making sure OverRide pin is clear)

I do have a pull-down resistor (82kohms) at the SPEED pin and as I told the motor is not working (I had previously drived that motor and I know it is not damaged)

  • Hey sanchezbjc_fi-iee,

    Our experts have been notifieid of your questions.

    Information that could help us assist you include a picture of the display tab during this operation (clicking the manual refresh button). In addition, oscilloscope shots shoud always include the units of the grid (e.g. 300 miliseconds/div and 20V/div). Seems like these were cut off on the bottom of the pictures.

    Best,
    -Cole
  • Hello Cole,

    Thanks for your observation and sorry for forget include this information. Today I tried to obtain these captures but when tested our board the motor presented the next behavior:

    -Speed signal is on 3.3V of amplitud, frequency:100khz, duty cycle:80%
    -Dir signal= 0v
    -VCC=24 v

    First the motor shaking and next thethe engine turned a single turn, after the motor shaking again and turned other turn. This performance was constant.

    I turn off the board, but when I turned on again the circuit the CI was damage. Today we no have other CI, but tomorrow test again with other board.
  • Hey sanchezbjc_fi-iee,

    Did you just recently damage the IC? The current behavior and test set up of the device does not indicate the device has been damaged. I recommend probing V1P8, V3P3, and VREG to see if the match voltages stated in the datasheet. If they are outside the bounds of the pins, then the device is probably damaged.

    Anyways, I've pasted some generic settings with your Phase Resistance and Kt values below. They should make your motor more likely to start up. If it starts up successfully, then start changing settings one by one: starting with the start up setting section and then the closed loop settings section.

    If the settings are not working, please monitor 0x1E, which are the fault codes, and see which fault or locks are triggering when the failure is occuring.

    "DRV10983         0x20      0xA9"

    "DRV10983         0x21      0x4"

    "DRV10983         0x22      0x3A"

    "DRV10983         0x23      0x0"

    "DRV10983         0x24      0xC5"

    "DRV10983         0x25      0xF7"

    "DRV10983         0x26      0x8A"

    "DRV10983         0x27      0xB0"

    "DRV10983         0x28      0xAE"

    "DRV10983         0x29      0xC9"

    "DRV10983         0x2A      0x8"

    "DRV10983         0x2B      0xE"

    Let me answer some of your other questions:

    >The amplitude of this signal doesn’t change according to the duty cicle of the PWM

    This is because the device needs to be configured to accept a PWM signal at the input. Your settings were configured for Analog speed input mode. This is found in 0x2B[1]

    Best,

    -Cole