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.

DRV3946-Q1: Command Register

Part Number: DRV3946-Q1

Tool/software:

Good day, colleagues,

My customer has a question about the DRV3946 Command Register B0 to B4:


I want to vary the center frequency (to 20kHz with dither). But when I change the values, I always get the default values 0x0B.
In the pre-production samples it was possible to disable the crc-checks.

I think something is "wrong" with the CRC. Maybe you can give me the correct values for B0 to B4 and I can try them out?

Thank you,

Daria

  • Hi Daria,

    Thanks for your question.

    Can you please confirm the SPI data which was sent to configure the center frequency. The CRC should not have an impact in setting the frequency. The CRC error should just give a warning in the default condition.

    Thanks,

    Ibinu

  • Hi Ibinu,

    Please see below:

    For example when i want to use 20 kHz:
    0xA623, 0x0000, 0xDFDF, 0x0000, 0x0000,

    i use the example on the ti website as a code base, so i integrated crc (and every change with 2p0) and applied it to my code.




    The SPI-Output is:  So it looks like "Default"-Values with 10 kHz. ConfigA looks good (3.5 A / 1A Hold and 56ms Peak)

    Changing just B4 for example to C000 works (i think)
    0xA623, 0x0000, 0xDFDF, 0x0000, 0xC000,

    Thank you,

    Daria

  • Hi Daria,

    Just to clarify the PWM frequency register is Config B2. 

    The CRC register was moved from Config B2 to Config B4 for the latest revision of Silicon.

    SO if we write the Config B2 register for PWM frequency that should setup the device with the correct setting. Please let me know if this clarifies.

    Thanks,

    Ibinu