I am using a single L9110 full bridge IC to drive a small DC motor in a project. It is driven by a ATMEGA 2560 on a custom PCB. It's dircetly connected to (Arduino) pins 7 & 8, without any other peripheral components. My problem is that sometimes something seems to be going wrong and the IC goes up in smoke immediately. I initially suspected that for some reason both pins go high at the same time which damages the IC. However the datasheet doesn't say anything about that not being allowed. (Just says that output will be low in this case) The current drawn by the motor is betwen 300 - 400mA, which shouldn't be a problem since the IC is rated for 800mA continuous.
Is there anything I am missing? Should I add any additional components to protect the IC? I saw that the L9110 breakout boards available have 1k pullup resistors on the inputs, though I don't understand why. Will using a PWM signal as input damage the IC? Or can someone recommend a better full bridge IC I could use instead? (Preferably in a SOT8 package)