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.

DRV8889-Q1EVM: SPI usage on DRV8889-Q1

Part Number: DRV8889-Q1EVM
Other Parts Discussed in Thread: DRV8889-Q1

I have  some questions regarding the SPI setup configurations of DRV8889-Q1

1.What is the bitrate I should be using while reading/writing the registers ?

2. What is the SPI mode? ( I am uisng POL=0 and PHA=1 , is that correct?)

3. Do I have to Enable DRVOFF and nSLEEP before using SPI transactions?

4. If I want to read a register lets say 0x0A (CTRL 8), I am uisng a 16 bit txbuf with value 0x5400( from the data sheet of DRV8889-Q1 - SDI operation). But I am not able to receive any data on SDO pin(0xC002 is expected). Please let me know if I am missing something here.

Below is the analyzer outputs for SCLK,CS, SDI(MOSI of Master), SDO(MISO of Master)

Thank you,

Arshiya Tabassum

  • Arshiya,

    1. The minimum tclk is 100ns. So, the bitrate should be lower than 1MHz while reading/writing the registers.

    2. "What is the SPI mode? ( I am uisng POL=0 and PHA=1 , is that correct?)" Don't understand the question. DRV8889-Q1 is a SPI device. Always SPI mode.

    3. I have to Enable nSLEEP before using SPI transactions. DRVOFF is not related to SPI transactions.

    4. Please use GUI with an EVM to read CTRL8 and compare the waveform you have.