Hi
I have an AVR (AtMega32) microcontroller controlling a permanent magnet dc motor. I'm using an L298 dual H-bridge chip with the motor voltage supply coming from a seperate supply than that of the microcontroller. The H-bridge logic inputs are driven directly by the microcontroller and after a while the microcontroller goes crazy. Just to check, I disconnected the H-bridge logic inputs from the microcontroller and connected them directly to the microcontroller power supply (5V and GRD). Doing this did not stop the erratic behaviour.
Somehow the motor seems to be affecting the digital supply even though it is running from a different supply. What filtering strategies should I use?
I have an AVR (AtMega32) microcontroller controlling a permanent magnet dc motor. I'm using an L298 dual H-bridge chip with the motor voltage supply coming from a seperate supply than that of the microcontroller. The H-bridge logic inputs are driven directly by the microcontroller and after a while the microcontroller goes crazy. Just to check, I disconnected the H-bridge logic inputs from the microcontroller and connected them directly to the microcontroller power supply (5V and GRD). Doing this did not stop the erratic behaviour.
Somehow the motor seems to be affecting the digital supply even though it is running from a different supply. What filtering strategies should I use?