Electronics and Accessories

The solution enhances data communication responsiveness in camera systems by using a detachable accessory with multiple communication methods, addressing the real-time challenges of increased data exchange.

JP7735074B2Active Publication Date: 2025-09-08CANON KK
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2021073024
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-04-23
Publication Date
2025-09-08
Estimated Expiration
2041-04-23

AI Technical Summary

Technical Problem

Existing camera systems face challenges in maintaining real-time data communication when the amount of data communication increases and many-to-many communication is performed, leading to insufficient responsiveness.

Method used

The implementation of an accessory that can be detachably and communicably attached to an electronic device, utilizing a first and second communication method to enhance data communication responsiveness, along with an electronic device capable of receiving and processing communication requests using different methods.

Benefits of technology

Enables effective data communication between accessories and electronic devices with improved responsiveness, ensuring timely data exchange.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007735074000001
    Figure 0007735074000001
  • Figure 0007735074000002
    Figure 0007735074000002
  • Figure 0007735074000003
    Figure 0007735074000003
Patent Text Reader

Abstract

To perform data communication with good responsiveness between an accessory and an electronic apparatus.SOLUTION: An accessory 200 is detachably and communicably attached to an electronic apparatus 100. The accessory includes accessory processing means 201 for making a communication request to the electronic apparatus and transmitting information about a factor of the communication request. The accessory processing means notifies the electronic apparatus by a first communication method of information corresponding to a use communication method used for communication of the information about the factor, of the first communication method and a second communication method different from the first communication method.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to an electronic device, such as an imaging device, to which accessories can be attached. [Background technology]

[0002] In a camera system that allows accessories to be attached to an imaging device (camera), the camera and the accessory exchange data with each other via communication. When such a camera system is controlled in response to user operations on the accessory, it is necessary to perform highly real-time data communication between the camera and the accessory so as not to miss a shutter opportunity.

[0003] Patent Document 1 discloses a camera system in which an adapter is attached between the camera and interchangeable lens, and when changes in optical parameters caused by the adapter are corrected, one-to-many communication is performed between the camera, interchangeable lens, and accessories to improve the real-time nature of data communication. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Japanese Patent Application Publication No. 2018-205711 Summary of the Invention [Problem to be solved by the invention]

[0005] However, with the camera system of Patent Document 1, when the amount of data communication increases and many-to-many communication is performed, it is not possible to sufficiently improve the real-time nature of data communication.

[0006] The present invention provides accessories and electronic devices that provide responsive data communication. [Means for solving the problem]

[0007] According to one aspect of the present invention, there is provided an accessory that is detachably and communicably attached to an electronic device. The accessory has an accessory processing means that issues a communication request to the electronic device and transmits information relating to the cause of the communication request. The accessory processing means selects one of a first communication method and a second communication method different from the first communication method to be used for communicating the information relating to the cause. How to obtain factors and notifying the electronic device of information corresponding to the In response to a communication request being made to the electronic device, information regarding the cause of the communication request is transmitted to the electronic device using a communication method corresponding to the cause acquisition method notified to the electronic device. It is characterized by:

[0008] Another aspect of the present invention is an electronic device to which an accessory is detachably and communicably attached. The electronic device has a first processing means that receives a communication request from the accessory and is capable of communicating with the accessory using a first communication method, and a second processing means that is capable of communicating with the accessory using a second communication method different from the first communication method. The first processing means uses the first communication method to communicate information from the accessory regarding the cause of the communication request using one of the first and second communication methods. How to obtain factors The first and second processing means receive a notification of From accessories Notified Corresponding to factor acquisition method A processing means capable of communicating by the communication method is Corresponding to factor acquisition method The electronic device includes an accessory and a communication system that receives information about the cause from the accessory. Note that a system including the electronic device and the accessory also constitutes another aspect of the present invention.

[0009] Another aspect of the present invention is a control method applied to an accessory that is detachable from and communicable with an electronic device, the control method including the steps of making a communication request to the electronic device, transmitting information related to a cause of the communication request, and selecting one of a first communication method and a second communication method different from the first communication method to be used for communicating the information related to the cause. How to obtain factors notifying the electronic device of information corresponding to the first communication method; In response to the communication request being made to the electronic device, transmitting information regarding the cause of the communication request to the electronic device using a communication method corresponding to the cause acquisition method notified to the electronic device; The present invention is characterized by having the following.

[0010] Furthermore, a control method according to another aspect of the present invention is applied to an electronic device to which an accessory is detachably and communicably attached, which has a first processing means for receiving a communication request from the accessory and capable of communicating with the accessory using a first communication method, and a second processing means for communicating with the accessory using a second communication method different from the first communication method. The control method includes: instructing the first processing means to select one of the first and second communication methods to be used for communicating information relating to a cause of the communication request from the accessory using the first communication method. How to obtain factors a step of receiving a notification from the first or second processing means; Corresponding to factor acquisition method The processing means capable of communicating by the communication method Corresponding to factor acquisition method and receiving information relating to the cause from the accessory via a communication method. Note that another aspect of the present invention is a program that causes a computer of the accessory or electronic device to execute processing in accordance with the control method. [Effects of the Invention]

[0011] According to the present invention, data communication can be performed between an accessory and an electronic device with good response. [Brief explanation of the drawings]

[0012] [Figure 1] FIG. 1 is a diagram showing the configuration of a camera system (camera, lens unit, and accessories) in a first embodiment. [Figure 2] FIG. 3 is a diagram showing a protocol of SPI communication in the first embodiment. [Figure 3] 4 is a flowchart showing processing performed by the camera and the accessory in the first embodiment. [Figure 4] FIG. 4 is a diagram showing communication data in SPI communication in the first embodiment. [Figure 5] FIG. 4 is a diagram showing accessory information in the first embodiment. [Figure 6] FIG. 3 is a diagram showing a processing sequence of the camera system according to the first embodiment. [Figure 7] FIG. 4 is a diagram showing accessory type information according to the first embodiment. [Figure 8] FIG. 3 is a diagram showing factors that cause a communication request in the first embodiment. [Figure 9] FIG. 4 is a diagram showing a communication interval in SPI communication according to the first embodiment. [Figure 10] 5 is a flowchart showing a startup process performed by the camera (camera control circuit A) in the first embodiment. [Figure 11] 6 is a flowchart showing a startup process performed by the camera (camera control circuit B) in the first embodiment. [Figure 12] 4 is a flowchart showing a process performed by an accessory in the first embodiment. [Figure 13] 6 is a flowchart showing a process performed when the camera acquires a communication request signal in the first embodiment. [Figure 14] 10A and 10B are diagrams showing an example of control performed when the camera acquires a communication request signal in the embodiment. [Figure 15] FIG. 10 is a diagram showing an example of an I2C communication waveform. [Figure 16] 4 is a diagram showing a process performed by the camera when transmitting N bytes of data from the camera to the accessory in the first embodiment. FIG. [Figure 17] 4 is a diagram showing a process performed by the camera when the camera receives N bytes of data from the accessory in the first embodiment. FIG. [Figure 18] 10 is a diagram showing a process performed by the accessory when transmitting and receiving N bytes of data between the camera and the accessory in the first embodiment. DETAILED DESCRIPTION OF THE INVENTION

[0013] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. [Example]

[0014] 1 shows the electrical configuration of an imaging system including an imaging device (hereinafter referred to as camera) 100, which is an electronic device according to a first embodiment of the present invention, and an accessory 200 detachably attached to the imaging device. The accessory 200 is, for example, a microphone device or a lighting (strobe or flash) device, and includes various devices that can be attached to the camera 100. The camera 100 and the accessory 200 are electrically connected by one-to-one contact between a plurality of contacts (terminals) TC01 to TC21 of a camera connection section 141 provided on the camera 100 and a plurality of contacts TA01 to TA21 of an accessory connection section 211 provided on the accessory 200. Note that the accessory 200 may not have some of the plurality of contacts TA01 to TA21.

[0015] The camera 100 is supplied with power from a battery 111. The battery 111 is detachable from the camera 100. A camera control circuit A101 serving as a first processing means and a receiving means in the camera 100 and a camera control circuit B102 serving as a second processing means are circuits that control the entire camera 100 and are configured by a processor (microcomputer) such as a CPU. The camera control circuit A101 and the camera control circuit B102 perform various controls and processes according to a computer program.

[0016] The camera control circuit A101 monitors the operation of switches and other components for operating the camera (not shown) and controls the system power supply in response to user operations. The camera control circuit A101 is configured with a low-power processor that can operate even when the camera 100 is in a low-power mode (second power state) in standby mode. On the other hand, the camera control circuit B102 controls the image sensor 122, display circuit 127, etc. The camera control circuit B102 is configured with a processor that stops operating in the low-power mode and operates in a normal operation mode (first power state).

[0017] In this embodiment, the camera control circuit A101 and the camera control circuit B102 are configured by separate processors, but they may be provided in a single processor.

[0018] The system power supply circuit 112 generates power supplied to each circuit of the camera 100 and is composed of a DC / DC converter circuit, an LDO (Low Drop Out), a charge pump circuit, etc. A voltage of 1.8V generated by the system power supply circuit 112, which receives power from the battery 111, is constantly supplied to the camera control circuit A101 as the camera microcomputer power supply VMCU_C. In addition, several types of voltages generated by the system power supply circuit 112 are also supplied to the camera control circuit B102 at any timing as the camera microcomputer power supply VMCU2_C. The camera control circuit A101 controls the system power supply circuit 112 to turn on and off the power supply to each circuit of the camera 100.

[0019] The optical lens 121 is detachably attached to the camera 100. Light from a subject incident through the optical lens 121 forms an image on an imaging sensor 122, which may be a CMOS sensor, a CCD sensor, or the like. The optical lens 121 and the camera 100 may be integrated. The subject image formed on the imaging sensor 122 is encoded into a digital imaging signal. The image processing circuit 123 performs image processing such as noise reduction and white balance processing on the digital imaging signal to generate image data, and converts the image data into an image file in JPEG format or the like for recording in the recording memory 126. The image processing circuit 123 also generates VRAM image data from the image data to be displayed on the display circuit 127.

[0020] The memory control circuit 124 controls the sending and receiving of image data generated by the image processing circuit 123 and other data. The volatile memory 125 is a memory capable of high-speed reading and writing, such as DDR3 SDRAM, and is used as a workspace for image processing performed by the image processing circuit 123. The recording memory 126 is a readable and writable recording medium, such as an SD card or CFexpress card, that can be attached to and detached from the camera 100 via a connector (not shown). The display circuit 127 is a display disposed on the rear surface of the camera 100, and is composed of an LCD panel, an organic EL display panel, or the like. The backlight circuit 128 adjusts the brightness of the display circuit 127 by changing the light intensity of the backlight of the display circuit 127.

[0021] The accessory power supply circuit A131 and the accessory power supply circuit B132 are voltage conversion circuits that convert the voltage supplied from the system power supply circuit 112 into a predetermined voltage, and in this embodiment generate 3.3 V as the accessory power supply VACC. However, they may also be configured to convert to other voltages.

[0022] The accessory power supply circuit A131 is a power supply circuit with low self-consumption power, composed of an LDO and the like. The accessory power supply circuit B132 is a circuit composed of a DC / DC converter circuit and the like, and is capable of passing a larger current than the accessory power supply circuit A131. The accessory power supply circuit B132 also consumes more self-consumption power than the accessory power supply circuit A131. Therefore, when the load current is small, the accessory power supply circuit A131 is more efficient than the accessory power supply circuit B132, and when the load current is large, the accessory power supply circuit B132 is more efficient than the accessory power supply circuit A131. The camera control circuit A101 controls the on / off of the voltage output of the accessory power supply circuit A131 and the accessory power supply circuit B132 depending on the operating state of the accessory 200.

[0023] The protection circuit 133 is configured with a current fuse element, a polyswitch element, or an electronic fuse circuit that combines a resistor, an amplifier, and a switch element. The protection circuit 133 outputs an overcurrent detection signal DET_OVC when the power supply current value supplied to the accessory 200 from the accessory power supply circuit A131 and the accessory power supply circuit B132 exceeds a predetermined value and becomes excessive (abnormal). In this embodiment, the protection circuit 133 is an electronic fuse circuit, and notifies the camera control circuit A101 with the overcurrent detection signal DET_OVC when a current of 1 A or more flows. The overcurrent detection signal DET_OVC indicates an overcurrent by going high. Note that the predetermined value may be configured to be different from 1 A.

[0024] The camera connection unit 141 is a connector for electrically connecting with the accessory 200 via 21 contacts TC01 to TC21 arranged in a row. The contacts TC01 to TC21 are arranged in this order from one end to the other in the arrangement direction.

[0025] TC01 is connected to ground (GND) and serves not only as a reference potential contact but also as a contact to control the wiring impedance of the differential signals D1N and D1P. TC01 corresponds to the third ground contact.

[0026] The differential signal D1N connected to TC02 and the differential signal D1P connected to TC03 are differential data communication signals that perform data communication in pairs and are connected to the camera control circuit B102. TC02, TC03, and TC07 to TCA10, TC12 to TC17, TC19, and TC20, which will be described later, are communication contacts.

[0027] TC04 as a first ground contact is connected to GND and serves as a reference potential contact between the camera 100 and the accessory 200. TC04 is arranged further outward in the arrangement direction of the contacts than TC05, which will be described next.

[0028] An accessory power supply VACC generated by accessory power supply circuits A131 and B132 is connected via a protection circuit 133 to TC05 as a power supply contact.

[0029] An accessory attachment detection signal / ACC_DET is connected to TC06, which serves as an attachment detection contact. The accessory attachment detection signal / ACC_DET is pulled up to the camera microcomputer power supply VMCU_C via a resistive element Rp134 (e.g., 10 kΩ). The camera control circuit A101 can detect whether the accessory 200 is attached by reading the signal level of the accessory attachment detection signal / ACC_DET. If the signal level (potential) of the accessory attachment detection signal / ACC_DET is a Hi level (predetermined potential), it is detected that the accessory 200 is not attached, and if it is a Lo level (GND potential) as an active potential, it is detected that the accessory 200 is attached.

[0030] When the power of the camera 100 is turned on, the signal level (electric potential) of the accessory attachment detection signal / ACC_DET changes from Hi level to Lo level, which triggers various communications between the camera 100 and the accessory 200 via the contacts.

[0031] In response to detecting that the accessory 200 is in an attached state, the camera control circuit 101 supplies power to the accessory 200 via TC05, which serves as a power contact.

[0032] The communication contacts SCLK connected to TC07, MOSI connected to TC08, MISO connected to TC09, and CS connected to TC10 are signals used by the camera control circuit B102 as the communication master to perform communication using the second communication method, SPI (Serial Peripheral Interface) communication method (hereinafter referred to as SPI communication). SCLK is the clock signal, MOSI is the transmission signal, MISO is the reception signal, and CS (chip select) is the communication selection signal that selects the communication partner. In this embodiment, the SPI communication has a communication clock frequency of 1 MHz, a data length of 8 bits (1 byte), a bit order of MSB first, and a full-duplex communication method.

[0033] In this embodiment, the camera 100 and the accessory 200 are compatible with two types of communication protocols as SPI communication methods. Communication protocol A is a communication method in which the camera 100 does not check whether the accessory 200 is in a communication-enabled state before outputting SCLK, and will be referred to as SPI protocol A in the following explanation. Figure 2(a) shows an outline of the communication waveform of SPI protocol A. In the figure, CS is set to Lo active.

[0034] The camera control circuit B102 changes CS to Lo level (active) at timing A1 to request the accessory control circuit 201 to perform SPI communication.

[0035] At timing A2, which is a predetermined time T_CS after timing A1, the camera control circuit B102 starts outputting SCLK and MOSI. Also, when the accessory control circuit 201 detects a falling edge of SCLK, it starts outputting MISO.

[0036] The camera control circuit B102 stops outputting SCLK at timing A3 when output of one byte of SCLK is completed.

[0037] Furthermore, the camera control circuit B102 stops outputting SCLK from timing A3 until a predetermined time T_INTERVAL has elapsed, and then resumes outputting SCLK at timing A4 when T_INTERVAL has elapsed, and communicates the next byte.

[0038] 3(a) shows the process performed by the camera control circuit B102 in the SPI protocol A. S means a step.

[0039] In S101, the camera control circuit B102 stores a numerical value indicating the number of bytes to be communicated in an internal variable N. For example, when communicating 3 bytes, 3 is stored.

[0040] In S102, the camera control circuit B102 changes CS to Lo level to request SPI communication.

[0041] In S103, the camera control circuit B102 changes CS to the Lo level and then performs a wait process until a predetermined time T_CS has elapsed, after which the process proceeds to S104. In S104, the camera control circuit B102 controls the output of SCLK to communicate 1 byte of data, and also controls the output of MOSI data and the input of MISO data.

[0042] In S105, the camera control circuit B102 checks whether the internal variable N indicating the number of communication bytes is 0. If the internal variable N is 0, the process proceeds to S106, and if the internal variable N is other than 0, the process proceeds to S107.

[0043] In S107, the camera control circuit B102 subtracts 1 from the internal variable N indicating the number of communication bytes and stores the result as a new internal variable N.

[0044] In S108, the camera control circuit B102 performs wait processing until a predetermined time T_INTERVAL has elapsed since the communication of one byte of data was completed in S104. After the predetermined time T_INTERVAL has elapsed, the process returns to S104 and executes the same processing again.

[0045] In S106, the camera control circuit B102 changes CS to Hi level, and ends the series of SPI communications.

[0046] The flowchart in FIG. 3(b) shows the processing performed by the accessory control circuit 201 in the SPI protocol A.

[0047] In S201, the accessory control circuit 201 checks whether CS has changed to Lo. If CS has changed to Lo, the process proceeds to S202, and if CS has not changed to Lo, the process returns to S211.

[0048] In S202, the accessory control circuit 201 controls the input of MOSI data and the output of MISO data in response to the input of the SCLK signal, thereby communicating 1 byte of data.

[0049] In S203, the accessory control circuit 201 checks whether CS has changed to Hi. If CS has changed to Hi, it determines that the SPI communication has ended, and if CS has not changed to Hi, it returns to S202 to communicate the next byte.

[0050] Furthermore, communication protocol B in the SPI communication method is a communication method in which the camera 100 checks whether the accessory 200 is in a communication-enabled state before outputting SCLK, and will be referred to as SPI protocol B in the following explanation. Figure 2(b) shows an outline of the communication waveform of SPI protocol B.

[0051] The camera control circuit B102 changes CS to Lo level at timing B1 to request SPI communication from the accessory control circuit 201. The camera control circuit B102 also checks the potential of MISO along with the communication request. If MISO is Hi level, it determines that the accessory control circuit 201 is in a state where communication is possible, and if it is Lo level, it determines that the accessory control circuit 201 is in a state where communication is not possible.

[0052] On the other hand, when the accessory control circuit 201 detects the falling edge of CS at timing B2, it controls MISO to Hi level if SPI communication is possible, and controls MISO to Lo level if communication is not possible.

[0053] Furthermore, when the camera control circuit B102 confirms that MISO is at Hi level at timing B3, it starts outputting SCLK and MOSI. Furthermore, when the accessory control circuit 201 detects a falling edge of SCLK, it starts outputting MISO.

[0054] When the camera control circuit B102 completes output of one byte of SCLK at timing B4, it stops outputting SCLK.

[0055] After transmitting and receiving one byte of data, the accessory control circuit 201 controls MISO to Hi level if SPI communication is possible, and controls MISO to Lo level if SPI communication is not possible, as shown at timing B5 and timing B6.

[0056] The camera control circuit B102 checks the potential of MISO at timing B7. If MISO is at Hi level, it determines that the accessory control circuit 201 is in a state where communication is possible, and if it is at Lo level, it determines that the accessory control circuit 201 is in a state where communication is not possible.

[0057] The flowchart in FIG. 3(c) shows the processing performed by the camera control circuit B102 in the SPI protocol B.

[0058] In S111, the camera control circuit B102 stores a numerical value indicating the number of bytes to be communicated in the internal variable N. For example, when communicating 3 bytes, 3 is stored.

[0059] In S112, the camera control circuit B102 changes CS to Lo level to request SPI communication.

[0060] In S113, the camera control circuit B102 checks whether MISO has changed to Hi level. If MISO is at Hi level, the process proceeds to S114, and if MISO is not at Hi level, the process returns to S113.

[0061] In S114, the camera control circuit B102 performs output control of SCLK to communicate 1 byte of data, and also performs output control of MOSI data and input control of MISO data.

[0062] In S115, the camera control circuit B102 checks whether communication of all data has been completed (whether the internal variable N indicating the number of communication bytes is 0). If the internal variable N is 0, the process proceeds to S116, and if the internal variable N is other than 0, the process proceeds to S117.

[0063] In S117, the camera control circuit B102 subtracts 1 from the internal variable N indicating the number of communication bytes and stores the result as a new internal variable N.

[0064] In S118, the camera control circuit B102 checks whether MISO has changed to Hi level. If MISO is at Hi level, the process proceeds to S114, and if MISO is not at Hi level, the process returns to S118.

[0065] In S116, the camera control circuit B102 changes CS to Hi level, and ends the series of SPI communications.

[0066] The flowchart in FIG. 3(d) shows the processing performed by the accessory control circuit 201 in the SPI protocol B.

[0067] In S211, the accessory control circuit 201 checks whether CS has changed to Lo. If CS has changed to Lo, the process proceeds to S212, and if CS has not changed to Lo, the process returns to S211.

[0068] In S212, the accessory control circuit 201 checks whether or not SPI communication is possible. If SPI communication is possible, the process proceeds to S213, and if SPI communication is not possible, the process proceeds to S214.

[0069] In S213, the accessory control circuit 201 controls MISO to a Hi level and proceeds to S215.

[0070] In S214, the accessory control circuit 201 controls MISO to the Lo level and returns to S212.

[0071] In S215, the accessory control circuit 201 controls the input of MOSI data and the output of MISO data in response to the SCLK signal input, thereby communicating 1 byte of data.

[0072] In S216, the accessory control circuit 201 checks whether CS has changed to Hi. If CS has changed to Hi, it determines that the SPI communication has ended, and if CS has not changed to Hi, it returns to S212 to communicate the next byte.

[0073] FIG. 4 shows the contents of communication when an operation execution command is sent from the camera 100 to the accessory 200 by SPI communication in this embodiment.

[0074] In the first byte of communication, the camera control circuit B102 transmits, as MOSI data, information CMD indicating a command number to the accessory control circuit 201. The accessory control circuit 201 transmits, as MISO data, the value 0xA5, which is information indicating that communication is possible, to the camera control circuit B102. If the accessory control circuit 201 cannot execute the communication process for the first byte, it transmits, as MISO data, a value other than 0xA5 to the camera control circuit B102.

[0075] In the communication of the second byte, the camera control circuit B102 transmits the argument MOSI_DATA1 corresponding to the command number CMD to the accessory control circuit 201. Then, from the third byte to the (N-2)th byte onwards, the camera control circuit B102 similarly transmits the arguments MOSI_DATA2 to MOSI_DATA[N-3] corresponding to the command number CMD to the accessory control circuit 201.

[0076] In the second byte of communication, the accessory control circuit 201 transmits the command number CMD received in the first byte as MISO data to the camera control circuit B102. This allows the camera control circuit B102 to determine that the accessory control circuit 201 has correctly received the MOSI data.

[0077] Furthermore, in the communication of the third byte, the accessory control circuit 201 transmits the return value MISO_DATA1 corresponding to the command number CMD as MISO data to the camera control circuit B102. Then, from the fourth byte to the (N-2)th byte onwards, the accessory control circuit 201 similarly transmits arguments MISO_DATA2 to MISO_DATA[N-4] corresponding to the command number CMD to the camera control circuit B102.

[0078] The number of arguments and return values ​​is determined in advance for each command number. Either one or both of the arguments and return values ​​may be omitted.

[0079] In the (N-1)th byte of communication, the camera control circuit B102 transmits checksum data CheckSum_C as MOSI data to the accessory control circuit 201. The checksum data CheckSum_C is a value calculated by the following formula. CheckSum_C=EXOR(AND( SUM(CMD, MOSI_DATA1, …, MOSI_DATA[N-3]), 0xFF ), 0xFF ) In addition, the accessory control circuit 201 transmits 0x00 as the MISO data.

[0080] Next, the camera control circuit B102 transmits 0x00 to the accessory control circuit 201 as the MOSI data in the Nth byte of communication.

[0081] The accessory control circuit 201 also transmits checksum data CheckSum_A as MISO data. If the value of CheckSum_C received by the camera control circuit B102 in the (N-1)th byte of communication matches the value of CheckSum_C calculated by the camera control circuit B102, the checksum data CheckSum_A is calculated using the following formula. CheckSum_A=EXOR(AND(SUM(0xA5, CMD,MIS0_DATA1,…, MOSI_DATA[N-4]), 0xFF ), 0xFF ) On the other hand, if the value of CheckSum_C received by the camera control circuit B102 in the (N-1)th byte communication does not match the value of CheckSum_C calculated by the camera control circuit B102, the value is calculated using the following formula. CheckSum_A=AND(SUM(0xA5, CMD, MIS0_DATA1, …, MOSI_DATA[N-4] ), 0xFF ) A communication request signal (second input signal) / WAKE, which is used by the accessory 200 to request communication from the camera 100 (camera control circuit A101), is connected to TC11, which is a signal contact (communication request contact) shown in Fig. 1. The communication request signal / WAKE is pulled up to the camera microcomputer power supply VMCU_C via a resistor. The camera control circuit A101 can detect a communication request from the accessory 200 by detecting a change (falling edge) in the communication request signal / WAKE.

[0082] The SDA connected to the communication contact TC12 and the SCL connected to the TC13 are signals for communication by the I2C (Inter-Integrated Circuit) communication method (hereinafter referred to as I2C communication), which is a first communication method, with the camera control circuit A101 acting as the communication master. SDA is a data signal, and SCL is a clock signal. SDA and SCL are open-drain signals pulled up to the camera microcontroller power supply VMCU_C, and in this embodiment the communication frequency is 100 kbps.

[0083] In I2C communication, both data transmission from the camera 100 and data transmission from the accessory 200 are performed via SDA. Comparing SPI communication and I2C communication, I2C communication has a slower communication speed than SPI communication. SPI communication also has a faster communication speed than I2C communication, making it suitable for communicating information with large amounts of data. Therefore, in communication between the camera 100 and accessory 200 in this embodiment, information with large amounts of data is communicated using SPI communication, and information with small amounts of data is communicated using I2C communication. For example, data is first communicated using I2C communication, and if SPI communication is possible or necessary based on this data, control can be exercised to further execute SPI communication.

[0084] Figures 15(a) and (b) show examples of I2C communication waveforms. Figure 15(a) shows an example of the waveform when the camera sends N bytes of data (DATA[1] to DATA[N]) to the accessory, and Figure 15(b) shows an example of the waveform when the camera receives N bytes of data (DATA[1] to DATA[N]) from the accessory. In Figures 15(a) and 15(b), the upper waveform is SCL and the lower waveform is SDA.

[0085] Below the SDA waveform is shown the meaning of the signal at each timing, and whether the control circuit controlling the output level of the SDA signal is the camera control circuit A101 or the accessory control circuit 201. The communication data is made up of 1-byte data and 1-bit information indicating the response. The top of the diagram shows which byte of data is in that order from the start of communication.

[0086] The details of the communication will be described later with reference to FIGS. 16 to 18, and therefore only an outline will be given in FIGS. 15(a) and 15(b).

[0087] 15(a), in the communication of the first and second bytes, the camera control circuit A101 notifies the accessory control circuit 201 of storage address information of the data to be transmitted. In the communication of the third to (N+2)th bytes, the camera control circuit A101 transmits N bytes of data (DATA[ADDRESS] to DATA[ADDRESS+N]) to the accessory control circuit 201.

[0088] 15(b), in the communication of the first and second bytes, the camera control circuit A101 notifies the accessory control circuit 201 of storage address information for the data to be received. In the communication of the third to (N+3)th bytes, the camera control circuit A101 receives N bytes of data (DATA[ADDRESS] to DATA[ADDRESS+N]) from the accessory control circuit 201.

[0089] The flowchart in FIG. 16 shows the processing performed by the camera control circuit A101 when transmitting N bytes of data from the camera control circuit A101 to the accessory control circuit 201.

[0090] In S3001, the camera control circuit A101 stores a numerical value indicating the number of bytes to be transmitted in the internal variable N. For example, when transmitting 3 bytes, 3 is stored. In this embodiment, 3 is stored.

[0091] In S3002, the camera control circuit A101 changes SDA to Lo level while SCL is at Hi level (START condition), thereby notifying the accessory control circuit 201 of the start of communication.

[0092] In S3003, the camera control circuit A101 sets the upper 7 bits of the transmission data to slave address information indicating the slave address of the accessory control circuit 201. In this embodiment, the slave address of the accessory control circuit 201 is assumed to be 1010000 in binary.

[0093] In S3004, the camera control circuit A101 sets information indicating WRITE communication in the lowest 1 bit of the transmission data. Setting this bit to 0 indicates WRITE communication.

[0094] In S3005, the camera control circuit A101 transmits to the accessory control circuit 201 the data (10100000 in binary, 0xA0 in hexadecimal) set as transmission data in S3003 and S3004.

[0095] In S3006, the camera control circuit A101 outputs SCL for one clock after transmitting one byte of data, and checks the signal level of SDA. If the signal level of SDA is Lo, it is determined to be a data reception acknowledgement (ACK) from the accessory control circuit 201, and the process proceeds to S3007. On the other hand, if the signal level of SDA is Hi, it is determined that the accessory control circuit 201 has not received the data correctly, and the process proceeds to S3014.

[0096] In S3007, the camera control circuit A101 sets, as transmission data, information on the storage address (start address information) of the data to be transmitted to the accessory control circuit 201. In this embodiment, the size of the start address information is 1 byte, and the value is 0x00.

[0097] In S3008, the camera control circuit A101 transmits the set 1-byte start address information (value 0x00) to the accessory control circuit 201.

[0098] In S3009, the camera control circuit A101 outputs SCL for one clock after transmitting one byte of start address information data, and checks the signal level of SDA. If the signal level of SDA is Lo, it is determined to be a data reception acknowledgement (ACK) from the accessory control circuit 201, and the process proceeds to S3010. On the other hand, if the signal level of SDA is Hi, it is determined that the accessory control circuit 201 has not received the data correctly, and the process proceeds to S3014.

[0099] In S3010, the camera control circuit A101 stores 1 in the internal variable M. The internal variable M is a variable for counting the number of pieces of transmitted data.

[0100] In S3011, the camera control circuit A101 outputs one byte of SCL and changes SDA to a desired signal level while SCL is Lo, thereby transmitting one byte of data to the accessory control circuit 201. Here, the start address information is 0x00 and the internal variable M is 1, so one byte of data corresponding to address 0x00 is transmitted.

[0101] In S3012, the camera control circuit A101 outputs SCL for one clock after transmitting one byte of data, and checks the signal level of SDA. If the signal level of SDA is Lo, it is determined to be a data reception acknowledgement (ACK) from the accessory control circuit 201, and the process proceeds to S3013. On the other hand, if the signal level of SDA is Hi, it is determined that the accessory control circuit 201 has not received the data correctly, and the process proceeds to S3014.

[0102] In S3013, the camera control circuit A101 checks whether the internal variable M has the same value as the internal variable N. If the internal variable M has the same value as the internal variable N, it determines that transmission of all data has been completed and proceeds to S3014. If the internal variable M does not have the same value as the internal variable N, it determines that there is still data remaining to be transmitted and proceeds to S3015.

[0103] In S3015, the camera control circuit A101 adds 1 to the internal variable M and returns to S3011.

[0104] In this way, after returning to S3011, the camera control circuit A101 sequentially increments the address of the data to be transmitted and transmits one byte of data corresponding to each address. In this way, by repeatedly transmitting one byte of data in the processing of S3013 until the internal variable M and the internal variable N have the same value, the camera control circuit A101 transmits N bytes of data to the accessory control circuit 201. When the internal variable N is set to 3 as in this embodiment, 3 bytes of data can be transmitted.

[0105] In S3014, the camera control circuit A101 changes SDA to Hi level while SCL is at Hi level (STOP condition), thereby notifying the accessory control circuit 201 of the end of communication.

[0106] The flowchart in FIG. 17 shows the processing performed by the camera control circuit A101 when the camera control circuit A101 receives N bytes of data from the accessory control circuit 201.

[0107] In S3101, the camera control circuit A101 stores a numerical value indicating the number of bytes to be received in the internal variable N. For example, when 3 bytes are to be received, 3 is stored. In this embodiment, 3 is stored.

[0108] In S3102 to S3106, the camera control circuit A101 performs the same processing as in S3002 to S3006, respectively, and therefore a description thereof will be omitted.

[0109] In S3107, the camera control circuit A101 sets, as transmission data, information on the storage address (start address information) of the data received from the accessory control circuit 201. In this embodiment, the size of the start address information is 1 byte, and the value is 0x00.

[0110] In S3108, the camera control circuit A101 transmits the set 1-byte start address information (value 0x00) to the accessory control circuit 201.

[0111] In S3109, the camera control circuit A101 outputs SCL for one clock after transmitting one byte of start address information data, and checks the signal level of SDA. If the signal level of SDA is Lo, it is determined to be a data reception acknowledgement (ACK) from the accessory control circuit 201, and the process proceeds to S3110. On the other hand, if the signal level of SDA is Hi, it is determined that the accessory control circuit 201 has not received the data normally, and the process proceeds to S3122.

[0112] In S3110, the camera control circuit A101 changes SDA to Lo level while SCL is at Hi level, as in S3102, and notifies the accessory control circuit 201 of a START condition.

[0113] In S3111, the camera control circuit A101 sets the upper 7 bits of the transmission data to slave address information indicating the slave address of the accessory control circuit 201. In this embodiment, the slave address of the accessory control circuit 201 is assumed to be 1010000 in binary.

[0114] In S3112, the camera control circuit A101 sets information indicating READ communication in the lowest 1 bit of the transmission data. Setting this bit to 1 indicates READ communication.

[0115] In S3113, the camera control circuit A101 transmits to the accessory control circuit 201 the data (10100001 in binary, 0xA1 in hexadecimal) set as transmission data in S3003 and S3004.

[0116] In S3114, the camera control circuit A101 outputs SCL for one clock after transmitting one byte of data, and checks the signal level of SDA. If the signal level of SDA is Lo, it is determined to be a data reception acknowledgement (ACK) from the accessory control circuit 201, and the process proceeds to S3115. On the other hand, if the signal level of SDA is Hi, it is determined that the accessory control circuit 201 has not received the data normally, and the process proceeds to S3122.

[0117] In S3115, the camera control circuit A101 stores 1 in the internal variable M. The internal variable M is a variable for counting the number of pieces of received data.

[0118] In S3116, the camera control circuit A101 outputs one byte of SCL and reads the SDA signal level at the timing when SCL changed from Lo to Hi. This makes it possible to receive one byte of data from the accessory control circuit 201. The received one byte of data can be stored in the volatile memory 125 as data corresponding to address 0x00, or can be used for predetermined processing.

[0119] In S3117, the camera control circuit A101 determines whether 1 byte of data has been received normally. If it has been received normally, the process proceeds to S3118. If it has not been received normally, the process proceeds to S3119.

[0120] In S3118, the camera control circuit A101 checks whether the internal variable M has the same value as the internal variable N. If the internal variable M has the same value as the internal variable N, it determines that reception of all data has been completed and proceeds to S3119. If the internal variable M does not have the same value as the internal variable N, it determines that received data still remains and proceeds to S3120.

[0121] In S3120, the camera control circuit A101 outputs one byte of SCL and controls SDA to the Lo level, thereby sending a data reception acknowledgement (ACK) to the accessory control circuit 201 and notifying it that data communication will continue.

[0122] In S3121, the camera control circuit A101 adds 1 to the internal variable M and returns to S3116.

[0123] In this way, after returning to S3116, the camera control circuit A101 sequentially increments the address of the data to be received and receives one byte of data corresponding to each address. In this way, by repeatedly receiving one byte of data in the processing of S3118 until the internal variable M and the internal variable N have the same value, the camera control circuit A101 receives N bytes of data from the accessory control circuit 201. If the internal variable N is set to 3 as in this embodiment, three bytes of data can be received.

[0124] In S3119, the camera control circuit A101 outputs one byte of SCL and controls SDA to Hi level, thereby notifying the accessory control circuit 201 that data communication has been completed (NACK).

[0125] In S3122, the camera control circuit A101 changes SDA to Hi level while SCL is at Hi level (STOP condition), thereby notifying the accessory control circuit 201 of the end of communication.

[0126] The flowchart in Figure 18 shows the processing performed by the accessory control circuit 201 when the camera control circuit A101 transmits N bytes of data to the accessory control circuit 201 and when the camera control circuit A101 receives N bytes of data from the accessory control circuit 201.

[0127] In S3201, the accessory control circuit 201 waits for SDA to change to Lo level (START condition) while SCL is at Hi level. If the accessory control circuit 201 detects the START condition, the process proceeds to S3202.

[0128] In S3202, the accessory control circuit 201 stores 0 in the internal variable M. The internal variable M is a variable for counting the number of transmitted and received data.

[0129] In S3203, the accessory control circuit 201 receives the 1-byte data transmitted from the camera control circuit A101.

[0130] In S3204, the accessory control circuit 201 determines whether the upper 7 bits of the 1-byte data received in S3203 match the slave address (0x50 in this embodiment) of the accessory control circuit 201. If it matches the slave address of the accessory control circuit 201, proceed to S3205. If it does not match the slave address of the accessory control circuit 201, proceed to S3221.

[0131] In S3205, the accessory control circuit 201 controls SDA to a Low level for the next SCL clock output after receiving one byte, thereby sending a data reception acknowledgement (ACK) to the camera control circuit A101.

[0132] In S3206, the accessory control circuit 201 determines the type of data for the next 1-byte communication based on the lowest 1 bit of the 1-byte data received in S3203. If the lowest 1 bit of data is 0, it determines that the data for the next 1-byte communication is start address information from the camera control circuit A101 to the accessory control circuit 201, and proceeds to S3207. If the lowest 1 bit of data is 1, it determines that the data for the next 1-byte communication is transmission data from the accessory control circuit 201 to the camera control circuit A101, and proceeds to S3209.

[0133] In S3207, the accessory control circuit 201 receives one byte of data transmitted from the camera control circuit A101. The received one byte of data is information indicating the address where data to be transmitted and received in subsequent communications is stored. In this embodiment, as described with reference to FIGS. 16 and 17, the start address information is assumed to be 0x00.

[0134] On the other hand, in S3209, the accessory control circuit 201 uses, as the start address information, address information that has been stored in advance in the accessory control circuit 201 or address information that has been previously notified by the camera control circuit A101.

[0135] In S3208, if the accessory control circuit 201 determines that one byte of data has been received successfully, it proceeds to S3210. If it determines that one byte of data has not been received successfully, it proceeds to S3221.

[0136] In S3210, the accessory control circuit 201 controls SDA to be at the Lo level for the next SCL clock output after receiving one byte of data, thereby sending a data reception acknowledgement (ACK) to the camera control circuit A101.

[0137] In S3211, the accessory control circuit 201 checks whether SDA has changed to a low level (START condition) while SCL is at a high level. If a START condition is detected, the accessory control circuit 201 determines that the next 1-byte of data to be communicated is data to be transmitted from the camera control circuit A101 to the accessory control circuit 201, and is data indicating a slave address and communication type, and proceeds to S3212. If a START condition is not detected, the accessory control circuit 201 determines that the next 1-byte of data to be communicated is data information to be received by the accessory control circuit 201 from the camera control circuit A101, and proceeds to S3216.

[0138] In S3212, the accessory control circuit 201 receives the 1-byte data transmitted from the camera control circuit A101.

[0139] In S3213, the accessory control circuit 201 determines whether the upper 7 bits of the 1-byte data received in S3212 match the slave address (0x50 in this embodiment) of the accessory control circuit 201. If it matches the slave address of the accessory control circuit 201, proceed to S3214. If it does not match the slave address of the accessory control circuit 201, proceed to S3221.

[0140] In S3214, the accessory control circuit 201 determines the type of data for the next 1-byte communication based on the lowest 1 bit of the 1-byte data received in S3203. If the lowest 1 bit of data is 0, proceed to S3221. If the lowest 1 bit of data is 1, determine that the data for the next 1-byte communication is transmission data from the accessory control circuit 201 to the camera control circuit A101, and proceed to S3215.

[0141] In S3215, the accessory control circuit 201 controls SDA to be at the Lo level for the next SCL clock output after receiving one byte, thereby sending a data reception acknowledgement (ACK) to the camera control circuit A101.

[0142] In S3222, the accessory control circuit 201 transmits to the camera control circuit A101 one byte of data corresponding to the start address information received from the camera control circuit A101 in S3207 or the start address information determined in S3209.

[0143] In S3223, the accessory control circuit 201 adds 1 to the internal variable M and proceeds to S3224.

[0144] In S3224, the accessory control circuit 201 checks the signal level of SDA after transmitting one byte of data. If the signal level of SDA is Hi, it is determined that this is a notification (NACK) that the camera control circuit A101 has finished receiving all data, and the process proceeds to S3225. On the other hand, if the signal level of SDA is Hi, it is determined that the camera control circuit A101 is still requesting data transmission from the accessory control circuit 201, and the process returns to S3222. In this way, after returning to S3222, the accessory control circuit 201 sequentially increments the address of the data to be transmitted and transmits one byte of data corresponding to each address. In this way, by repeatedly transmitting one byte of data until a NACK is notified from the camera control circuit A101 in the process of S3224, the accessory control circuit 201 transmits N bytes of data to the camera control circuit A101.

[0145] In S3225, the accessory control circuit 201 waits for a STOP condition in which SDA changes to Hi level while SCL is at Hi level. When the accessory control circuit 201 detects the STOP condition, it ends communication.

[0146] Meanwhile, in S3216, the accessory control circuit 201 receives one byte of data, and stores the one byte of data in a non-volatile memory (not shown) as data corresponding to the start address information received from the camera control circuit A101 in S3207, or uses the data for predetermined processing.

[0147] In S3217, the accessory control circuit 201 adds 1 to the internal variable M and proceeds to S3218.

[0148] In S3218, if the accessory control circuit 201 determines that one byte of data has been received successfully, it proceeds to S3219. If it determines that one byte of data has not been received successfully, it proceeds to S3221.

[0149] In S3219, the accessory control circuit 201 controls SDA to be at the Lo level for the next SCL clock output after receiving one byte, thereby sending a data reception acknowledgement (ACK) to the camera control circuit A101.

[0150] In S3230, the accessory control circuit 201 checks whether a STOP condition, in which SDA changes to Hi level while SCL is at Hi level, has been detected. If the accessory control circuit 201 detects a STOP condition, it ends communication. On the other hand, if the accessory control circuit 201 does not detect a STOP condition, it determines that the camera control circuit A101 will continue to send data to the accessory control circuit 201, and returns to S3216.

[0151] In this way, after returning to S3216, the accessory control circuit 201 sequentially increments the address of the data to be received and receives one byte of data corresponding to each address. By repeatedly receiving one byte of data in this way until a STOP condition is notified in S3220, the accessory control circuit 201 receives N bytes of data from the camera control circuit A101.

[0152] Thus, the camera connection unit 141 includes a contact TC12 for a data signal of the I2C communication system and a contact TC13 for a clock signal of the I2C communication system, which is arranged on one side of the data signal contact (adjacent on one side).The camera connection unit 141 further includes a contact TC11 for a second input signal, a contact TC10 for an input selection signal of the SPI communication system, a contact TC09 for receiving in the SPI communication system, a contact TC08 for transmitting in the SPI communication system, a contact TC07 for a clock signal of the SPI communication system, a contact TC06 for a first input signal, and a contact TC05 for an output signal, which are arranged on the other side of the data signal contact TC12 (in order from the position adjacent on the other side).

[0153] The accessory 200 stores accessory information in a non-volatile memory (not shown). The accessory information is information that allows the camera 100 to identify the type of accessory 200 and specifications related to communication and operation (function). FIG. 5 shows an example of accessory information. The accessory information is mapped to a memory space of addresses 0x00 to 0x0F, and the accessory information can be read from the accessory 200 via I2C communication. Details of the accessory information will be described later. Note that in the I2C communication of this embodiment, a checksum value for the read data is added as the final data of the communication.

[0154] 1, the FNC1 signal connected to TC14, the FNC2 signal connected to TC15, the FNC3 signal connected to TC16, and the FNC4 signal connected to TC17 are function signals whose functions can be changed according to the type of attached accessory 200. For example, if accessory 200 is a microphone device, the signal communicated via TC15 is a signal related to audio data, and if accessory 200 is a strobe device, the signal communicated via TC14 is a signal notifying the timing of light emission.

[0155] Note that signals realizing different functions may be communicated via the same contact depending on the type of attached accessory. For example, if accessory 200 is an accessory other than lighting, a synchronization signal for controlling timing different from the light emission timing may be communicated via TC14. TC14 to TC17 correspond to function signal contacts. Communication using at least one of the function signal contacts is also referred to as function signal communication. Function signal communication can be performed in parallel with I2C communication and SPI communication, with timing independent of I2C communication and SPI communication.

[0156] The accessory types referred to here include the microphone devices, lighting devices, etc. mentioned above. Accessories that achieve the same intended function, such as lighting devices with different performance, are the same type of accessory. Accessories that achieve different intended functions, such as microphone devices and lighting devices, are different types of accessories. Function signal communication is performed based on information obtained through I2C communication or SPI communication.

[0157] TC18, a second ground contact, is also connected to GND and, like TC04, is a contact that serves as the reference potential for the camera 100 and the accessory 200. The differential signal D2N connected to TC19 and the differential signal D2P connected to TC20 are data communication signals that form a pair to perform data communication and are connected to the camera control circuit B102. For example, USB communication can be performed via TC19 and TC20.

[0158] TC21 is connected to GND and serves not only as a reference potential contact but also as a contact for controlling the wiring impedance of differential signals D2N and D2P. TC21 corresponds to the fourth ground contact. Contacts TC01, TC04, TC06, TC18, and TC21 are connected to, for example, the GND portion of a flexible substrate, and the GND portion of the flexible substrate is fixed with screws or the like to a metal member that serves as the GND level of camera 100. Examples of the metal member that serves as the GND level include an engagement member that engages with accessory 200 in the accessory shoe portion and a base plate (not shown) inside camera 100.

[0159] In this embodiment, the attachment detection contact TC06, to which the accessory attachment detection signal / ACC_DET is connected, is located next to the contact (first clock contact) TC07 that transmits the clock signal SCLK (first clock signal). Generally, noise (clock noise) caused by potential fluctuations in the clock signal is transmitted to contacts adjacent to the clock signal contact, which can cause malfunction. This effect is particularly significant in a configuration with a large number of contacts and a short distance between the contacts, as in this embodiment. Therefore, by locating the attachment detection contact TC06 next to the SCLK contact TC07, the effect of clock noise can be suppressed.

[0160] The accessory attachment detection signal / ACC_DET is pulled up before the accessory is attached, but is set to GND potential after the accessory is attached. On the other hand, the SCLK contact TC07, which transmits the clock signal, does not transmit the clock signal before the accessory is attached, so its potential does not fluctuate, but it transmits the clock signal only after the accessory is attached, so its potential fluctuates.

[0161] When the SCLK contact TC07 transmits the clock signal, the attachment detection contact TC06 is at GND potential. Therefore, even if the attachment detection contact TC06 is subjected to clock noise, the potential of the control circuits of the camera 100 and accessory 200 is unlikely to fluctuate, preventing malfunction. In addition, the transmission of clock noise to positions farther away than the attachment detection contact TC06 can be suppressed. As a result, there is no need to provide a GND terminal, and the effects of clock noise can be suppressed without increasing the number of contacts.

[0162] In addition, SCL (second clock signal) is also transmitted as a clock signal to contact (second clock contact) TC13. However, the SCLK transmitted to SCLK contact TC07 has a higher frequency than SCL, and more clock noise is generated from the SCLK contact TC07 than from the SCL contact TC13. For this reason, placing the attachment detection contact TC06 next to the SCLK contact TC07 rather than next to the SCL contact TC13 is more effective in preventing malfunctions due to clock noise.

[0163] In addition to the difference in frequency, the SCL transmitted through the SCL contact TC13 is a clock signal conforming to the I2C communication standard, and voltage fluctuations on the signal line are driven by an open-drain connection. On the other hand, the SCLK transmitted through the SCLK contact TC07 is a clock signal conforming to the SPI communication standard, and voltage fluctuations on the signal line are driven by a CMOS output. For this reason, the voltage fluctuation edges of the SCL contact TC13 tend to be gentler than those of the SCLK contact TC07, making it less likely to generate clock noise. Therefore, placing the attachment detection contact TC06 next to the SCLK contact TC07 rather than next to the SCL contact TC13 is more effective in preventing malfunctions caused by clock noise.

[0164] Additionally, differential signals D1N and D1P may also be transmitted as a pair to the first and second differential signal contacts TC19 and TC20 to transmit clock signals. In such cases, a clock signal (third clock signal) with a higher frequency than the SCLK contact TC07 and SCL contact TC13 may be transmitted. However, because the differential signals D1N and D1P are paired signals, they emit less clock noise than the SCLK contact TC07 and SCL contact TC13, which transmit single-ended signals. For this reason, placing the attachment detection contact TC06 next to the SCLK contact TC07 rather than next to the first and second differential signal contacts TC19 and TC20 is more effective in preventing malfunctions due to clock noise.

[0165] The contact (first data contact) TC08, located next to the SCLK contact TC07 on the opposite side of the attachment detection contact TC06, transmits MOSI (first data signal). Because MOSI is a data signal, it appears to be susceptible to clock noise. However, because MOSI is a data signal that conforms to the same SPI communication standard as the clock signal transmitted by the SCLK contact TC07, the timing of its potential fluctuations is synchronized with the clock signal, making it less susceptible to clock noise. For this reason, contact TC08 does not need to be fixed to GND potential, and can be used as the MOSI contact.

[0166] The accessory 200 has a battery 205 and receives power from the battery 205, as well as power from the camera 100 via the camera connection unit 141 and the accessory connection unit 211. An accessory control circuit 201 serving as accessory processing means in the accessory 200 is a circuit that controls the entire accessory 200, and is configured by a processor (microcomputer) such as a CPU. The accessory control circuit 201 executes various controls and processes according to a computer program.

[0167] The accessory power supply circuit 202 is a circuit that generates power to be supplied to each circuit of the accessory 200, and is composed of a DC / DC converter circuit, an LDO, a charge pump circuit, etc. The accessory control circuit 201 is constantly supplied with a voltage of 1.8V generated by the accessory power supply circuit 202 as the accessory microcontroller power supply VMCU_A. Note that the voltage generated by the accessory power supply circuit 202 may be a value other than 1.8V. By controlling the accessory power supply circuit 202, on / off control of the power supply to each circuit of the accessory 200 is performed.

[0168] The charging circuit 204 is a circuit for charging the battery 205 using power supplied from the camera 100. When the accessory control circuit 201 determines that sufficient power is being supplied from the camera 100 to perform the charging operation, it controls the charging circuit 204 to charge the battery 205. Note that although this embodiment describes a case in which the battery 205 is attached to the accessory 200, the accessory 200 may also operate using only the power supplied from the camera 100 without the battery 205 being attached. In this case, the charging circuit 204 is not necessary.

[0169] The differential communication circuit 207 is a circuit for performing differential communication with the camera 100, and can transmit and receive data to and from the camera 100. The external communication IF circuit 208 is an IF circuit for performing data communication with an external device (not shown), and is an Ethernet communication IF, a wireless LAN communication IF, a public network communication IF, etc. The accessory control circuit 201 controls the differential communication circuit 207 and the external communication IF circuit 208 to transmit data received from the camera 100 to the external device and transmit data received from the external device to the camera 100.

[0170] The functional circuit 206 is a circuit having different functions depending on the type of accessory 200. For example, if the accessory 200 is a strobe device, the functional circuit 206 is a light emission circuit, a charging circuit, etc. If the accessory 200 is a microphone device, the functional circuit 206 is an audio codec circuit, a microphone circuit, etc.

[0171] The external connection terminal 209 is a connector terminal for connecting to an external device, and in this embodiment is a USB TYPE-C connector. The connection detection circuit 210 is a circuit for detecting that an external device has been connected to the external connection terminal 209. The accessory control circuit 201 can detect the connection of an external device to the external connection terminal 209 by receiving an output signal from the connection detection circuit 210.

[0172] The power switch 203 is a switch that is operated by the user to turn on and off the power (i.e., operation) of the accessory 200. The accessory control circuit 201 can detect the on position / off position by reading the signal level of the terminal to which the power switch 203 is connected.

[0173] The operation switch 212 is a switch operated by the user to give various instructions to the accessory 200 or to make various settings, and includes a button, a cross key, a slide switch, a dial switch, a touch sensor, etc. When the operation switch 212 is operated, the accessory control circuit 201 detects the operation and executes a predetermined process according to the operation.

[0174] The accessory connection unit 211 is a connector for making an electrical connection with the camera 100 via 21 contacts TA01 to TA21 arranged in a row. The contacts TA01 to TA21 are arranged in this order from one end to the other in the arrangement direction.

[0175] TA01 is connected to GND and serves not only as a reference potential contact but also as a contact to control the wiring impedance of the differential signals D1N and D1P. TA01 corresponds to the third ground contact.

[0176] The differential signal D1N connected to TA02 and the differential signal D1P connected to TA03 are data communication signals that form a pair to perform data communication, and are connected to a differential communication circuit 207. TA02, TA03, and TA07 to TA10, TA12 to TA17, TA19, and TA20, which will be described later, are communication contacts.

[0177] TA04 as a first ground contact is connected to GND and serves as a reference potential contact between the camera 100 and the accessory 200. TA04 is arranged further outward in the arrangement direction of the contacts than TA05, which will be described next.

[0178] The accessory power supply circuit 202 and the charging circuit 204 are connected to the power contact TA05, and the accessory power supply VACC supplied from the camera 100 is connected to the power contact TA05.

[0179] TA06, which serves as an attachment detection contact, is directly connected to GND. When the accessory 200 is attached to the camera 100, the accessory control circuit 201 sets the accessory attachment detection signal / ACC_DET to the Lo level (GND potential) as an active potential. This causes the camera 100 to detect that the accessory 200 is attached.

[0180] The communication contacts SCLK connected to TA07, MOSI connected to TA08, MISO connected to TA09, and CS connected to TA10 are signals that allow the accessory control circuit 201 to function as a communication slave and perform SPI communication.

[0181] A communication request signal / WAKE is connected to TA11, which is a signal contact (communication request contact), for requesting communication from the accessory control circuit 201 to the camera 100. When the accessory control circuit 201 determines that communication with the camera 100 is necessary, it changes the communication request signal / WAKE from Hi level to Lo level, thereby making a communication request to the camera 100.

[0182] When the camera control circuit 101 supplies power to the accessory 200 via TC5 in response to detecting that the accessory 200 is attached, the accessory control circuit 201 notifies the camera control circuit 101 that it has received power supply by changing the signal level (potential) of the communication request signal / WAKE from Hi level to Lo level.

[0183] The accessory control circuit 201 can notify the camera 100 that a cause for the accessory 200 to communicate with the camera 100 has occurred by changing the signal level (electric potential) of the communication request signal / WAKE from Hi level to Lo level even without a request from the camera. With this configuration, the camera control circuit 101 can omit the operation of periodically checking whether a cause for the accessory 200 to communicate has occurred by polling. Furthermore, when a cause for communication has occurred, the accessory 200 can notify the camera 100 of that fact in real time.

[0184] The SDA connected to the communication contact TA12 and the SCL connected to the communication contact TA13 are signals for the accessory control circuit 201 to perform I2C communication as a communication slave.

[0185] Thus, the accessory connection unit 211 includes a contact TA12 for a data signal of the I2C communication system and a contact TA13 for a clock signal of the I2C communication system, which is arranged on one side of the data signal contact (adjacent on one side).The accessory connection unit 211 further includes a contact TA11 for a second input signal, a contact TA10 for an input selection signal of the SPI communication system, a transmitting contact TA09 for the SPI communication system, a receiving contact TA08 for the SPI communication system, a contact TA07 for a clock signal of the SPI communication system, a contact TA06 for a first input signal, and a contact TA06 for an output signal, which are arranged on the other side of the data signal contact TAB12 (in order from the position adjacent on the other side).

[0186] The FNC1 signal connected to communication contacts (functional signal contacts) TA14, the FNC2 signal connected to TA15, the FNC3 signal connected to TA16, and the FNC4 signal connected to TA17 are functional signals whose functions can be changed according to the type of accessory 200. For example, if accessory 200 is a microphone device, the signal will be related to audio data, and if accessory 200 is a strobe device, the signal will be a signal notifying the timing of light emission.

[0187] TA18 as a second ground contact is also connected to GND, and like TA04, it is a contact point for the reference potential between the camera 100 and the accessory 200. The differential signal D2N connected to TA19 and the differential signal D2P connected to TA20 are data communication signals that form a pair to perform data communication, and are connected to the external connection terminal 209.

[0188] TA21 is connected to GND and serves not only as a reference potential contact but also as a terminal to control the wiring impedance of the differential signals D2N and D2P. TA21 corresponds to the fourth ground contact.

[0189] The contacts TA01, TA04, TA06, TA18, and TA21 are connected to, for example, a GND portion of a flexible substrate, and the GND portion of the flexible substrate is fixed with screws or the like (not shown) to a metal member that serves as the GND level of the accessory 200. Examples of the metal member that serves as the GND level include a shoe mounting leg that engages with the accessory shoe portion of the camera 100 and a base plate (not shown) inside the accessory 200.

[0190] 6 shows a sequence of processing that is performed when accessory 200 is attached to camera 100. Here, an overview of the processing of camera 100 (camera control circuits A101, B102) and accessory 200 (accessory control circuit 201) will be described, and details will be given later.

[0191] When the accessory 200 is attached to the camera 100, the accessory attachment detection signal / ACC_DET goes low. This causes the camera control circuit A101 to determine that the accessory 200 is attached to the camera 100. Having determined that the accessory 200 is attached, the camera control circuit A101 sets the power supply control signal CNT_VACC1 to high level in order to turn on the output of the accessory power supply circuit A131. The accessory power supply circuit A131 outputs the accessory power supply VACC in response to the power supply control signal CNT_VACC1 going high.

[0192] The accessory power supply circuit 202, which receives power from VACC, generates a power supply VMCU_A for the accessory control circuit 201. This starts up the accessory control circuit 201. The started accessory control circuit 201 initializes each block in the accessory 200. After that, when the accessory control circuit 201 becomes able to communicate with the camera 100, it sets the communication request signal / WAKE to Lo level.

[0193] When the communication request signal / WAKE becomes low level, the camera control circuit A101 detects that the accessory 200 is ready for communication. The camera control circuit A101 requests the accessory 200 to communicate accessory information via I2C communication. Upon receiving the accessory information request, the accessory control circuit 201 transmits the accessory information to the camera control circuit A101. After transmitting the accessory information, the accessory control circuit 201 sets the communication request signal / WAKE to high level.

[0194] Based on the received accessory information, the camera control circuit A101 determines whether the attached accessory can be controlled, and turns on the accessory power supply circuit B132. The camera control circuit A101 then performs various settings for the camera 100, and when this is complete, notifies the camera control circuit B102 of the accessory information.

[0195] Based on the notified accessory information, the camera control circuit B102 notifies the accessory 200 of a control command (accessory control communication) through SPI communication and performs control corresponding to the function signal (function signal control). In other words, it controls the accessory 200 through SPI communication.

[0196] The accessory control circuit 201 responds to control commands sent from the camera 100 via SPI communication, and performs operations according to function signals.

[0197] Here, the accessory information exemplified in Fig. 5 will be described. Data D7-D0 at address 0x00 is information indicating the type of accessory (hereinafter referred to as accessory type information). Fig. 7 shows an example of accessory type information. For example, 0x81 indicates a strobe device, 0x82 an interface conversion adapter device, 0x83 a microphone device, and 0x84 a multi-accessory connection adapter device for attaching multiple accessory devices to the camera 100.

[0198] An adapter device is an intermediate accessory that is attached between the camera 100 and an accessory such as a flash device or a microphone device. An interface conversion adapter device is an adapter device that converts the interface to make the camera 100 and the accessory compatible when the interface of the camera 100 and the interface of the accessory are different. A multi-accessory connection adapter device is an adapter device that can attach multiple accessories.

[0199] 5 is information indicating the model (type) of the accessory 200. The accessory type information described above and this information make it possible to identify the type and model of the accessory.

[0200] The D7-D0 data at address 0x02 is information indicating the firmware version of the accessory 200.

[0201] The data D7-D6 at address 0x03 is specification information indicating whether or not the camera 100 requests the accessory power supply VACC to the accessory 200 when the power switch (not shown) is turned off. When this information is 0, it indicates that no power supply is required, when it is 1, it indicates that power supply is required by the accessory power supply circuit A131, and when it is 2, it indicates that power supply is required by the accessory power supply circuit B132.

[0202] The D5-D4 data at address 0x03 is specification information (hereinafter referred to as auto power off power supply necessity information) that indicates whether or not the camera 100 requests the supply of accessory power VACC to the accessory 200 when the camera 100 enters a power saving state (hereinafter referred to as the auto power off state) due to the auto power off function. The camera 100 has an auto power off function that automatically turns off the power when no operation is performed for a predetermined period of time in order to reduce power consumption. When this information is 0, it indicates that power supply is not required, when it is 1, it indicates a request for power supply from the accessory power supply circuit A131, and when it is 2, it indicates a request for power supply from the accessory power supply circuit B132.

[0203] The D3-D2 data at address 0x03 is specification information indicating whether the accessory 200 is equipped with a battery 205. When this information is 0, it indicates that a battery is not equipped, and when this information is 1, it indicates that a battery is equipped.

[0204] The D1-D0 data at address 0x03 is specification information indicating whether the accessory 200 has a function for charging the battery 205. When this information is 0, it indicates that the accessory does not have a charging function, and when this information is 1, it indicates that the accessory has a charging function.

[0205] The D7-D0 data at address 0x04 is specification information indicating the power required by the accessory power supply VACC to which the accessory 200 is supplied by the camera 100. For example, multiplying this information by 10 indicates a current value, so that 10 indicates 100 mA, and 100 indicates 1 A. As a method for reducing the amount of information in this information, this information may be simplified and associated with a current value. For example, 0 indicates 100 mA, 1 indicates 300 mA, 3 indicates 450 mA, and 4 indicates 600 mA.

[0206] The D7 data at address 0x05 is specification information indicating whether the accessory 200 is in firmware update mode. If this information is 0, it indicates that the accessory is not in firmware update mode, and if this information is 1, it indicates that the accessory is in firmware update mode.

[0207] The D6 data at address 0x05 is specification information indicating whether or not the accessory 200 has a firmware update function. If this information is 0, it indicates that the accessory does not have a firmware update function, and if it is 1, it indicates that the accessory has a firmware update function.

[0208] The D5-D4 data at address 0x05 is specification information indicating whether or not operation is permitted when the accessory 200 is attached to an intermediate connection accessory. If this information is 0, operation is not permitted, and if it is 1, operation is permitted.

[0209] The D3-D2 data at address 0x05 is specification information indicating whether the accessory 200 requires the camera 100 to confirm that an intermediate connection accessory is attached when the camera 100 starts up. If this information is 0, confirmation is not required, and if it is 1, confirmation is required.

[0210] The D1-D0 data at address 0x05 is specification information indicating whether the accessory 200 supports command notification via I2C communication. If this information is 0, it indicates that command notification is not supported, and if it is 1, it indicates that command notification is supported.

[0211] The D5-D4 data at address 0x06 is specification information that indicates a communication request cause acquisition method (used communication method: hereinafter referred to as cause acquisition method), which is a communication method that can be used to notify the camera 100 of the cause of a communication request after the accessory 200 has notified the camera 100 of a communication request signal / WAKE. If this information is 0, it indicates that the I2C communication method is the cause acquisition method, if it is 1, it indicates that the SPI communication method is the cause acquisition method, and if it is 2, it indicates that both the I2C communication method and the SPI communication method are the cause acquisition methods.

[0212] The D3-D0 data at address 0x06 is specification information indicating whether the accessory 200 has functions corresponding to the FNC1 signal (function signal 1), the FNC2 signal (function signal 2), the FNC3 signal (function signal 3), and the FNC4 signal (function signal 4). The D0 data corresponds to the FNC1 signal, the D1 data corresponds to the FNC2 signal, the D2 data corresponds to the FNC3 signal, and the D3 data corresponds to the FNC4 signal, and a value of 0 for each indicates that the function is not provided, and a value of 1 indicates that the function is provided.

[0213] The D7 data at address 0x0A is specification information indicating whether or not the accessory 200 requests the camera 100 to start up when it notifies the camera 100 of the communication request signal / WAKE. If this information is 0, it indicates that it requests startup, and if it is 1, it indicates that it does not request startup.

[0214] The D6-D0 data at address 0x0A is information indicating the cause of the communication request signal / WAKE that the accessory 200 notified the camera 100 of.

[0215] FIG. 8 shows examples of factors that cause a communication request signal / WAKE to occur (hereinafter also referred to as communication request factors). Here, an example is shown in which the accessory 200 is a microphone device. For example, factor number 0x00 is a number indicating that the menu call switch among the operation switches 212 has been operated (pressed). Factor number 0x01 is a number indicating that the accessory 200 has completed output control of an audio signal. Factor number 0x02 is a number indicating that the accessory 200 has completed muting of an audio signal (unmuted). In this way, in this embodiment, information on the communication request factor (number) as information related to the factor that causes a communication request signal / WAKE to occur can be notified (transmitted) from the accessory 200 to the camera 100 as one piece of accessory information.

[0216] In Figure 5, the D1 data at address 0x0C is specification information indicating the SPI communication protocol that the accessory 200 supports; if this information is 0, it indicates that it supports SPI protocol A, and if this information is 1, it indicates that it supports SPI protocol B.

[0217] The D0 data at address 0x0C is specification information indicating the control logic of the CS of the SPI communication that the accessory 200 supports; if this information is 0, it indicates that the CS is Lo active logic, and if it is 1, it indicates that the CS is Hi active logic.

[0218] The D7-D0 data at address 0x0D is specification information that indicates the time required as a communication byte interval when the accessory 200 communicates using SPI protocol A and the D7 data at address 0x05 is 0, i.e., when the accessory 200 is not in firmware update mode.

[0219] The D7-D0 data at address 0x0E is specification information that indicates the time required as a communication byte interval when the accessory 200 communicates using SPI protocol A and the address 0x05D7 data is 1, i.e., when the accessory 200 is in firmware update mode.

[0220] 9(a) and (b) show the communication byte interval time (communication interval) corresponding to the data (0 to 7) at addresses 0x0D and 0x0E. Fig. 9(a) shows the communication interval for the data information at address 0x0D, and Fig. 8(b) shows the communication interval for the data at address 0x0E.

[0221] In FIG. 5, the data at address 0x0F is checksum value data indicating the sum of addresses 0x00 to 0x0E.

[0222] FIG. 10 shows the startup process that the camera control circuit A101 executes from when the accessory 200 is attached to the camera 100 until the functions of the accessory 200 are enabled.

[0223] In S401, the camera control circuit A101 monitors the signal level of the accessory attachment detection signal / ACC_DET and determines (detects) whether the accessory 200 is attached. If the signal level of / ACC_DET is Hi, the camera control circuit A101 determines that the accessory 200 is not attached and returns to S401 to again determine whether the accessory is attached. If the signal level is Lo, the camera control circuit A101 determines that the accessory 200 is attached and proceeds to S402.

[0224] In S402, the camera control circuit A101 controls the power supply control signal CNT_VACC1 to Hi level to turn on the output of the accessory power supply circuit A131. Then, the process proceeds to S403. When the power supply control signal CNT_VACC1 becomes Hi level, the accessory power supply circuit A131 outputs the accessory power supply VACC.

[0225] In S403, the camera control circuit A101 monitors the signal level of the overcurrent detection signal DET_OVC to determine whether an overcurrent is flowing. If the signal level of DET_OVC is Lo, the camera control circuit A101 determines that an overcurrent is not flowing and proceeds to S404, but if the signal level is Hi, it determines that an overcurrent is flowing and proceeds to S405, where it performs error processing.

[0226] In S404, the camera control circuit A101 monitors the signal level of the communication request signal / WAKE, which is a notification signal from the accessory 200, and determines whether or not initialization of the accessory 200 is complete. If the signal level of / WAKE is Lo level (active), the camera control circuit A101 determines that initialization is complete and proceeds to S406, but if the signal level is Hi level, it determines that initialization is not complete and returns to S404, where it again determines whether initialization is complete.

[0227] In S406, the camera control circuit A101 performs I2C communication as initial communication with the accessory 200 and reads 15 bytes of accessory information. Then, the process proceeds to S407.

[0228] In S407, the camera control circuit A101 determines, based on the accessory information read out in S406, whether the attached accessory 200 is a device (compatible accessory) compatible with the camera 100. If the camera control circuit A101 determines that the attached accessory 200 is a compatible accessory, the process proceeds to S408, and if it determines that it is not a compatible accessory, the process proceeds to S409 and performs error processing.

[0229] In S408, the camera control circuit A101 controls the power supply control signal CNT_VACC2 to Hi level to turn on the output of the accessory power supply circuit B132. Then, the process proceeds to S410. When the power supply control signal CNT_VACC2 becomes Hi level, the accessory power supply circuit B132 outputs the accessory power supply VACC. In this embodiment, when both the power supply control signal CNT_VACC1 and the power supply control signal CNT_VACC2 become Hi level, the output from the accessory power supply circuit B132 is supplied to the accessory power supply VACC.

[0230] In S410, the camera control circuit A101 notifies the camera control circuit B 102 of the accessory information read out in S406, thereby completing the startup process in the camera 100 associated with the attachment of the accessory 200.

[0231] The flowchart in FIG. 11 shows the activation process that the camera control circuit B102 executes from when the accessory 200 is attached to the camera 100 until the functions of the accessory 200 are activated.

[0232] In S501, the camera control circuit B102 determines whether or not accessory information has been notified from the camera control circuit A 101. If the accessory information has not been notified, the camera control circuit B102 returns to S501 and determines whether or not it has been notified again, and if the accessory information has been notified, the process proceeds to S502.

[0233] In S502, the camera control circuit B102 performs settings for the function signals FNC1 to FNC4 based on the accessory information notified from the camera control circuit A101. For example, if it is notified that the accessory 200 is a microphone device, it sets FNC1 to function as the audio data clock signal BCLK, FNC2 to function as the audio data channel signal LRCLK, and FNC3 to function as the audio data signal SDATA. As another example, if it is notified that the accessory 200 is a strobe device, it sets FNC4 to function as the strobe light emission synchronization signal XOUT. Note that even for function signals that do not require control for the accessory 200, predetermined settings are performed so as not to interfere with the operation of the camera 100 and the accessory 200.

[0234] In S503, the camera control circuit B102 sets the control logic of the CS in the SPI communication based on the accessory information notified from the camera control circuit A101.

[0235] In S504, the camera control circuit B102 determines whether or not a predetermined event has occurred for the accessory 200. If no event has occurred, the camera control circuit B102 returns to S504 to again determine whether an event has occurred, and if an event has occurred, the camera control circuit B102 proceeds to S505.

[0236] In S505, the camera control circuit B102 determines whether the event that occurred in S504 is an event that requires SPI communication with the accessory 200. If the event requires SPI communication, the camera control circuit B102 proceeds to S506, and if not, proceeds to S507.

[0237] In S507, the camera control circuit B102 determines whether the event that occurred in S504 is an event that requires control of the accessory 200 using a function signal. If the event requires control using a function signal, the camera control circuit B102 proceeds to S508, and if not, proceeds to S509.

[0238] In S506, the camera control circuit B102 performs SPI communication with the accessory 200. For example, if the accessory 200 is a microphone device, the SPI communication performed here may include communication of an instruction to turn on the microphone, communication of an instruction to turn off the microphone, communication of an instruction to switch the microphone's sound collection directionality, and communication of an instruction to switch the microphone's equalizer function. Furthermore, if the accessory 200 is a flash device, the SPI communication may include communication to read out setting information for the flash device and communication to notify the flash device of setting information. When the SPI communication in S506 is complete, the camera control circuit B102 returns to S504 and again determines whether an event has occurred.

[0239] In S508, the camera control circuit B102 controls the accessory 200 using the function signals. For example, if the accessory 200 is a microphone device, it outputs an audio data clock signal BCLK of FNC1 and an audio data channel signal LRCLK of FNC2, and also inputs an audio data signal SDATA of FNC3. This enables the camera 100 to acquire audio data from the microphone device. Furthermore, if the accessory 200 is a strobe device, it outputs a strobe light emission synchronization signal XOUT of FNC4 at a predetermined timing. This enables the camera 100 to instruct the strobe device to emit light. Once control using the function signals is completed in this manner, the camera control circuit B102 returns to S504 and again determines whether an event has occurred.

[0240] Also, in S509, the camera control circuit B102 performs predetermined in-camera control in response to the event that occurred in S504. For example, if the accessory 200 is a microphone device, the in-camera control may include control to start or stop recording of audio data into the recording memory 126, control to perform equalizer processing on the audio data, etc. If the accessory 200 is a flash device, the in-camera control may include photometry control to accumulate and acquire light emitted by the flash device in the image sensor 122, and control to calculate an instruction value for the amount of light emitted by the flash device. Once the in-camera control is completed in this manner, the camera control circuit B102 returns to S504 and again determines whether an event has occurred.

[0241] The activation process by the camera control circuit A101 and the validation process by the camera control circuit B102 described above enable the camera 100 to control the accessory 200 attached thereto.

[0242] The flowchart in FIG. 12 shows the processing executed by the accessory control circuit 201 from when the accessory 200 is attached to the camera 100 until the accessory 200 is able to perform various functions.

[0243] In S601, the accessory control circuit 201 waits for the accessory power supply VACC from the camera 100 to be turned on. If the accessory 200 does not include a battery 205, it can detect that the accessory power supply VACC has been turned on when power is supplied to the accessory control circuit 201 and the accessory control circuit 201 itself starts operating. If the accessory 200 includes a battery 205, the accessory control circuit 201 may monitor the voltage value of the accessory power supply VACC to detect that the accessory power supply VACC has been turned on.

[0244] In S602, the accessory control circuit 201 performs predetermined initial settings, such as setting the operating frequency of the microcomputer, setting the input / output control ports of the microcomputer, initializing the timer function of the microcomputer, and initializing the interrupt function of the microcomputer.

[0245] When the initial setting in S602 is completed, in S603 the accessory control circuit 201 controls the communication request signal / WAKE to Lo level, thereby notifying the camera 100 that the initial setting is completed.

[0246] In S604, the accessory control circuit 201 responds to the I2C communication from the camera 100 and transmits 15 bytes of accessory information as initial communication to the camera 100. The accessory information includes the various pieces of information shown in FIG.

[0247] When the initial communication in S604 is completed, in S605, the accessory control circuit 201 controls the communication request signal / WAKE to a Hi level.

[0248] In S606, the accessory control circuit 201 determines whether a predetermined event has occurred. If no event has occurred, the accessory control circuit 201 returns to S606 to determine again whether an event has occurred, and if an event has occurred, the accessory control circuit 201 proceeds to S607.

[0249] In S607, the accessory control circuit 201 determines whether the event that occurred in S606 is an event that requires SPI communication with the camera 100. If the event requires SPI communication, the accessory control circuit 201 proceeds to S608, and if not, proceeds to S609.

[0250] In S609, the accessory control circuit 201 determines whether the event that occurred in S606 is an event that requires I2C communication with the camera 100. If the event requires I2C communication, the accessory control circuit 201 proceeds to S610, and if not, proceeds to S611.

[0251] In S611, the accessory control circuit 201 determines whether the event that occurred in S606 is an event that requires control using a function signal. If the event requires control using a function signal, the accessory control circuit 201 proceeds to S612, and if not, proceeds to S613.

[0252] In S613, the accessory control circuit 201 determines whether the event that occurred in S606 is an event that requires notification to the camera 100 by a communication request signal / WAKE. If the event requires notification to the camera 100 by a communication request signal / WAKE, the accessory control circuit 201 proceeds to S614, and if not, proceeds to S615.

[0253] In S608, the accessory control circuit 201 performs SPI communication with the camera 100. If the communication request signal / WAKE is at a low level during SPI communication, the communication request signal / WAKE is controlled to a high level after SPI communication. Examples of SPI communication performed here include, for example, if the accessory 200 is a microphone device, communication from the camera 100 instructing the camera 100 to turn on the microphone, communication instructing the camera 100 to turn off the microphone, and communication instructing the camera 100 to switch the microphone's sound collection directionality. There is also communication instructing the camera 100 to switch the microphone's equalizer function. Furthermore, if the accessory 200 is a flash device, there is communication to read setting information for the flash device, communication to notify the flash device of the setting information, and so on. When the predetermined SPI communication in S608 is completed, the accessory control circuit 201 returns to S606 and again determines whether an event has occurred.

[0254] In S610, the accessory control circuit 201 performs I2C communication with the camera 100. If the communication request signal / WAKE is at Lo level when the I2C communication is being performed, the communication request signal / WAKE is controlled to Hi level after the I2C communication. The I2C communication performed here includes, for example, communication for reading out the communication request cause (number) for the communication request signal / WAKE notified to the camera 100 by the accessory control circuit 201. When the I2C communication in S610 is completed, the accessory control circuit 201 returns to S606 and again determines whether an event has occurred.

[0255] In S612, the accessory control circuit 201 controls the camera 100 using the function signals. For example, if the accessory 200 is a microphone device, the control performed here includes control of reception of the audio data clock signal BCLK of FNC1 and the audio data channel signal LRCLK of FNC2 output from the camera 100. It also controls output of the audio data signal SDATA of FNC3 synchronized with these signals. If the accessory 200 is a strobe device, it also controls reception of the strobe light emission synchronization signal XOUT of FNC4 and control of strobe light emission in response to this. When the control using the function signals in S612 is completed, the accessory control circuit 201 returns to S606 and again determines whether an event has occurred.

[0256] In S614, the accessory control circuit 201 stores a communication request cause number for the camera 100 corresponding to the event that occurred in S606 in a volatile memory (not shown) of the accessory 200, and controls the communication request signal / WAKE to a low level. The communication request cause number is a unique number assigned to each cause content as shown in Fig. 8. When the control of the communication request signal / WAKE to a low level in S614 is completed, the accessory control circuit 201 returns to S606 and again determines whether an event has occurred.

[0257] In S615, the accessory control circuit 201 performs intra-accessory control in response to the event that occurred in S606. The intra-accessory control that is performed here includes control to detect the remaining battery charge when the accessory 200 is equipped with a battery 205, and control to detect operation of the operation switch 212. When the intra-accessory control in S615 is completed, the accessory control circuit 201 returns to S606 and again determines whether an event has occurred. The above processing by the accessory control circuit 201 enables the accessory 200 to perform various functional operations after being attached to the camera 100.

[0258] The flowchart in Figure 13 shows the process in which, when the camera 100 receives a communication request signal from the accessory 200, the camera control circuit A101 notifies the camera control circuit B102 of the occurrence of an event requiring accessory information and communication (communication request event).

[0259] In S701, the camera control circuit A101 monitors the signal level of the communication request signal / WAKE from the accessory 200 and determines whether or not a communication request has been generated from the accessory 200. If the communication request signal / WAKE from the accessory 200 is at a Lo level, the camera control circuit A101 determines that a communication request has been generated and proceeds to S702, but if it is at a Hi level, it determines that a communication request has not been generated and returns to S701 to make the determination again.

[0260] In S702, the camera control circuit A101 determines whether the factor acquisition method in the accessory information acquired by I2C communication in S406 of Fig. 10 is the I2C communication method. If the factor acquisition method is the I2C communication method, the camera control circuit A101 proceeds to S703, and if not, proceeds to S704.

[0261] In S703, the camera control circuit A101 performs I2C communication with the accessory 200 to read the communication request cause, which is the D6-D0 data at address 0x0A, and then proceeds to S705.

[0262] In S704, the camera control circuit A101 determines whether the accessory information acquired by I2C communication in S406 was acquired using both the I2C communication method and the SPI communication method. If the accessory information was acquired using both communication methods, the camera control circuit A101 proceeds to S706; otherwise, the camera control circuit A101 proceeds to S707.

[0263] In S705, the camera control circuit A101 notifies the camera control circuit B102 of the accessory information acquired in S406, and also notifies that an event requiring I2C communication (an I2C communication request event) has occurred in the accessory 200. The accessory information at this time is the accessory information in which the communication request cause read in S703 has been updated.

[0264] In S706, the camera control circuit A101 determines whether to perform I2C communication and SPI communication simultaneously (in parallel). If the camera control circuit A101 determines to perform I2C communication and SPI communication simultaneously, the process proceeds to S708, and if not, the process proceeds to S709.

[0265] In this embodiment, information indicating whether I2C communication and SPI communication are to be performed simultaneously is assigned to the D0 data at address 0x0D, which is a reserved area for accessory information, with 1 assigned if simultaneous communication is to be performed and 0 assigned if simultaneous communication is not to be performed. However, the information indicating whether I2C communication and SPI communication are to be performed simultaneously may be assigned to another reserved area. Alternatively, information indicating whether simultaneous communication is to be performed may be obtained in advance from the accessory 200 via SPI communication, and that information may be obtained from the camera control circuit B102.

[0266] In S708, the camera control circuit A101 notifies the camera control circuit B102 of the accessory information read out in S406, and also notifies that an event requiring SPI communication (SPI communication request event) has occurred in the accessory 200. In response to this, the camera control circuit B102 performs SPI communication with the accessory 200 and reads out the communication request factor to be acquired by SPI communication from the D6-D0 data at address 0x0A.

[0267] Furthermore, in S710, the camera control circuit A101 performs I2C communication with the accessory 200 and reads out the communication request factor to be acquired by I2C communication from the D6-D0 data at address 0x0A. Then, the process proceeds to S711.

[0268] In S711, the camera control circuit A101 notifies the camera control circuit B102 of the accessory information read in S406, and also notifies that an event requiring I2C communication has occurred in the accessory 200. The accessory information at this time is the accessory information in which the communication request cause read in S710 has been updated.

[0269] Note that the SPI communication by the camera control circuit B102 in response to the notification of the SPI communication request event in S708 and the I2C communication by the camera control circuit A101 in S710 are performed in parallel without any significant time difference. More specifically, the SPI communication and the I2C communication are performed so that at least a portion of each overlap. Furthermore, even if one of the I2C communication and the SPI communication is started before a predetermined time has elapsed since the other of the I2C communication or the SPI communication ended, the two can be considered to be performed in parallel as long as the predetermined time is short.

[0270] In S709, the camera control circuit A101 performs I2C communication with the accessory 200 to read the communication request cause, which is the D6-D0 data at address 0x0A. Then, the process proceeds to S712.

[0271] In S712, the camera control circuit A101 notifies the camera control circuit B102 of the accessory information read in S406, and also notifies that an event requiring both I2C communication and SPI communication (an I2C / SPI communication request event) has occurred from the accessory 200. The accessory information at this time is the accessory information with the communication request cause read in S709 updated.

[0272] In S707, the camera control circuit A101 determines whether the factor acquisition method in the accessory information acquired by I2C communication in S406 is the SPI communication method. If the factor acquisition method is the SPI communication method, the camera control circuit A101 proceeds to S713, and if it is not the SPI communication method, the camera control circuit A101 proceeds to S714 and performs error processing.

[0273] In S713, the camera control circuit A101 notifies the camera control circuit B102 of the accessory information read out in S406, and also notifies the camera control circuit B102 that an event requiring SPI communication has occurred from the accessory 200.

[0274] An example of control of the camera 100 in response to a communication request from the accessory 200 will now be described. [Example of controlling the camera 100 using I2C communication] First, the menu display control of the camera 100 using I2C communication when the accessory 200 is a microphone device will be described.

[0275] (Accessory 200 side processing) 12, the accessory control circuit 201 transmits 15 bytes of accessory information to the camera control circuit A101 as a response to the I2C communication from the camera control circuit A101. Here, it is assumed that the cause acquisition method in the accessory information is set to the I2C communication method.

[0276] When the user presses the menu call switch of the operation switch 212 on the accessory 200, the accessory control circuit 201 detects this and generates a menu call event for the camera 100. As a result, the accessory control circuit 201 determines in S606 that a menu call event has occurred, and proceeds to S613 via S607 → S609 → S611.

[0277] In S613, the accessory control circuit 201 determines that the event determined to have occurred in S606 is an event for notifying the camera 100 by a communication request signal / WAKE, and in S614 controls the communication request signal / WAKE to a Lo level. Also, as data on the communication request cause to be notified to the camera 100 via I2C communication, the accessory control circuit 201 stores data indicating "pressing the menu call switch" shown in FIG. 8.

[0278] Next, the accessory control circuit 201 returns to S606 and again determines whether an event has occurred. When I2C communication from the camera control circuit A101 occurs, the accessory control circuit 201 proceeds in the order of S607 → S609 → S610, and notifies the camera control circuit B102 of the cause of the communication request via I2C communication.

[0279] (Processing on the camera 100 side) In S504 of Fig. 11, the camera control circuit B102 determines that an event has occurred when the camera control circuit A101 notifies it of accessory information and an event requiring I2C communication in S705 of Fig. 13. As a result, the process proceeds to S509, bypassing S505 and S507.

[0280] In S509, the camera control circuit B102 causes the display circuit 127 to display a menu for the microphone device as shown in FIG. 14(a) as in-camera control in response to the event of "menu call switch pressed" determined to have occurred in S504.

[0281] In this way, the camera control circuit B102 can complete control of the menu display only through I2C communication without performing SPI communication with the accessory 200. This reduces the time required for SPI communication, making it possible to realize an imaging system with high real-time data communication performance.

[0282] [Example of controlling the camera 100 using SPI communication] Next, menu display control of the camera 100 using SPI communication when the accessory 200 is a flash device will be described. (Accessory 200 side processing) 12, the accessory control circuit 201 transmits 15 bytes of accessory information to the camera control circuit A101 as a response to the I2C communication from the camera control circuit A101. Here, it is assumed that the cause acquisition method in the accessory information is set to the SPI communication method.

[0283] When the user presses the menu call switch of the operation switch 212 on the accessory 200, the accessory control circuit 201 detects this and generates a menu call event for the camera 100. As a result, the accessory control circuit 201 determines in S606 that a menu call event has occurred, and proceeds to S613 via S607 → S609 → S611.

[0284] In S613, the accessory control circuit 201 determines that the event determined to have occurred in S606 is an event for notifying the camera 100 by a communication request signal / WAKE, and in S614 controls the communication request signal / WAKE to a Lo level. Also, as data on the communication request cause to be notified to the camera 100 via SPI communication, the accessory control circuit 201 stores data indicating "pressing the menu call switch" shown in FIG. 8.

[0285] Next, the accessory control circuit 201 returns to S606 and again determines whether an event has occurred. When SPI communication from the camera control circuit B102 occurs, the accessory control circuit 201 proceeds from S607 to S608 and notifies the camera control circuit B102 of the cause of the communication request via SPI communication.

[0286] (Processing on the camera 100 side) In S504 of FIG. 11, the camera control circuit B102 determines that an event has occurred when the camera control circuit A101 notifies the camera control circuit B102 of the occurrence of an event for performing accessory information and SPI communication in S705 of FIG.

[0287] As a result, in S506, the camera control circuit B102 acquires the communication request cause from the accessory control circuit 201 via SPI communication, and also acquires the strobe information necessary for menu display. Then, it sets the event "menu call switch pressed" and ends the SPI communication.

[0288] Next, the camera control circuit B102 returns to S504 and again determines whether or not an event has occurred. The camera control circuit B102 determines that the event "menu call switch pressed" has occurred, and proceeds to S509, bypassing S505 and S507.

[0289] In S509, the camera control circuit B102 causes the display circuit 127 to display a menu for the flash device as shown in FIG. 14(b) as in-camera control in response to the event of "menu call switch pressed" determined in S504.

[0290] In this way, the camera control circuit B102 uses SPI communication when a large amount of information is required, such as a menu display for a flash device. This allows for an imaging system with higher real-time performance than when a large amount of data is communicated only through I2C communication, which is slower than SPI communication.

[0291] [Example of controlling the camera 100 using both I2C and SPI communication] Next, a case will be described in which, when the accessory 200 is a strobe device, the menu display of the camera 100 is controlled while controlling the bounce of the strobe using both I2C communication and SPI communication. (Accessory 200 side processing) 12, the accessory control circuit 201 transmits 15 bytes of accessory information to the camera control circuit A101 as a response to the I2C communication from the camera control circuit A101. Here, the cause acquisition method in the accessory information is set to both the I2C communication method and the SPI communication method.

[0292] When the user presses the auto bounce switch and menu call switch of the operation switch 212 on the accessory 200, the accessory control circuit 201 detects this and generates an "auto bounce drive" event and a "menu call switch pressed" event for the camera 100. As a result, the accessory control circuit 201 determines in S606 that an "auto bounce drive" event has occurred, and proceeds to S615 via S607 → S609 → S611 → S613.

[0293] In S615, the accessory control circuit 201 performs auto bounce drive control in response to the "auto bounce drive" event as control within the accessory.

[0294] Next, the accessory control circuit 201 returns to S606 and determines that the event "menu call switch pressed" has occurred. Then, passing through S607, S609, and S611, in S613 it determines that the event determined to have occurred in S606 is an event for notifying the camera 100 via a communication request signal / WAKE, and in S614 controls the communication request signal / WAKE to a low level. The accessory control circuit 201 also stores "auto bounce drive" (first information) data at address 0x03 in FIG. 8 as data on the cause of the communication request to be notified to the camera 100 via I2C communication. In this embodiment, "auto bounce drive" is assigned to the reserved area address 0x03 data as the cause of the communication request. The accessory control circuit 201 also stores "menu call switch pressed" (second information) data as data on the cause of the communication request to be notified to the camera 100 via SPI communication.

[0295] The accessory control circuit 201 then returns to S606 to determine whether an event has occurred, and when I2C communication occurs from the camera control circuit A101, the process proceeds to S607, S609, and S610, where the accessory control circuit 201 notifies the camera control circuit B102 of the cause of the communication request via I2C communication. When SPI communication occurs from the camera control circuit B102, the accessory control circuit 201 proceeds from S607 to S608, where the accessory control circuit 201 notifies the camera control circuit B102 of the cause of the communication request via SPI communication.

[0296] Although the case where I2C communication and SPI communication are performed in this order has been described, the order may be reversed or the communication may be performed simultaneously.

[0297] (Processing on the camera 100 side) In S504 of Fig. 11, the camera control circuit B102 determines that an event has occurred when it is notified of the accessory information from the camera control circuit A101 in S705 of Fig. 13 and of the occurrence of an event in I2C and SPI communication. First, to process the event in I2C communication, the camera control circuit B102 passes through S505 → S507 and proceeds to S509.

[0298] In S509, the camera control circuit B102 calculates the optimum angle for auto bounce as in-camera control in response to the "auto bounce drive" event whose occurrence was determined in S504, and generates an auto bounce drive request event.

[0299] Next, the camera control circuit B102 returns to S504 and processes the event in the SPI communication. In S506, the cause of the communication request is acquired through the SPI communication, and the strobe information necessary for the menu display is also acquired, and the event "Menu call switch pressed" is set, and the SPI communication ends.

[0300] Next, the camera control circuit B102 returns to S504 again to detect the event of "pressing the menu call switch", and proceeds to S509 via S505 → S507. In S509, the camera control circuit B102 causes the display circuit 127 to display a menu for the flash device as shown in Fig. 14(b) as in-camera control in response to the event of "pressing the menu call switch" detected in S504.

[0301] In this way, the camera control circuit B102 simultaneously controls events acquired through I2C communication and SPI communication, thereby realizing an imaging system capable of highly real-time data communication.

[0302] Note that the control when I2C communication and SPI communication are not performed simultaneously is achieved by combining the above-mentioned controls, so the explanation will be omitted.

[0303] In each of the above embodiments, the first communication method is the I2C communication method and the second communication method is the SPI communication method, but the first and second communication methods may be communication methods other than the I2C and SPI communication methods.

[0304] In addition, in the above embodiments, the case where the accessory is capable of communication using both the first communication method and the second communication method has been described, but the accessory may be capable of communication using the first communication method but not the second communication method. Even in such an accessory, by having the accessory transmit information corresponding to the communication method used to communicate information related to the cause of the communication request, it is possible to reduce inquiries from the camera to the accessory and perform data communication with good responsiveness.

[0305] Furthermore, in the above embodiments, an imaging device has been described as an example of an electronic device, but the electronic device referred to in the present invention includes various electronic devices other than imaging devices.

[0306] Furthermore, although the above embodiment has been described with respect to a case in which the accessory 200 is directly attached to the camera 100, other attachment configurations are also possible. For example, the camera 100 and the main accessory may communicate via a main accessory corresponding to the accessory 200 and an intermediate accessory such as an adapter device to which the camera 100 is attached. In this case, the intermediate accessory may perform communication control similar to at least a portion of the communication control performed by the accessory 200 and the communication control performed by the camera 100 described in the above embodiment. Furthermore, the intermediate accessory may function as an information transmission path, such as outputting information corresponding to information input from the camera 100 to the main accessory and outputting information corresponding to information input from the main accessory to the camera 100. Thus, accessories as embodiments of the present invention include various accessories such as microphone devices, lighting devices, and adapter devices. Furthermore, adapter devices may also be included in electronic devices. (Other Examples) The present invention can also be realized by supplying a program that realizes one or more functions of the above-described embodiments to a system or device via a network or a storage medium, and having one or more processors in the computer of the system or device read and execute the program. It can also be realized by a circuit (e.g., ASIC) that realizes one or more functions.

[0307] The embodiments described above are merely representative examples, and various modifications and alterations are possible to each embodiment when implementing the present invention. [Explanation of symbols]

[0308] 100 cameras 101 Camera control circuit A 102 Camera control circuit B 200 Accessories 201 Accessory control circuit

Claims

1. An accessory that is detachably and communicatively attached to an electronic device, an accessory processing means for issuing a communication request to the electronic device and transmitting information regarding the cause of the communication request; The accessory processing means notifying the electronic device, via the first communication method, of a factor acquisition method to be used for communicating information related to the factor, between a first communication method and a second communication method different from the first communication method; An accessory characterized in that, in response to a communication request being made to the electronic device, it transmits information regarding the cause of the communication request to the electronic device using a communication method corresponding to the cause acquisition method notified to the electronic device.

2. The accessory processing means The accessory according to claim 1 , wherein communication with the electronic device is possible using the first communication method and the second communication method.

3. The accessory processing means The accessory according to claim 1 , wherein the cause acquisition method is transmitted in response to the accessory being attached to the electronic device.

4. The accessory according to claim 1 , wherein the factor acquisition method includes any one of the first communication method, the second communication method, and both the first communication method and the second communication method.

5. 2. The accessory according to claim 1, further comprising a storage means for storing specification information including the fact that the factor acquisition method is one of the first communication method, the second communication method, or both the first communication method and the second communication method.

6. 6. The accessory according to claim 2, wherein the contacts used for transmitting information in the first communication method are different from the contacts used for transmitting information in the second communication method.

7. 7. The accessory according to claim 6, wherein the contact used for the communication request is different from the contact used for communicating information in the first communication method and the contact used for communicating information in the second communication method.

8. The accessory processing means The accessory according to claim 1 , wherein information about the cause is transmitted to the electronic device using the notified cause acquisition method.

9. 9. The accessory according to claim 1, wherein the first communication method is a communication method slower than the second communication method.

10. 10. The accessory according to claim 1, wherein the first communication method is an I2C communication method, and the second communication method is an SPI communication method.

11. The storage means The accessory according to claim 5 , further comprising: storing specification information including information indicating that the factor acquisition method is the first communication method or the second communication method.

12. The storage means The accessory according to claim 5 , further comprising: storing specification information indicating that the factor acquisition method is performed using both the first communication method and the second communication method.

13. In the case where the information relating to the factor includes first information and second information, 13. The accessory according to claim 12, wherein the accessory processing means transmits the first information to the electronic device in the first communication method and transmits the second information to the electronic device in the second communication method.

14. 14. The accessory according to claim 13, wherein the accessory processing means transmits the first information in the first communication method and the second information in the second communication method in parallel.

15. 15. The accessory according to claim 1, wherein the accessory processing unit makes the communication request by changing the level of a communication request signal input to the electronic device.

16. An accessory according to any one of claims 1 to 15; and an electronic device to which the accessory is detachably and communicatively attached.

17. An electronic device to which an accessory is detachably and communicably attached, a first processing means for receiving a communication request from the accessory and for communicating with the accessory in a first communication method; a second processing means capable of communicating with the accessory in a second communication method different from the first communication method; the first processing means receives, via the first communication method, from the accessory a notification of a factor acquisition method to be used for communicating information relating to a factor of the communication request, out of the first and second communication methods; an electronic device characterized in that one of the first and second processing means, which is capable of communicating using a communication method corresponding to the factor acquisition method notified by the accessory, receives information regarding the factor from the accessory using the communication method corresponding to the factor acquisition method.

18. 18. The electronic device according to claim 17, wherein the first processing means notifies the second processing means of the factor acquisition method notified by the accessory.

19. 19. The electronic device according to claim 17, wherein the first communication method is a communication method slower than the second communication method.

20. 20. The electronic device according to claim 17, wherein the first communication method is an I2C communication method, and the second communication method is an SPI communication method.

21. 21. The electronic device of claim 17, wherein when the communication method corresponding to the factor acquisition method is both the first and second communication methods and the accessory has first information and second information as information regarding the factor, the first processing means receives the first information using the first communication method and the second processing means receives the second information using the second communication method.

22. 22. The electronic device according to claim 21, wherein the first and second processing means transmit the first information in the first communication method and the second information in the second communication method in parallel.

23. 23. The electronic device according to claim 17, wherein the first processing means receives the communication request by changing the level of a communication request signal input from the accessory.

24. the camera has a first power state and a second power state consuming less power than the first power state; the first processing means is operable in both the first power state and the second power state; 18. The electronic device of claim 17, wherein the second processing means is operable in the first power state and is inoperative in the second power state.

25. 18. The electronic device according to claim 17, wherein the factor acquisition method includes any one of the first communication method, the second communication method, and both the first communication method and the second communication method.

26. The processing means capable of communicating in a communication system corresponding to the factor acquisition method includes:

18. The electronic device according to claim 17, wherein the cause acquisition method is notified in response to the accessory being attached to the electronic device.

27. An electronic device according to any one of claims 17 to 26; and an accessory detachably and communicably attached to the electronic device.

28. A method for controlling an accessory that is detachable and communicable with an electronic device, comprising: making a communication request to the electronic device; transmitting information regarding the cause of the communication request; notifying the electronic device, via the first communication method, of information corresponding to a factor acquisition method used for communicating information related to the factor, out of a first communication method and a second communication method different from the first communication method; a step of transmitting information regarding the cause of the communication request to the electronic device using a communication method corresponding to the cause acquisition method notified to the electronic device in response to a communication request being made to the electronic device.

29. A control method for an electronic device to which an accessory is detachably and communicably attached, the electronic device having a first processing means that accepts a communication request from the accessory and is capable of communicating with the accessory in a first communication method, and a second processing means that is capable of communicating with the accessory in a second communication method different from the first communication method, a step of causing the first processing means to receive, from the accessory, a notification of a factor acquisition method to be used for communicating information relating to a factor of the communication request, out of the first and second communication methods, by the first communication method; a step of causing one of the first and second processing means, which is capable of communicating using a communication method corresponding to the factor acquisition method notified by the accessory, to receive information regarding the factor from the accessory using the communication method corresponding to the factor acquisition method.

30. A method for controlling an electronic device to which an accessory is detachably and communicably attached, comprising: receiving a communication request from the accessory; A control method characterized by comprising a step of receiving information corresponding to a factor acquisition method used to communicate information regarding the factor of the communication request from the accessory using a first communication method and a second communication method different from the first communication method.

31. 30. A program for causing a computer of an accessory detachably and communicably attached to an electronic device to execute processing according to the control method of claim 28.

32. 31. A program for causing a computer of an electronic device to which an accessory is detachably and communicably attached to execute processing according to the control method of claim 29 or 30.

Citation Information

Patent Citations

  • Accessory device and imaging device

    JP2018205711A

  • Camera, accessory device, communication control method, computer program, and camera system

    JP2018205719A

  • Method and apparatus for controlling interchangeable lens system camera

    US20150070521A1