What wires are you conneting to what pins, supplies, in your design ?
Do you have a schematic of your connections, and a datasheet of the fan ?
Does your power supply have the current capability to supply fan ?
i resolved the problem
There is an App Note on PSoC 1- Intelligent Fan Control. It can be downloaded from the link http://www.cypress.com/?rID=62757. Since you are working on a Fan Controller application, this could be useful for you.