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-Q1: DRV8889-Q1 SPI Write command response Clarification

Part Number: DRV8889-Q1

Hi Team,

We are using DRV8889-Q1 in our design. I have a query related to control registers write command. when i write some data (0x06E1) to ctrl register 1, will the DRV8889-Q1 IC send response whatever i written?

Ex:

MOSI->0x06E1 (0x06->cmd byte+address, 0xE1->data byte)

MIS0->0xC1E1 (0xC1->fault status, 0xE1->data byte)

if there is no spi communication issue, am getting the above data (data byte matching).

 

MOSI->0x06E1 (0x06->cmd byte+address, 0xE1->data byte)

MIS0->0xC1E0(0xC1->fault status, 0xE0->data byte)

if there is spi communication issue, am getting the above data (data byte not matching).

could you please confirm our understanding is correct or not?

 

Thanks & Regards,

Pavithran

  • Hi,

    Thank you for your questions and interested in DRV8889-Q1.

    >>>MOSI->0x06E1 (0x06->cmd byte+address, 0xE1->data byte)

    If SPI error happens, response on REPORT"B7:0" at SDO pin will not be specified. Some error data come out on B7:0. 

    regards

    Shinya Morita

  • Hi Shinya Morita,

    Thank you for your reply.

    Suppose if the SPI is success, the response will be whatever we have written right?

    Ex:

    MOSI->0x06E1 (0x06->cmd byte+address, 0xE1->data byte)

    MISO->0xC0E1 (0xC0->fault status, 0xE1->Reported Response at "B7:0" at SDO pin)

    In the above example am writing 0xE1 in ctrl register, upon SPI success the response will be 0xE1 right?

    I just want to confirm this, whether our analysis is correct or not.

    Could you please confirm this?

    Thanks & Regards,

    Pavithran

  • Hi Pavithran,

    Thank you for sharing what is your goal to achieve. 

    Reported response at SDO pin is previously written. So your way does not work if previously written(stored) data is different from the currently writing.

    However, it can be used to check whether previously written data is correct or not.

    SPI_ERROR bit and SPI read command (Bit B14=1) may be used for additional checking.

    regards

    Shinya Morita

  • Hi Shinya Morita,

    Thank you so much for your support.

    From this, it is clear that, it can be used to check whether previously written data is correct or not.

    Thanks & Regards,

    Pavithran