Abstract: A semiconductor device comprising a substrate voltage-generating circuit which has an oscillating circuit and a pumping circuit. The substrate voltage-generating circuit also has a control circuit for controlling the application of the output signal of the oscillating circuit to the pumping circuit and a terminal electrode for receiving an external signal to control the control circuit and to stop the application of the output signal of the oscillating circuit to the pumping circuit.