How to stop EMI from a pwm-fan

PWM INPUT VOLTAGE RANGE:
High level= 2.8 to 20 VDC
Low level= 0 to 0.4 VDC
PWM INPUT CURRENT (IPWM) RANGE:
40uA to 20mA
To control signal line of the fan shall be able to accept a 30Hz to 30kHz.
The preferred operating point for the fan is 0%~100% of duty cycle.


So it will work on my frequency as well.

My program though works with analogwrite...can it be that this brushless fan needs digitalwrite??

With this brushless fan there is no EMI causing problems but i only have to get it to work on pwm. So shall i close this thread and start a new one with the question "how to controll a brushless fan by pwm on arduino" ? or just google more for it?

I read that some fans have their own pwm controller onboard, don't know if this fan has it but i read on several websites that this fan can do pwm. Also when i connect the blue wire to ground it doesn't slow down (i know it wasn't smart to do that, hope it's still good).