Spinal ligament transducer based on a hall effect sensor