Skip to main content
Final Explanation
Source Link

Now I found why it's not working... Well, actually it works if and only if it start with logic 00 (undriven state) in it's input pins. Any input pin can only be pulled high after some brief period of time.

I don't know whyIt is suggested in L298N datasheet (in Application Information section, 2nd point, last paragraph -- page 7 of 14) that "Before to Turn-ON the Supply Voltage and before to Turn it OFF, the Enable input must be like thatdriven to the Low state. Perhaps some"

Since the enable line is boolean OR product of you can explain what happened so next time such occurrence can be avoided? But for now it's OK through, since in real applicationthe logic is driven via MCUinputs, not hard-wired like my prototypeboth of them must be set to zero (low) before supply applied to Vs (power supply).

Now I found why it's not working... Well, actually it works if and only if it start with logic 00 (undriven state) in it's input pins. Any input pin can only be pulled high after some brief period of time.

I don't know why it must be like that. Perhaps some of you can explain what happened so next time such occurrence can be avoided? But for now it's OK through, since in real application logic is driven via MCU, not hard-wired like my prototype before.

Now I found why it's not working... Well, actually it works if and only if it start with logic 00 (undriven state) in it's input pins. Any input pin can only be pulled high after some brief period of time.

It is suggested in L298N datasheet (in Application Information section, 2nd point, last paragraph -- page 7 of 14) that "Before to Turn-ON the Supply Voltage and before to Turn it OFF, the Enable input must be driven to the Low state."

Since the enable line is boolean OR product of the logic inputs, both of them must be set to zero (low) before supply applied to Vs (power supply).

Source Link

Now I found why it's not working... Well, actually it works if and only if it start with logic 00 (undriven state) in it's input pins. Any input pin can only be pulled high after some brief period of time.

I don't know why it must be like that. Perhaps some of you can explain what happened so next time such occurrence can be avoided? But for now it's OK through, since in real application logic is driven via MCU, not hard-wired like my prototype before.