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: Current Sense Amplifier Calibration

Part Number: DRV8353

Tool/software:

Hi,

I think these questions has been asked in some variation on this forum before, however I cannot find any full description of the solution/what goes on under the hood.

How does the DRV8353S trigger the auto calibration of the current sense amplifier

From the datasheet, I have the following; the auto calibration will occur when VREF passes some threshold.

How does this interact with the gate driver enable pin/device sleep state? The datasheet says that in sleep mode, the sense amplifiers are disabled. Does this mean that the sense amplifier will actually only auto calibrate when VREF and functional mode == operating?
Does this mean that, if the gate driver is powered (VREF is stable for a long period), the auto calibration will be triggered when the gate driver transitions from sleep to operating mode?
From the above description of the auto calibration, it is suggesting that the only triggering event for the auto calibration is VREF matching some threshold, and it is independent of the device functional mode.

How exactly are the SPI registers for calibration supposed to work. The datasheet is not at all clear on their operation and how they should be used.

The datasheet states that the CSA_CAL_X bits should be used to make each amplifier go into calibration mode. How exactly are these registers supposed to be used. It says that the AUTO_CAL bit should be set to 1, and then the CSA_CAL_X bits should be set to rerun the auto calibration routines. This description doesnt make sense with the description of the AUTO_CAL register. 0 is the manual calibration mode, and 1 is the auto calibration mode. For AUTO_CAL, what do these bits mean? Does manual mode mean we are manually triggering CSA_CAL_X after the initial boot-up auto calibration? Or if the previous statement is correct, why is bit == 1 called "auto", when we are manually having to trigger the calibration routine by setting CSA_CAL_X ? What does manual mode actually mean here, there is no other reference to it in the datasheet.

Furthermore, how is CSA_CAL_X supposed to be used? It appears that it needs to be turned on, and then off at some period of time. Without turning this off, the sense amplifier appears to not work and causes an over current event on the HW.

Essentially, I want to know exactly what the sequence is to re-run the amplifier calibration at a known time. What register accesses need to be made, in what order, with what timings, and how does this interact with the rest of the gate driver state.

  • Hi Emily, 

    Thank you for posting your question to our forum! Please let me research into each of these cases and respond appropriately by Wednesday. 

    Best Regards, 

    -Joshua

  • Hi Emily, 

    From the above description of the auto calibration, it is suggesting that the only triggering event for the auto calibration is VREF matching some threshold, and it is independent of the device functional mode.

    From my understanding the trigger for setting the auto calibration is as you mentioned in the datasheet, where a toggle in power state (whether VM initially or awaking sleep mode) will result in the calibration beginning as long as the VREF voltage is at the appropriate threshold. 

    Regarding the calibration registers, please let me continue to look into and follow-up as soon as I can after this holiday.  

    Thank you and Best Regards,

    -Joshua

  • Hi Emily, 

    For AUTO_CAL, what do these bits mean? Does manual mode mean we are manually triggering CSA_CAL_X after the initial boot-up auto calibration?

    This is correct-  After device power up, setting the Auto-cal bit high allows you to selectively re-run calibration on any specific amplifier during operation, as explained in this paragraph here:  To do this, simply write high/low to the associated Cal_x register when desired during the switching off period of a phase-X (while the other two phases are active to minimize noise impact on the calibration)

    Hope this helps clear up any confusion!

    Best Regards,

    -Joshua

  • Thank you for your response Joshua, I still have some follow ups.

    1. How does the calibration interact with the GD enable pin? Will the automatic start calibration ALWAYS occur when VREF reaches threshold, even if the GD is disabled? The reason I ask this, is because the power supplies will not be stable as soon as VREF reaches the threshold. 
    2. What does CAL_MODE = 0 (manual mode) mean, if the manual calibration by the user requires the user to put it into auto mode?

    Can I confirm that this is then the sequence of events that are required, from boot, to perform a manual calibration of the amplifier some time after power up:

    1. GD power on (VIN, VM, and VREF reach levels)
    2. GD enable pin set?
    3. GD performs automatic self calibration on start up
    4. Wait some period for any power supplies to settle
    5. Perform SPI device setup (excluding calibration).
    6. Disable PWM inputs to GD (in this case, keep it simple and lets just say we fully disable PWMs/MOSFETs so there is no interaction with the calibration)
    7. SPI write: CAL_MODE = 1
    8. SPI write: CSA_CAL_A, CSA_CAL_B, and CSA_CAL_C = 1
    9. Wait >50us for calibration to complete
    10. SPI write: CSA_CAL_A, CSA_CAL_B, and CSA_CAL_C = 0
    11. SPI write: CAL_MODE = 0
    12. Complete
  • Hi Emily,

    How does the calibration interact with the GD enable pin? Will the automatic start calibration ALWAYS occur when VREF reaches threshold, even if the GD is disabled? The reason I ask this, is because the power supplies will not be stable as soon as VREF reaches the threshold. 

    I believe the automatic start only occurs when the driver is enabled, as the CSAs should be disabled when the driver is disabled.  

    What does CAL_MODE = 0 (manual mode) mean, if the manual calibration by the user requires the user to put it into auto mode?

    From my understanding manual calibration is a different type of calibration routine (activated by setting the cal_x bits high) -- From the Datasheet: When the calibration setting is enabled the inputs to the amplifier are shorted and the load is disconnected.

    While auto calibration functions by doing a trim routine of the amplifiers. 

    And that procedure should be correct! I do not see any issue with that startup routine.  

    Best Regards,

    -Joshua