text: Cadmium iodide is prepared by the addition of cadmium metal , or its oxide , hydroxide or carbonate to hydroiodic acid .
simplified: It can also be made by reacting cadmium , or cadmium oxide with hydriodic acid .