Part Number:DRV8703-Q1
By using SPC58Ecxx Microcontroller, drv8703-q1 H-Bridge driver as motor driver with SPC5 studio as development tool.
We are able to read drv8703 driver registers by using SPI command for the above MC.
we followed the same procedure for SPI write, but we are unable to write.
The below steps for SPI Read and Write operation.
The SDI input-data word is 16 bits long and consists of the following format:
• 1 read or write bit, W (bit 15)
• 4 address bits, A (bits 14 through 11)
• 3 don't care bits, X (10 through 8)
• 8 data bits, D (7:0)
The SDO output-data word is 16 bits long and the first 8 bits are don’t care bits. The data word is the content of
the register being accessed.
For a write command (W0 = 0), the response word on the SDO pin is the data currently in the register being
written to.
For a read command (W0 = 1), the response word is the data currently in the register being read.
Please guide us to perform SPI write operation to change motor direction as forward->backward, backward->forward
Thanks in advance.