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: DRV8353 SPI Register programming

Part Number: DRV8353

Tool/software:

Regarding Register programming especially W/R ones where deice is configured for specific performance. Table 15 is shown below but questions apply to other tables as well. 

1. Does LOCK apply to all registers not only Table 15 where it is defined ?

2. Can we change only certain bits in a register without affecting others?

2.a Do we have to read register first mask out the bits modify and rewrite?

3 When we unlock does it unlock to all registers?

4 Is there a sample register setup and modify program or process flow chart?

is there a 

  • Hi Turguy,  

    Thank you for reaching out again on our forum. 

    Please let me look into these questions and follow-up by the end of this week before the holiday leave starts. 

    Thank you and Best Regards, 

    -Joshua

  • Hi Turguy, 

    1. Does LOCK apply to all registers not only Table 15 where it is defined ?

    Yes, when LOCK is set only the LOCK bits and CLR_FLT (address 0x02h) are writable.  

    2. Can we change only certain bits in a register without affecting others?

    Yes, I believe as long as the new SPI write to the register doesn't overwrite the previously written value. 

    2.a Do we have to read register first mask out the bits modify and rewrite?

    Can you help to clarify this question? If asking if you need to read the register before writing,  no, you can just write to a register.  

    3 When we unlock does it unlock to all registers?

    Yes, this will unlock all registers as defined in the LOCK bits section of the datasheet.  

    4 Is there a sample register setup and modify program or process flow chart?

    The 8.5.1.1. SPI definition covers the important flow of SPI operation, and the device registers have their default values defined (there should not.be setup needed outside of programming your desired settings).

    Hope this information is helpful. 

    I will be out of office/unavailable from tomorrow until 1/03/2025 on holiday leave, and will look forward to provide any additional support when I return.  

    Best Regards, 

    -Joshua