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.

DRV8353: SPI module configuration

Part Number: DRV8353

Tool/software:

we are trying to configure the DRV via SPI module.

while accessing the DRV8353, to write the data via SPITX register to DRV register address, we provided the necessary information like address and data and its successfully transmitting via SPITX =0x03FF; register.

but while reading back we are receiving SPIRX= 0000;

we are not receiving any data in SPIRX, here i attached the reference image

we need to access DRV registers, and we want to write and read the data from register.?

also is there any specific baud rate for SPI configuration?

SPI WRITE:

SPI READ:

  • Hello,

    There are a few things I noticed. Thank you for sharing waveforms.

    1. You mention you read back 0x0000 but it looks like there is a 1 bit high in the data somewhere. it looks like it is reading 0x0040 or something else other than 0x0000. Can you confirm?

    2. You say that write command is working, but can you be sure that the DRV device is actually changing registers based on the write? For example, is there a setting you can trigger using SPI write to see if the read is actually working? EX: Writing 1 to BRAKE bit in Driver Control Register, will you see all lowside on? This can help confirm if your write command is actually working.

    3. There is no specified baud rate for SPI here. You can try to lower it to see if that helps at all. 

    Thank you,

    Joseph

  • we have rectified the issue by updating the DRV register configuration.