Hi forum,
I going to drive a PMSM motor. this motor is equited with 3 hall effect sensor. am going to use hall effect sensors to control the posstion. the outout of hall sensors are connected to eacp pins of the microcontroller. my problem is when the motor is drived,it causes a lot of noise on power line. this noise comes to microcontroller power and causes problem for it. I have illustrared the output of hall sensor in the belowing image. could you please tell me how I can minimize the noise level? thanks in advance.