Patent ID: 8289019

Claim:
A sensor comprising: a substrate having a first major surface on a first side and a second major surface on a second side that opposes the first major surface, wherein the substrate is a semiconductor die, the substrate comprising: a sensing element that includes a first ferromagnetic layer and a second ferromagnetic layer and a spacer layer situated between the first ferromagnetic layer and the second ferromagnetic layer, wherein the second ferromagnetic layer is situated on the spacer layer and the spacer layer is situated on the first ferromagnetic layer; and magnetic material encapsulating the substrate such that the magnetic material is on the first side and adjacent the first major surface and on the second side and parallel to the second major surface and the magnetic material is magnetized on the first side and the second side of the substrate to provide magnetic field lines that flow substantially perpendicular to the first major surface and the second major surface.