Reduction of number of input/output pins by using a serial interface to transmit or receive addresses or data