The invention relates to a HA/Ti coating in the field of medical materials. The HA/Ti coating is prepared through the following steps that A) a titanium plate is treated, wherein a pure titanium plateis ground through a 1200#SiC abrasive paper so as to remove a surface oxidation layer, and then undergoes industrial treatment through an acidic etchant for later use; B) the pure titanium plate treated in the step A) is taken as a cathode, a nickel sheet is used as an anode plate, the coating is prepared through an electrochemical deposition method, an electrolyte is a CaCl2 and Na2HPO4 mixed solution of 10<-4> mol/L, wherein the molar concentration ratio of calcium to phosphorus is 2 to 1, moreover, the pH value is adjusted to be 5.5-7.0, electrochemical deposition is performed under a boiling condition, then the cathode is taken out, and the calcium-phosphorus salt coating is prepared. In the method, an electrochemical hydrogen evolution reaction is an important induction step, necessary OH<-> is provided for the second-step chemical precipitation process, meanwhile, the hydrogen evolution process can also affect the degree of oversaturation of the electrolyte near the surface of the electrode, so that the surface morphology and grain size of the HA coating of the surface of the electrode are further affected, the calcium-phosphorus salt coating prepared on the surface of the titanium plate by adopting the method has good preferred orientation, and can have the relatively good capacity of promoting the growth of hard tissues after being implanted into a living body, moreover, the size of the grain cross section of the calcium-phosphorus salt coating is small, the stability is good, and the morphology of the coating is uniform.