Patent ID: 9596363
Date: 2017-03-14
CPC Classifications: H04N

Claim:
1. An electronic apparatus that includes an electronic apparatus body to which an accessory device can be connected, and performs communication between the electronic apparatus body and the accessory device connected thereto, wherein in a case where the electronic apparatus body transmits first data to the accessory device in synchronism with a clock signal, and receives second data from the accessory device in synchronism with the clock signal, the electronic apparatus body is capable of performing data communication selectively using a first communication method and a second communication method which is different from the first communication method, and in the second communication method, a low level of the second data is different in level from a low level of the clock signal and a low level of the first data in the first communication method, and wherein the electronic apparatus body includes: a level changing unit configured to change, in a state in which the clock signal is set to a high level in the first communication method, the first data from a high level to the low level, and then further change the first data from the low level to the high level; and a detection unit configured to detect a change in level of the second data responsive to a change in level of the first data caused by said level changing unit, to thereby detect, based on a result of the detection, whether or not the accessory device is normally connected to the electronic apparatus body, and whether or not the accessory device is compatible with the second communication method.