摘要 |
According to an embodiment, a semiconductor device includes an analog/digital conversion unit (3), a pulse width modulation unit (5) outputting a transmission signal, the transmission signal being a pulse pattern corresponding to a digital signal output from the analog/digital conversion unit (3), a reference signal generation unit (7) generating a reference signal, the reference signal being a fixed pulse pattern. The device includes a first control unit (13) selecting one of the transmission signal and the reference signal, a light emitting element drive unit (9) outputting a drive current based on the transmission signal or the reference signal, a light emitting element (15) driven by the light emitting element drive unit (9). The device includes an optical receiving unit (21) converting the optical signal into a voltage signal, and a demodulation unit (25) demodulating the voltage signal into a digital signal based on the transmission signal or the reference signal.
|