Quantcast
Channel: Motor drivers forum - Recent Threads
Viewing all articles
Browse latest Browse all 21639

DRV8301: DRV 8301 SPI write not working

$
0
0

Part Number: DRV8301

I have Arduino Uno and I have developed HTTSOP to DIP(with 2.57mm pitch header) PCB board. I have soldered tiny chip of DRV8301 on this PCB board. I have attached all the peripherals as described in the reference design in the datasheet. I have also connected EN_GATE to 5V and VDD_SUPPLY to 5V pin on Arduino Uno board. I tried just SPI communication with DRV in the beginning as I want to configure it in 3-PWM mode. I think following is register value to be communicated for this, write in 0x02 with value of 0x08 so register becomes like

0x1008 for configuring DRv in 3-pwm mode.

But unfortunately I can only read values and even if I write anything over SPI and then try to read from those values I get default value back i.e

read 0x02 register command is 

0x9000

and response I get is

0x9000

instead of 

0x9008 after written configuration of 3-PWM mode to dRV. 

Please help!!


Viewing all articles
Browse latest Browse all 21639

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>