An electronic circuit includes a substrate having a surface and a device supported by the surface of the substrate. The electronic circuit also includes a magnetic field transducer disposed over the surface of the substrate and an insulating layer disposed between the substrate and the magnetic field transducer. The electronic circuit also includes a conductor disposed over the magnetic field transducer. The conductor is configured to carry an electrical current to generate a first magnetic field. The electronic circuit is responsive to the first magnetic field.