hi,
1.how to vary the duty cycle of DRV8703-Q1EVM fro SPI interfacing using time.
2.which bits has to be change in the control register, config register for PWM changing or duty cycle change purpose while SPI interface using time.
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.
hi,
1.how to vary the duty cycle of DRV8703-Q1EVM fro SPI interfacing using time.
2.which bits has to be change in the control register, config register for PWM changing or duty cycle change purpose while SPI interface using time.
Hi Vasanth,
For manipulating duty cycle with SPI on this device, you need to set the bits IN1/PH and IN2/EN of the 0x02 Main Control Register as high/low depending on how you want to drive the load.
For example, if you want to have a duty cycle of 50% on IN1/PH and a period of 20kHz (50us), then you need to set IN1/PH bit field to a logic "1" for 25us, then set it to a logic "0" for 25us.
HI,
which are all PWM (mosfet i.e. GH1,GH2, GL1 and GL2) are connected to IN1
HI,
I mean, the IN1 which PWM pins (GH1,GH2,GL1 and GL2) are controllable( or connected).since in datasheet it is not mentioned.
Hi Vasanth,
IN1 and EN2 pins are ORed with the SPI IN1 and IN2 bit fields. Therefore, if you want to control using SPI, you should place the IN1 and IN2 tied to GND.
I hope that answers your question.