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.

BOOSTXL-DRV8301: DRV8301-no answer on SDO

Part Number: BOOSTXL-DRV8301
Other Parts Discussed in Thread: DRV8301,

Hello,

I want to change amplifiers gains in DRV8301 from 10 to 40 times. I use BOOSTXL-DRV8301 board and infineon uC XMC4500. DRV seems to ignore the protocol , and always sens the same reponse which is firslty only zeros and on the next cycle 0011 1100 0000 0000. SPI is configured as described in DRV datasheet. CLK speed is 5Mhz ( I also tried 500kHz and 20kHz , all gave same results). Connections were double checked several times. CS pin seems to work properly as far as i can tell. SPI is lauched about 200ms after EN_GATE is pulled high so startup procedure is not the reason of malfunction.  The chip itself is not brokenas PWMs and opamps are working. 

Code for SPI transmission is:

uint8_t Read_Data[10] = {0};

uint16_t sendWord = 0b0001100000001100;

SPI_MASTER_TransmitWord(&SPI_enkoder, sendWord); // photo 1

sendWord = 0b1001100000000000;

for(int i = 0; i < 5; i++)

{

SPI_MASTER_TransmitWord(&SPI_enkoder, sendWord); //photo 2 and 3

SPI_MASTER_Receive(&SPI_enkoder, Read_Data, 2); //photo 4

}

Best Regars,

Łukasz