An embedded system based on a IC for neural impedance measurement