The growth of FexNy thin films on GaAs, In0.2Ga0.8As, and Si02/Si substrates using an ultra high-vacuum (UHV) deposition chamber equipped with electron cyclotron resonance (ECR) microwave plasma source is presented. The structural properties of the deposited films have been measured using various techniques as x-ray diffraction (XRD), Auger electron spectroscopy (AES), and transmission electron microscopy (TEM). The results of XRD measurements show that the films consist of a combination of α-Fe, α'-Fe, γ-Fe4N, and α”- Fe16N2 phases. The depth profiles, calculated from the Auger peak intensities, show a uniform nitrogen concentration through the films. The TEM reveals a columnar structure of these films. The properties of the different Fe-N layers have been exploited in the fabrication of Fe(N) / FexNy / Fe trilayer structures, where Fe(N) means a slightly nitrogen doped Fe film. The magneto-transport properties of this trilayer structure grown on In0.2Ga0.8As substrates are presented.