The invention discloses an
optical module and an optical line terminal device. The
optical module includes: a housing, a circuit board, an optical
assembly and a storage unit. The optical
assembly is in
electrical connection to the circuit board and is intended for generating an optical
signal based on an electrical
signal; or is intended for converting the received optical
signal to an electrical signal; the storage unit is in
electrical connection to the circuit board, and is intended for storing the working parameters of the optical
assembly; the circuit board, the optical assembly and the storage unit are packaged inside the housing, and the circuit board is provided with an electrical interface thereon, and the electrical interface have pins which are in one by one corresponding connection to a driving end of the optical assembly and a
data transmission base pin of the storage unit. When the
optical module works, the working parameters of the optical assembly are transmitted to an external master control
chip through the electrical interface, and the external master control
chip configures an external drive circuit on the basis of the working parameters of the optical assembly, and the external drive circuit drives the optical assembly through the electrical interface. The optical module only packages the optical assembly and the storage unit and is conductive to the reduction of the volume of the optical module.