2026-02-06 3:10 AM
In STEVAL-KITXCB for controlling SD/OD pin of L6491 using such method. PWM_en connected to MCU pin.
I want use same principle in my design. Can anybody describe how program this.
Is such hw connection support both function for enable PWM and for controll error state of driver? (I need both)
Solved! Go to Solution.
2026-02-09 1:10 AM
Something like that.
In principle, the status of the OD pin could also be used as feedback to the microcontroller. Typically, the integrated comparator continuously measures the low-side shunt of the half-bridge via the CP+ and CP- pins, deactivates the half-bridge in the event of overcurrent and activates the OD pin (see data sheet, fig. 6 and corresponding description in section 7).
If the PWM is not applied to the L6491 with a push-pull output, but with an open drain output, this would form a wired OR with the OD of the L6491. Theoretically, it would then be possible to check during each high cycle of the PWM whether the high was output or pulled low by the OD of the L6491, which corresponds to an error case.
Regards
/Peter
2026-02-06 4:07 AM
You have probably misunderstood the function of the pin SD/OD. Section 7 of the data sheet of the L6491 describes this in more detail. It is not a matter of reporting a status back to the microcontroller, but rather that OD keeps the SD input deactivated. PWM_en/SD in the schematic above therefore only functions as an input.
Excerpt from the data sheet::
In the smart shutdown circuitry, the fault signal has a preferential path which directly switches off the outputs after the comparator triggering. At the same time, the internal logic turns on the open-drain output and holds it on until the SD voltage goes below the smart SD unlatch threshold VSSD.
When such threshold is reached, the open-drain output is turned off, allowing the external pull-up to recharge the capacitor.
Hope that answers your question?
Regards
/Peter
2026-02-06 4:50 AM
When choosing a IC
, I read about the 2EDL23x06PJ (Infineon), which did not fit the current parameters. On the block diagram, this pin is similar to the L6491, and in the documentation it is described as "SD pin is Shutdown logic input (active low)/open-drain comparator output (page 3)"
On figure shown description for 2EDL23x06PJ.
So in L6491 I can use SD pin only for enable/disable chip?
Then question - how to inform MCU about fault state?
2026-02-06 11:24 AM
Well, both devices are similar, but not identical – the 2EDL23x06PJ has a slightly different internal structure. Take a look at the function block diagram on page 3 of its data sheet: there you will find an OR gate that is not only connected to the comparator output, but also to the block UV detect (undervoltage).
The L6491 also has UV detection, but for the high side, and it acts directly on the shutdown of the high side block. Depending on the application, this can be more advantageous because the signal of an under-voltage event does not first have to be processed by the microcontroller and then trigger an action, but has an immediate effect.
However, there is no status in the L6491 that you could report via the OD pin. If the UV detection were to become active, this would immediately affect the controlled half-bridge, from whose status the microcontroller can draw its conclusions.
Regards
/Peter
2026-02-08 10:49 PM
So correct scenario for control L6491 (as I understand)
1. External pull up resistor + cap for IC enable.
2. SD pin connected to MCU input pin for error state checking. When pin in LO state we know that we have error.
3. To disable IC I disable PWM.
Is it correct?
2026-02-09 1:10 AM
Something like that.
In principle, the status of the OD pin could also be used as feedback to the microcontroller. Typically, the integrated comparator continuously measures the low-side shunt of the half-bridge via the CP+ and CP- pins, deactivates the half-bridge in the event of overcurrent and activates the OD pin (see data sheet, fig. 6 and corresponding description in section 7).
If the PWM is not applied to the L6491 with a push-pull output, but with an open drain output, this would form a wired OR with the OD of the L6491. Theoretically, it would then be possible to check during each high cycle of the PWM whether the high was output or pulled low by the OD of the L6491, which corresponds to an error case.
Regards
/Peter
2026-02-09 1:46 AM
I apply PWM signal to pins 1,3 (pin 1 and 3 wired).
2026-02-10 1:17 AM
In this case, too, my last statement may be possible if your PWM output is open drain.
Regards
/Peter