WO2022039545A1 - 직렬 인터페이스를 운영하는 전자 장치 및 그 제어 방법 - Google Patents

직렬 인터페이스를 운영하는 전자 장치 및 그 제어 방법 Download PDF

Info

Publication number
WO2022039545A1
WO2022039545A1 PCT/KR2021/011098 KR2021011098W WO2022039545A1 WO 2022039545 A1 WO2022039545 A1 WO 2022039545A1 KR 2021011098 W KR2021011098 W KR 2021011098W WO 2022039545 A1 WO2022039545 A1 WO 2022039545A1
Authority
WO
WIPO (PCT)
Prior art keywords
peripheral devices
electronic device
module
command
pin
Prior art date
Application number
PCT/KR2021/011098
Other languages
English (en)
French (fr)
Inventor
손정환
안용준
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Publication of WO2022039545A1 publication Critical patent/WO2022039545A1/ko
Priority to US18/112,066 priority Critical patent/US20230205724A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/409Mechanical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation

Definitions

  • Various embodiments of the present disclosure relate to an electronic device and method for controlling a peripheral device through a serial interface.
  • 5G (5th generation) communication system or pre-5G communication system has been developed to meet the increasing traffic demand after the 4G (4th generation) communication system is commercialized. was done
  • the 5G communication system is called a 4G network beyond (beyond 4G network) communication system or a long term evolution (LTE) system after (post LTE) system.
  • LTE long term evolution
  • the 5G wireless communication system has continuously evolved, and it is increasingly necessary to control multiple devices through multiple paths to receive a lot of information at the same time.
  • command transmission that needs to be controlled according to each situation is becoming more important.
  • an electronic device for controlling some or all of a plurality of peripheral devices using a serial interface and a control method thereof may be provided.
  • an electronic device may include at least one control unit, an interface, or a group of peripheral devices.
  • the peripheral device group may include a plurality of peripheral devices (eg, the input module, sound output module, display module, audio module, haptic module, sensor module, camera module, power management module, and communication module of FIG. 1 ).
  • a plurality of peripheral devices and at least one processor configured to be connected to the plurality of peripheral devices through a serial interface, wherein the at least one processor includes one It may be configured to continuously transmit one command frame constituting a serial control command of , and data frames to be transmitted to at least two of the plurality of peripheral devices through the serial interface.
  • the plurality of peripheral devices include at least one pin to which a signal for controlling activation or deactivation for receiving a data frame is input, and the at least two peripheral devices It may be configured in such a way that a different voltage is applied to each of the at least one pin for devices.
  • the at least one processor includes at least one pin to which a signal for controlling activation or deactivation for receiving a data frame is input to the plurality of peripheral devices, and the at least one pin may be a ground pin or an NC (No Connect) pin.
  • An electronic device designed to control a plurality of peripheral devices according to various embodiments at once is capable of efficiently operating complex operations required by complex multiple CA combinations / MIMO / 5G, and is generated to control various things within a short time It is also possible to reduce side effects such as malfunctions.
  • serial interface As long as the serial interface according to various embodiments is designed to operate in a predetermined structure with respect to command transmission and reception and execution, it is possible to control all of the same electronic device with a single command.
  • FIG. 1 is a diagram illustrating a block configuration of an electronic device 101 according to various embodiments of the present disclosure.
  • FIG. 2 is a diagram 200 illustrating a structure in which an electronic device performs communication through a serial interface, according to various embodiments of the present disclosure.
  • FIG. 3 is a diagram 300 illustrating a control flow for performing communication through a serial interface in an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments of the present disclosure.
  • FIG. 4 is a diagram 400 illustrating an example of a structure for performing communication through a serial interface in an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments of the present disclosure.
  • FIG. 5 is a frame-by-frame diagram 500 illustrating a structure in which an electronic device (eg, the electronic device 101 of FIG. 1 ) performs communication through a serial interface, according to various embodiments of the present disclosure.
  • an electronic device eg, the electronic device 101 of FIG. 1
  • FIG. 5 illustrates a structure in which an electronic device (eg, the electronic device 101 of FIG. 1 ) performs communication through a serial interface, according to various embodiments of the present disclosure.
  • FIG. 6 is a diagram 600 illustrating an example of a structure for performing communication through a serial interface in an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments of the present disclosure.
  • FIG. 7 is a diagram 700 illustrating another example of a structure for performing communication through a serial interface in an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments of the present disclosure.
  • FIG. 8 is a diagram 800 illustrating another example of a structure for performing communication through a serial interface in an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments of the present disclosure.
  • FIG. 9 is a diagram illustrating the number of a plurality of peripheral devices with respect to a data frame and data in a structure for performing communication through a serial interface in an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments of the present disclosure; It is a diagram 900 showing the case of 4.
  • FIG. 1 is a diagram illustrating a block configuration of an electronic device 101 according to various embodiments of the present disclosure.
  • an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • a first network 198 eg, a short-range wireless communication network
  • a second network 199 e.g., a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • the electronic device 101 includes a processor 120 , a memory 130 , an input device 150 , a sound output device 155 , a display device 160 , an audio module 170 , and a sensor module ( 176 , interface 177 , haptic module 179 , camera module 180 , power management module 188 , battery 189 , communication module 190 , subscriber identification module 196 , or antenna module 197 . ) may be included. In some embodiments, at least one of these components (eg, the display device 160 or the camera module 180 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components may be implemented as a single integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illuminance sensor) may be implemented while being embedded in the display device 160 (eg, a display).
  • the sensor module 176 eg, a fingerprint sensor, an iris sensor, or an illumina
  • the processor 120 executes software (eg, the program 140 ) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120 . It can control and perform various data processing or operations. According to an embodiment, as at least part of data processing or operation, the processor 120 stores a command or data received from another component (eg, the sensor module 176 or the communication module 190 ) into the volatile memory 132 . may be loaded into the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the resulting data in the non-volatile memory 134 .
  • software eg, the program 140
  • the processor 120 stores a command or data received from another component (eg, the sensor module 176 or the communication module 190 ) into the volatile memory 132 .
  • the processor 120 stores a command or data received from another component (eg, the sensor module 176 or the communication module 190 ) into the volatile memory 132 .
  • the processor 120 includes a main processor 121 (eg, a central processing unit or an application processor), and an auxiliary processor 123 (eg, a graphic processing unit or an image signal processor) that can be operated independently or together with the main processor 121 . , a sensor hub processor, or a communication processor). Additionally or alternatively, the auxiliary processor 123 may be configured to use less power than the main processor 121 or to be specialized for a specified function. The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
  • a main processor 121 eg, a central processing unit or an application processor
  • an auxiliary processor 123 eg, a graphic processing unit or an image signal processor
  • the auxiliary processor 123 may be configured to use less power than the main processor 121 or to be specialized for a specified function.
  • the auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
  • the auxiliary processor 123 is, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display device 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states.
  • the auxiliary processor 123 eg, image signal processor or communication processor
  • the memory 130 may store various data used by at least one component of the electronic device 101 (eg, the processor 120 or the sensor module 176 ).
  • the data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto.
  • the memory 130 may include a volatile memory 132 or a non-volatile memory 134 .
  • the program 140 may be stored as software in the memory 130 , and may include, for example, an operating system 142 , middleware 144 , or an application 146 .
  • the input device 150 may receive a command or data to be used in a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 .
  • the input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (eg, a stylus pen).
  • the sound output device 155 may output a sound signal to the outside of the electronic device 101 .
  • the sound output device 155 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback, and the receiver can be used to receive an incoming call.
  • the receiver may be implemented separately from or as a part of the speaker.
  • the display device 160 may visually provide information to the outside of the electronic device 101 (eg, a user).
  • the display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the corresponding device.
  • the display device 160 may include a touch circuitry configured to sense a touch or a sensor circuit (eg, a pressure sensor) configured to measure the intensity of a force generated by the touch. there is.
  • the audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input device 150 or an external electronic device (eg, a sound output device 155 ) directly or wirelessly connected to the electronic device 101 . The sound may be output through the electronic device 102 (eg, a speaker or headphones).
  • an external electronic device eg, a sound output device 155
  • the sound may be output through the electronic device 102 (eg, a speaker or headphones).
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, user state), and generates an electrical signal or data value corresponding to the sensed state. can do.
  • the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
  • the interface 177 may support one or more designated protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ).
  • the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital Card
  • the connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ).
  • the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 may manage power supplied to the electronic device 101 .
  • the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101 .
  • the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102 , the electronic device 104 ), or the server 108 ). It can support establishment of and communication performance through the established communication channel.
  • the communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a LAN (local area network) communication module, or a power line communication module).
  • GNSS global navigation satellite system
  • a corresponding communication module is a first network 198 (eg, a short-range communication network such as Bluetooth, WiFi direct, or IrDA (infrared data association)) or a second network 199 (eg, a cellular network, the Internet, or It can communicate with an external electronic device through a computer network (eg, a telecommunication network such as a LAN or WAN).
  • a computer network eg, a telecommunication network such as a LAN or WAN.
  • These various types of communication modules may be integrated into one component (eg, a single chip) or implemented as a plurality of components (eg, multiple chips) separate from each other.
  • the wireless communication module 192 uses the subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 .
  • the electronic device 101 may be identified and authenticated.
  • the antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device).
  • the antenna module 197 may include one antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern.
  • the antenna module 197 may include a plurality of antennas. In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is selected from among the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna.
  • other components eg, a radio frequency integrated circuit (RFIC)
  • RFIC radio frequency integrated circuit
  • peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • GPIO general purpose input and output
  • SPI serial peripheral interface
  • MIPI mobile industry processor interface
  • the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 .
  • Each of the electronic devices 102 and 104 may be the same or a different type of device from the electronic device 101 .
  • all or part of the operations performed by the electronic device 101 may be executed by one or more of the external electronic devices 102 , 104 , or 108 .
  • the electronic device 101 may perform the function or service itself instead of executing the function or service itself.
  • one or more external electronic devices may be requested to perform at least a part of a function or a service thereof.
  • One or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101 .
  • the electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request.
  • cloud computing, distributed computing, or client-server computing technology may be used.
  • FIG. 2 is a diagram 200 illustrating a structure in which an electronic device performs communication through a serial interface, according to various embodiments of the present disclosure.
  • an electronic device (eg, the electronic device 101 of FIG. 1 ) according to an embodiment includes at least one control unit 210 (eg, the processor 120 of FIG. 1 ), an interface 220 or The peripheral device group 230 may be included.
  • the peripheral device group 230 includes a plurality of peripheral devices 231 , 232 , 233 , 234 ... 235 (eg, the input module 150 of FIG. 1 , the sound output module 155 , and the display module).
  • 160 an audio module 170 , a haptic module 179 , a sensor module 176 , a camera module 180 , a power management module 188 , and a communication module 190 ).
  • the interface 220 may support signal exchange between devices based on a serial interface communication scheme.
  • at least one main device eg, at least one control unit 210 of FIG. 2
  • the interface 220 includes a plurality of sub-devices (eg, a plurality of peripheral devices 231 , 232 , 233 , 234 of FIG. 2 ). 235)) or the at least one main device may be a path through which the at least one main device can receive signals from the plurality of sub devices.
  • the interface 220 for example, the at least one control unit 210 to control at least one of the plurality of peripheral devices (231, 232, 233, 234...235) ), a signal such as a command generated by
  • the interface 220 includes an application processor (AP), a communication processor (CP), a radio-frequency integrated circuit, RFIC) (eg, at least one control unit 210 of FIG. 2 ) and a plurality of peripheral devices (eg, a plurality of peripheral devices 231 , 232 , 233 , 234 ... 235 of FIG. 2 ))
  • AP application processor
  • CP communication processor
  • RFIC radio-frequency integrated circuit
  • RFIC radio-frequency integrated circuit
  • the plurality of peripheral devices 231 , 232 , 233 , 234 ... 235 included in the peripheral device group 230 perform different functions or electronic devices that perform the same function. It may be the components included in 101 .
  • the peripheral device group 230 is, for example, a transmission module for transmitting a radio frequency signal (RF signal) or a reception module for receiving an RF signal or a transmission/reception module for transmitting/receiving an RF signal. It can be a combination.
  • the peripheral device group 230 may include one transmission/reception module and three reception modules.
  • the plurality of peripheral devices 231 , 232 , 233 , 234 ... 235 included in the peripheral device group 230 receive control from the controller 210 through the interface 220 . and can perform that function.
  • the peripheral device group 230 may include, for example, peripheral devices that transmit/receive or receive an RF signal.
  • peripheral devices that transmit/receive or receive the RF signal may include at least one transmission/reception module (TRx module) and/or at least one transmission-only module (Rx module).
  • the peripheral device group 230 may include one transmission/reception module and N transmission-only modules.
  • the plurality of peripheral devices 231 , 232 , 233 , 234 ... 235 is a specific location of a command received through the interface 220 (eg, a plurality of data included in the command). It is possible to obtain data from a data frame assigned to itself among the frames).
  • the plurality of peripheral devices 231 , 232 , 233 , 234 ... 235 should be able to recognize a specific location from which they acquire data.
  • Each of the plurality of peripheral devices 231 , 232 , 233 , 234 ... 235 has, for example, one or a plurality of pins, and a signal ( For example, based on the voltage level), it is possible to recognize the data frame to obtain data from the received command.
  • the plurality of peripheral devices 231 , 232 , 233 , 234 ... 235 each have a plurality of pins, and a command received based on a voltage applied through the plurality of pins. It is possible to recognize a data frame from which data is to be obtained.
  • each of the plurality of peripheral devices 231 , 232 , 233 , 234 ... 235 has a single pin, and is received based on a voltage level applied through the single pin. It is possible to recognize the data frame from which data is to be obtained from the instruction.
  • each of the plurality of peripheral devices 231 , 232 , 233 , 234 ... 235 has one or a plurality of pins, and a data frame to be acquired is transmitted to the one or plurality of pins.
  • a data frame to be acquired is transmitted to the one or plurality of pins.
  • the controller 210 transmits signals to and from the plurality of peripheral devices 231 , 232 , 233 , 234 ... 235 included in the peripheral device group 230 through the interface 220 .
  • the control unit 210 may, for example, use data and a clock to control some or all of the plurality of peripheral devices 231 , 232 , 233 , 234 ... 235 through the interface 220 . can control
  • the controller 210 may determine one or a plurality of peripheral devices to be controlled among the plurality of peripheral devices 231 , 232 , 233 , 234 ... 235 .
  • the controller 210 may generate one command for controlling the determined one or more peripheral devices.
  • the control unit 210 may transmit the generated command through the interface 220 .
  • the controller 210 may be able to control target peripheral devices to perform a desired operation by using a single command.
  • the target peripheral devices are, for example, a plurality of peripheral devices 231 , 232 , 233 , 234 ... 235 or a plurality of peripheral devices 231 , 232 , 233 connected through the interface 220 . , 234 «235) may be one or a plurality of peripheral devices to be controlled.
  • the command that may be generated by the controller 210 may have a multi-device control structure.
  • the multi-device control structure may have a structure configured by, for example, one common frame and a plurality of data frames.
  • a command having a multi-device control structure may include one common frame and a plurality of data frames.
  • the common frame included in the command may include fields in which information to be shared by a plurality of peripheral devices (eg, peripheral devices to be controlled) can be recorded.
  • the common frame may include fields for writing, for example, a slave address, a write/read, a register, a USID setting, and a register address.
  • a plurality of data frames included in the command corresponds to a plurality of peripheral devices 231, 232, 233, 234...235 connected through the interface 220, or the plurality of peripheral devices 231, 231, 232, 233, 234...235) can correspond to a plurality of peripheral devices to be controlled.
  • the data frame included in the command is a plurality of peripheral devices (231, 232, 233, 234...235) or the plurality of peripheral devices (231, 232, 233, 234). ..235) may correspond one-to-one to a plurality of peripheral devices to be controlled.
  • each data frame included in the command is a plurality of peripheral devices (231, 232, 233, 234...235) or the plurality of peripheral devices (231, 232, 233, 234... ...235) may include data for controlling one peripheral device among a plurality of peripheral devices to be controlled.
  • FIG. 3 is a diagram 300 illustrating a control flow for performing communication through a serial interface in an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments of the present disclosure.
  • An operating subject of the flowchart 300 illustrated in FIG. 3 may be understood as an electronic device (eg, the electronic device 101 of FIG. 1 ) or at least one control unit of the electronic device (eg, the control unit 210 of FIG. 2 ). there is.
  • the controller may determine one or a plurality of peripheral devices to be controlled among a plurality of peripheral devices 231 , 232 , 233 , 234 ... 235 .
  • the target peripheral devices are, for example, a plurality of peripheral devices 231 , 232 , 233 , 234 ... 235 or a plurality of peripheral devices 231 , 232 , 233 connected through the interface 220 . , 234 «235) may be one or a plurality of peripheral devices to be controlled.
  • the controller 210 may generate one command for controlling the determined one or more peripheral devices.
  • the command that may be generated by the controller 210 may have a multi-device control structure.
  • the multi-device control structure may have a structure configured by, for example, one common frame and a plurality of data frames.
  • a command having a multi-device control structure may include one common frame and a plurality of data frames.
  • the common frame included in the command may include fields in which information to be shared by a plurality of peripheral devices (eg, peripheral devices to be controlled) can be recorded.
  • the common frame may include fields for writing, for example, a slave address, a write/read, a register, a USID setting, and a register address.
  • a plurality of data frames included in the command corresponds to a plurality of peripheral devices 231, 232, 233, 234...235 connected through the interface 220, or the plurality of peripheral devices 231, 231, 232, 233, 234...235) can correspond to a plurality of peripheral devices to be controlled.
  • the data frame included in the command is a plurality of peripheral devices (231, 232, 233, 234...235) or the plurality of peripheral devices (231, 232, 233, 234). ..235) may correspond one-to-one to a plurality of peripheral devices to be controlled.
  • each data frame included in the command is a plurality of peripheral devices (231, 232, 233, 234...235) or the plurality of peripheral devices (231, 232, 233, 234... ...235) may include data for controlling one peripheral device among a plurality of peripheral devices to be controlled.
  • the controller 210 may transmit the generated serial control command through the interface 220 .
  • the control unit 210 may be able to control target peripheral devices to perform a desired operation by using the one generated serial control command.
  • the target peripheral devices are, for example, a plurality of peripheral devices 231 , 232 , 233 , 234 ... 235 or a plurality of peripheral devices 231 , 232 , 233 connected through the interface 220 . , 234 «235) may be one or a plurality of peripheral devices to be controlled.
  • the target peripheral devices may receive a serial control command from the controller through an interface, and perform a corresponding operation according to the received serial control command. Receiving the serial control command and performing the corresponding operation through the target peripheral device has already been disclosed in the description with reference to FIG. 2 above, so it will not be repeated.
  • FIG. 4 is a diagram 400 illustrating an example of a structure for performing communication through a serial interface in an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments of the present disclosure.
  • the structure for performing communication through the serial interface shown in FIG. 4 may be, for example, a MIPI structure.
  • a MIPI structure includes an application processor (AP), a communication processor (CP), and a radio-frequency integrated circuit (RFIC) constituting a smartphone, which is one of electronic devices. circuit, RFIC).
  • a transmitter 410 eg, AP
  • the transmitter 410 eg, at least A signal such as a command generated by one control unit 210 may be transmitted.
  • FIG. 5 is a frame-by-frame diagram 500 illustrating a structure in which an electronic device (eg, the electronic device 101 of FIG. 1 ) performs communication through a serial interface, according to various embodiments of the present disclosure.
  • an electronic device eg, the electronic device 101 of FIG. 1
  • FIG. 5 illustrates a structure in which an electronic device (eg, the electronic device 101 of FIG. 1 ) performs communication through a serial interface, according to various embodiments of the present disclosure.
  • a command 500 may include one common frame 502 and a plurality of data frames 503 , 511 , 514 ... 516 .
  • the command 500 may have a multi-device control structure.
  • a command having a multi-device control structure may include one common frame 502 and a plurality of data frames 503 , 511 , 514 ... 516 .
  • the single common frame 502 included in the command may include fields in which information to be shared by a plurality of peripheral devices (eg, control target peripheral devices) can be recorded.
  • the one common frame 502 includes, for example, a slave address 504, a USID setting 505, a write/read 506, a register 507, a register address ( register address, 508).
  • the plurality of data frames 503 , 511 , 514 ... 516 included in the command may include a plurality of peripheral devices 510 , 513 ... 518 or the plurality of peripheral devices 510 , 513 .. .518) may correspond one-to-one to a plurality of peripheral devices to be controlled. That is, the plurality of data frames 503 , 511 , 514 ...
  • FIG. 6 is a diagram 600 illustrating an example of a structure for performing communication through a serial interface in an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments of the present disclosure.
  • a structure for performing communication through a serial interface is, for example, pins 611, 613, 615, 617, 619, 621, 623, 625, 627, 629... ...631, 633, 635, 637, 639) may be a structure of an allocation scheme.
  • the plurality of peripheral devices 610 , 620 ... 630 includes the plurality of pins 611 , 613 , 615 , 617 , 619 , 621 , 623 , 625 , 627 , 629 ... ...631, 633, 635, 637, 639) and the plurality of pins 611, 613, 615, 617, 619, 621, 623, 625, 627, 629... 631, 633 , 635 , 637 , 639 may have a plurality of first pins 611 , 613 , 615 , 621 , 623 , 625 ... 631 , 633 , 635 per one peripheral device, and also a plurality of second pins ( two pins per peripheral device) 617 , 619 , 627 , 629 ... 637 , 639 .
  • the plurality of first pins 611 , 613 , 615 , 621 , 623 , 625 ... 631 , 633 , 635 may be, for example, pins to which a signal indicating whether a command is received or not may be input.
  • the plurality of peripheral devices 610 , 620 ... 630 may determine whether to receive a data frame from a command based on a signal (eg, a voltage level) applied through the first pin.
  • the plurality of second pins 617 , 619 , 627 , 629 ... 637 , 639 may be, for example, pins for receiving a command.
  • the command may include one common frame and a plurality of data frames.
  • a plurality of peripheral devices from a command received based on a signal (eg, a voltage level) applied through the plurality of first pins 611, 613, 615, 621, 623, 625...631, 633, 635 may recognize a data frame to obtain data.
  • a data frame may be determined through V 1 and V 2 .
  • the following voltage High and voltage Low are not determined by comparing the high and low of the two voltages, but may be determined as High if they are higher than the reference value, or Low if they are low.
  • the reference value is set to 1V, it can be High when a voltage higher than 1V is input, and Low when a voltage lower than 1V is input. For example, there may be a case where 1.8V is input to High and 0V is input to Low.
  • V 1 V 2 Data Frame Index High High #One Low Low #2 High Low #3 Low High #4
  • each of the plurality of peripheral devices 610 , 620 ?? 630 determines a data frame to obtain data from a received command, and the data frame is transmitted to a plurality of peripheral devices ( 610, 620 hence630)
  • a signal eg, voltage
  • a signal applied through the plurality of first pins 611, 613, 615, 621, 623, 625...631, 633, 635 provided in level
  • a voltage High or voltage applied through the first and plurality of second pins 611, 613, 615, 621, 623, 625 Jerusalem631, 633, 635 Based on the low voltage, data frames 617, 619, 627, 629 whil 637, 639 can be recognized from the received command.
  • a plurality of peripheral devices from a specific location of the command received through the interface 220 (eg, a data frame assigned to itself among a plurality of data frames included in the command) Data may be acquired, and an example of the interface 220 may be a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)), and a plurality of peripheral devices
  • the devices 610 , 620 ?? 630 may be connected to each other through the interface 220 and exchange signals (eg, commands or data) with each other.
  • the MIPI may be, for example, RFFE BUS #1 (640).
  • FIG. 7 is a diagram 700 illustrating another example of a structure for performing communication through a serial interface in an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments of the present disclosure.
  • a structure for performing communication through a serial interface may be, for example, a voltage level structure.
  • the plurality of peripheral devices 710 , 720 ... 730 may include the plurality of pins 711 , 713 , 715 , 721 , 723 , 725 ... 731 , 733 , 735 . ), and the plurality of pins (711, 713, 715, 721, 723, 725... 731, 733, 735) is provided with a plurality of first pins (one pin per peripheral device) (711, 721 ... 731 ), and may also include a plurality of second pins (two pins per one peripheral device) 713 , 715 , 723 , 725 ... 733 , 735 .
  • the plurality of first pins 711 , 721 ... 731 may be, for example, pins to which a signal indicating whether a command is received or not may be input.
  • the plurality of peripheral devices 710 , 720 ... 730 may determine whether to receive a data frame from a command based on a signal (eg, a voltage level) applied through the first pin.
  • the plurality of second pins 713 , 715 , 723 , 725 ... 733 , 735 may be, for example, pins for receiving a command.
  • the command may include one common frame and a plurality of data frames.
  • a plurality of peripheral devices (710, 720...730) from a command received based on a signal (eg, voltage level) applied through the plurality of first pins (711, 721...731) may recognize a data frame from which data is to be acquired.
  • the plurality of peripheral devices 710 , 720 ... 730 may include a plurality of first pins and a plurality of second pins 711 , 713 , 715 , 721 , 723 , 725 ... ...731 , 733 , 735 , and among the plurality of first pins and the plurality of second pins 711 , 713 , 715 , 721 , 723 , 725 ... 731 , 733 , 735 .
  • a data frame for acquiring data may be recognized from the received command.
  • each peripheral device operates by accepting a predefined data frame according to a voltage level to which each power is supplied.
  • a method in which different power sources are selected from among internal power sources or converted into a desired voltage through a resistance in front of a peripheral device and input may be applied.
  • a data frame may be determined through V level .
  • V level which is a voltage level of an electronic device, may have an error
  • V level may have a certain range.
  • the first electronic device voltage level, V level #1 may have a range of 0V to 0.6V, V 2 0.7V to 1.2V, V 3 1.3V to 1.8V, and V 4 1.9V to 2.4V.
  • V 1 among V 1 , V 2 , V 3 , and V 4 when V 1 among V 1 , V 2 , V 3 , and V 4 is applied with respect to V level , the data frame recognizes #1. Also, when V 2 is applied, the data frame recognizes #2. And when V 3 is applied, the data frame recognizes #3. Finally, when V 4 is applied, the data frame recognizes #4.
  • each of the plurality of peripheral devices 710 , 720 ?? 730 determines a data frame to obtain data from a received command, and the data frame is transmitted to the plurality of peripheral devices ( 710, 720 hence730) may be determined based on a signal (eg, a voltage level) applied through the plurality of first pins 711, 721...731 provided respectively.
  • a signal eg, a voltage level
  • the plurality of peripheral devices 710 , 720 ... 730 may be located at a specific location of a command received through the interface 220 (eg, themselves among a plurality of data frames included in the command).
  • data frame designated to e.g, data frame designated to
  • an example of the interface 220 may be a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)).
  • the plurality of peripheral devices 710 , 720 ... 730 may be connected to each other through the interface 220 and exchange signals (eg, commands or data) with each other.
  • the MIPI may be, for example, RFFE BUS #1 (740).
  • FIG. 8 is a diagram 800 illustrating another example of a structure for performing communication through a serial interface in an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments of the present disclosure.
  • the plurality of peripheral devices 810 , 820 ... 830 are the plurality of pins 811 , 813 , 815 , 817 , 819 , 821 , 823 , 825 , 827 , 829 ... ...831, 833, 835, 837, 839), and the plurality of pins 811, 813, 815, 817, 819, 821, 823, 825, 827, 829. , 835 , 837 , 839 may have a plurality of first pins (a plurality of pins per one peripheral device) 811 , 813 , 815 , 821 , 823 , 825 ... 831 , 833 , 835 , and also a plurality of of the second pins (two pins per one peripheral device) 817 , 819 , 827 , 829 ... 837 , 839 may be provided.
  • the plurality of first pins 811 , 813 , 815 , 821 , 823 , 825 ... 831 , 833 , 835 may be, for example, pins to which a signal indicating whether a command is received or not may be input.
  • the plurality of peripheral devices 810 , 820 ... 830 may determine whether to receive a data frame from a command based on a signal (eg, a voltage level) applied through the first pin.
  • the plurality of second pins 817 , 819 , 827 , 829 ... 837 , 839 may be, for example, pins for receiving commands.
  • the command may include one common frame and a plurality of data frames.
  • a plurality of peripheral devices 810 from a command received based on a ground pin or NC pin connected through the plurality of first pins 811, 813, 815, 821, 823, 825...831, 833, 835 , 820&830) may recognize a data frame from which data is to be acquired.
  • the plurality of peripheral devices 810, 820»830 includes a plurality of first pins and a plurality of second pins 811, 813, 815, 817, 819, 821, 823, 825, 827, 829 whil831, 833, 835, 837, 839), wherein the plurality of first pins and the plurality of second pins 811, 813, 815, 817, 819, 821; A plurality of first pins 811, 813, 815, 821, 823, 825...831, 833, 835 among 823, 825, 827, 829 whil831, 833, 835, 837, 839) Based on the ground pin or NC pin connected through , the data frame to obtain data from the received command can be recognized.
  • a data frame may be determined through V 1 and V 2 .
  • V 1 V 2 Data Frame Index Ground Ground #One NC NC NC #2 Ground NC #3 NC Ground #4
  • each of the plurality of peripheral devices 810, 820»830 has a data frame to acquire data from the received command, and the data frame is transmitted to the plurality of peripheral devices ( 810, 820 hence830) through a plurality of left pins (811, 813, 815, 821, 823, 825...831, 833, 835) provided in each of the ground pins or NC pins connected through can be decided.
  • the plurality of peripheral devices 810 , 820 ... 830 receives a command from a specific location (eg, a data frame assigned to itself among a plurality of data frames included in the command) received through the interface 220 .
  • Data may be acquired, and an example of the interface 220 may be a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)), and a plurality of peripheral devices
  • the 810, 820??830 are connected to each other through the interface 220 and can exchange signals (eg, commands or data) with each other.
  • the MIPI may be, for example, RFFE BUS #1 (840).
  • FIG. 9 is a diagram illustrating the number of a plurality of peripheral devices with respect to a data frame and data in a structure for performing communication through a serial interface in an electronic device (eg, the electronic device 101 of FIG. 1 ) according to various embodiments of the present disclosure; It is a diagram 900 showing the case of 4.
  • the command may have a multi-device control structure.
  • 947 may be included.
  • 900(a) may be viewed as showing a case in which the Data Frame Index of FIGS. 6, 7, and 8 is #1.
  • 900(b) may be viewed as showing a case in which the Data Frame Index of FIGS. 6, 7, and 8 is #2.
  • 900(c) may be viewed as showing a case in which the Data Frame Index of FIGS. 6, 7, and 8 is #3.
  • 900(d) shows a case in which the Data Frame Index of FIGS. 6, 7, and 8 is #4.
  • an electronic device includes a plurality of peripheral devices; and at least one processor configured to be connected to the plurality of peripheral devices through a serial interface, wherein the at least one processor includes one command frame constituting one serial control command and one of the plurality of peripheral devices. It may be configured to continuously transmit data frames to be transmitted to at least two peripheral devices through the serial interface.
  • the plurality of peripheral devices may include at least one pin to which a signal indicating whether or not a data frame is received is input.
  • the at least one pin may be an input pin that receives a voltage from the outside.
  • the at least one processor may be configured to apply a voltage of a different level to each of the at least one pin to the at least two peripheral devices.
  • the maximum number of the plurality of peripheral devices may be determined by the number of pins provided in the peripheral devices.
  • the at least one processor may be configured to apply the different voltage by selecting one or more power sources among them.
  • it may be configured in such a way that the different voltage is applied through a resistor connected to the at least two peripheral devices.
  • the at least one pin may be a ground pin.
  • the at least one pin may be an NC (No Connect) pin.
  • At least two peripheral devices among the plurality of peripheral devices through a serial interface using one serial control command may include an operation of transmitting a data frame to the user, and the one serial control command may be composed of one command frame and data frames to be transmitted to the at least two peripheral devices.
  • a signal indicating whether a data frame is received may be input to at least one pin provided in the plurality of peripheral devices.
  • the signal input to the at least one pin may be a voltage applied from the outside.
  • the transmitting may include applying a voltage of a different level to each of the at least one pin to the at least two peripheral devices.
  • the maximum number of the plurality of peripheral devices may be determined by the number of pins provided in the peripheral devices.
  • the electronic device may be a device of various types.
  • the electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a notebook computer, a PDA, a portable multimedia device, and a portable medical device.
  • a portable communication device eg, a smart phone
  • a computer device e.g., a notebook computer
  • PDA portable multimedia device
  • portable medical device e.g., a portable medical device.
  • first”, “second”, or “first” or “second” may simply be used to distinguish the component from other such components, and may refer to components in other aspects (eg, importance or order) is not limited. that one (e.g. first) component is “coupled” or “connected” to another (e.g. second) component with or without the term “functionally” or “communicatively” When referenced, it means that one component can be coupled to another component directly (eg, by wire), wirelessly, or through a third component.
  • module may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as, for example, logic, logic block, component, or circuit.
  • a module may be an integrally formed part or a minimum unit of a part or a part thereof that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • At least one stored in a storage medium eg, the internal memory 136 or the external memory 138
  • a machine eg, the electronic device 101
  • the processor eg, the processor 120
  • the device may call at least one command among one or more commands stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the called at least one command.
  • the one or more instructions may include code generated by a compiler or code executable by an interpreter.
  • the device-readable storage medium may be provided in the form of a non-transitory storage medium.
  • 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term refers to the case where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.
  • a signal eg, electromagnetic wave
  • the method according to various embodiments disclosed in this document may be provided as included in a computer program product.
  • Computer program products may be traded between sellers and buyers as commodities.
  • the computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store TM ) or on two user devices ( It can be distributed online (eg download or upload), directly between smartphones (eg smartphones).
  • a part of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
  • each component eg, a module or a program of the above-described components may include a singular or a plurality of entities.
  • one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added.
  • a plurality of components eg, a module or a program
  • the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to integration.
  • operations performed by a module, program, or other component are executed sequentially, in parallel, repetitively, or heuristically, or one or more of the operations are executed in a different order, or , omitted, or one or more other operations may be added.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Information Transfer Systems (AREA)

Abstract

본 개시의 다양한 실시 예는 동일 기능을 하는 여러 소자에 대해 시리얼 인터페이스를 통해 제어하는 경우 효율적으로 제어할 수 있는 전자 장치 및 방법에 관한 것이다. 전자 장치(예: 도 1의 전자 장치(101))는 적어도 하나의 제어부, 인터페이스 또는 주변 장치 그룹을 포함할 수 있다. 상기 주변 장치 그룹은 복수의 주변 장치들(예: 도 1의 입력 모듈, 음향 출력 모듈, 디스플레이 모듈, 오디오 모듈, 햅틱 모듈, 센서 모듈, 카메라 모듈, 전력 관리 모듈, 통신 모듈)을 포함할 수 있다. 전자 장치에 있어서, 복수의 주변 장치들과 시리얼 인터페이스에 의해 상기 복수의 주변 장치들과 연결되도록 구성된 적어도 하나의 프로세서를 포함하며, 상기 적어도 하나의 프로세서는, 하나의 시리얼 제어 명령어를 구성하는 하나의 명령 프레임과 상기 복수의 주변 장치들 중 적어도 두 개의 주변 장치들에게 전달될 데이터 프레임들을 상기 시리얼 인터페이스를 통해 연속하여 전송하도록 구성될 수 있다.

Description

직렬 인터페이스를 운영하는 전자 장치 및 그 제어 방법
본 개시의 다양한 실시 예는 시리얼 인터페이스를 통해 주변 장치를 제어하는 전자 장치 및 방법에 관한 것이다.
5G(5th generation) 통신 시스템 또는 pre-5G 통신 시스템(이하 '5G 통신 시스템'으로 통칭하여 사용함)은 4G(4th generation) 통신 시스템이 상용화된 이후 증가 추세에 있는 트래픽 수요를 충족시키기 위해, 개발이 이루어졌다. 5G 통신 시스템은 4G 네트워크 이후(beyond 4G network) 통신 시스템 또는 LTE(long term evolution) 시스템 이후(post LTE) 시스템이라 불리고 있다.
5G 무선 통신 시스템은 지속적으로 진화해왔고 동시에 많은 정보를 받기 위해서 다중 Path를 통해서 여러 장치들을 제어해야 하는 경우가 많아 지고 있다. 또한 이러한 다중 Path에 적절한 RF 송수신을 위해서 각 상황에 맞도록 제어를 해야 하는 명령어 전달이 중요해지고 있다.
최근 시스템의 복잡성이 증가하고 각 부품에 필요한 명령어 전달 시간이 짧아짐에 있어서 이를 효율적으로 운영할 필요성이 증대되고 있다.
본 개시의 다양한 실시 예에 따르면, 시리얼 인터페이스를 사용하여 복수의 주변 장치 중 일부 또는 전부를 제어하는 전자 장치 및 그 제어 방법을 제공할 수 있다.
또한, 전자 장치에서 한번의 명령어 전달에 의해 내부적으로 명령어를 받아들이는 구간을 나누는 방식으로 복수의 주변 장치를 제어하는 방식을 본 발명의 목적을 두며, 이를 구분할 수 있는 여러가지 방법을 제공할 수 있다.
본 문서에서 이루고자 하는 기술적 과제는 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.
본 개시의 다양한 실시 예들에 따르면, 전자 장치(예: 도 1의 전자 장치(101))는 적어도 하나의 제어부, 인터페이스 또는 주변 장치 그룹을 포함할 수 있다. 상기 주변 장치 그룹은 복수의 주변 장치들(예: 도 1의 입력 모듈, 음향 출력 모듈, 디스플레이 모듈, 오디오 모듈, 햅틱 모듈, 센서 모듈, 카메라 모듈, 전력 관리 모듈, 통신 모듈)을 포함할 수 있다.
본 개시의 다양한 실시 예들에 따르면, 전자 장치에 있어서, 복수의 주변 장치들과 시리얼 인터페이스에 의해 상기 복수의 주변 장치들과 연결되도록 구성된 적어도 하나의 프로세서를 포함하며, 상기 적어도 하나의 프로세서는, 하나의 시리얼 제어 명령어를 구성하는 하나의 명령 프레임과 상기 복수의 주변 장치들 중 적어도 두 개의 주변 장치들에게 전달될 데이터 프레임들을 상기 시리얼 인터페이스를 통해 연속하여 전송하도록 구성될 수 있다.
본 개시의 다양한 실시 예들에 따르면, 적어도 하나의 프로세서는, 상기 복수의 주변 장치들은 데이터 프레임을 수신하기 위한 활성화 또는 비활성화를 제어하는 신호가 입력되는 적어도 하나의 핀을 포함하고, 상기 적어도 두 개의 주변 장치들에 대해 상기 적어도 하나의 핀마다 다른 전압 인가를 하는 방식으로 구성될 수 있다.
본 개시의 다양한 실시 예들에 따르면, 적어도 하나의 프로세서는, 상기 복수의 주변 장치들은 데이터 프레임을 수신하기 위한 활성화 또는 비활성화를 제어하는 신호가 입력되는 적어도 하나의 핀을 포함하고, 상기 적어도 하나의 핀은 그라운드 핀 또는 NC(No Connect) 핀일 수 있다.
다양한 실시 예들에 따른 복수의 주변 장치들을 한번에 제어가 가능하도록 설계한 전자 장치는 복잡한 여러 CA 조합 / MIMO / 5G 에서 요구 되는 복잡한 동작에 대해서 효율적으로 운영이 가능하며 짧은 시간 내에 여러가지를 제어하기 위해 발생하는 오작동 같은 부작용도 줄일 수 있게 된다.
또한, 다양한 실시 예들에 따른 시리얼 인터페이스에서 명령어 전달 및 받아서 수행하는 것에 대해서 미리 약속한 구조로 동작하도록 설계만 해 놓는다면 단 하나의 명령어로 동일한 전자 장치를 모두 제어하는 방식이 가능하다.
본 개시에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.
도 1은 본 개시의 다양한 실시 예에 따른, 전자 장치(101)의 블록 구성을 도시한 도면이다.
도 2는 본 개시의 다양한 실시 예에 따른, 전자 장치에서 직렬 인터페이스를 통해 통신을 수행하는 구조를 도시한 도면(200)이다.
도 3는 본 개시의 다양한 실시 예에 따른, 전자 장치(예: 도 1의 전자 장치(101))에서 직렬 인터페이스를 통해 통신을 수행하기 위한 제어 흐름을 도시한 도면(300)이다.
도 4는 본 개시의 다양한 실시 예에 따른, 전자 장치(예: 도 1의 전자 장치(101))에서 직렬 인터페이스를 통해 통신을 수행하는 구조의 일 예를 도시한 도면(400)이다.
도 5는 본 개시의 다양한 실시 예에 따른, 전자 장치(예: 도 1의 전자 장치(101))에서 직렬 인터페이스를 통해 통신을 수행하는 구조를 프레임별로 도시한 도면(500)이다.
도 6는 본 개시의 다양한 실시 예에 따른, 전자 장치(예: 도 1의 전자 장치(101))에서 직렬 인터페이스를 통해 통신을 수행하는 구조의 일 예를 도시한 도면(600)이다.
도 7은 본 개시의 다양한 실시 예에 따른, 전자 장치(예: 도 1의 전자 장치(101))에서 직렬 인터페이스를 통해 통신을 수행하는 구조의 다른 예를 도시한 도면(700)이다.
도 8은 본 개시의 다양한 실시 예에 따른, 전자 장치(예: 도 1의 전자 장치(101))에서 직렬 인터페이스를 통해 통신을 수행하는 구조의 다른 예를 도시한 도면(800)이다.
도 9은 본 개시의 다양한 실시 예에 따른, 전자 장치(예: 도 1의 전자 장치(101))에서 직렬 인터페이스를 통해 통신을 수행하는 구조에서 데이터 프레임과 데이터에 관하여 복수의 주변 장치들의 개수가 4인 경우를 도시한 도면(900)이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
도 1은 본 개시의 다양한 실시 예에 따른, 전자 장치(101)의 블록 구성을 도시한 도면이다.
도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 장치(150), 음향 출력 장치(155), 표시 장치(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시 예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시 예에서는, 이 구성요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(160)(예: 디스플레이)에 임베디드된 채 구현될 수 있다.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)을 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시 예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 로드하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시 예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서), 및 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 추가적으로 또는 대체적으로, 보조 프로세서(123)은 메인 프로세서(121)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시 예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.
입력 장치(150)는, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 장치(150)은, 예를 들면, 마이크, 마우스, 키보드, 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.
음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시 예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.
표시 장치(160)는 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 표시 장치(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시 예에 따르면, 표시 장치(160)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서)를 포함할 수 있다.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시 예에 따르면, 오디오 모듈(170)은, 입력 장치(150)를 통해 소리를 획득하거나, 음향 출력 장치(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰))를 통해 소리를 출력할 수 있다.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시 예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시 예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD 카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시 예에 따르면, 연결 단자(178)은, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시 예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시 예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시 예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성 요소에 전력을 공급할 수 있다. 일 실시 예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104)), 또는 서버(108))간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시 예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성 요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 및 인증할 수 있다.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 하나의 안테나를 포함할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 복수의 안테나들을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들 중에서 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시 예에 따르면, 방사체 이외에 다른 부품(예: 무선 주파수 통합 회로(radio frequency integrated circuit, RFIC))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))를 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.
일 실시 예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시 예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104, or 108) 중 하나 이상의 외부 장치에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치는 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.
도 2는 본 개시의 다양한 실시 예에 따른, 전자 장치에서 직렬 인터페이스를 통해 통신을 수행하는 구조를 도시한 도면(200)이다.
도 2를 참조하면, 일 실시 예에 따른 전자 장치(예: 도 1의 전자 장치(101))는 적어도 하나의 제어부(210)(예: 도 1의 프로세서(120)), 인터페이스(220) 또는 주변 장치 그룹(230)을 포함할 수 있다. 이하 설명의 편의를 위하여, 전자 장치(101)가 하나의 제어부(210)를 포함하는 것을 전제로 설명할 것이다. 상기 주변 장치 그룹(230)은 복수의 주변 장치들(231, 232, 233, 234......235)(예: 도 1의 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 햅틱 모듈(179), 센서 모듈(176), 카메라 모듈(180), 전력 관리 모듈(188), 통신 모듈(190))을 포함할 수 있다.
일 실시 예에 따르면, 인터페이스(220)는 직렬 형태의 인터페이스 통신 방식(serial interface communication scheme)을 기반으로 장치들 간의 신호 교환을 지원할 수 있다. 상기 인터페이스(220)는 적어도 하나의 메인 장치(예: 도 2의 적어도 하나의 제어부(210))가 복수의 서브 장치들(예: 도 2의 복수의 주변 장치들(231, 232, 233, 234......235))로 신호를 송신하거나 상기 적어도 하나의 메인 장치가 상기 복수의 서브 장치들로부터 신호를 수신할 수 있는 하나의 경로(path)가 될 수 있다. 상기 인터페이스(220)는, 예를 들어, 상기 복수의 주변 장치들(231, 232, 233, 234......235) 중 적어도 하나의 주변 장치를 제어하기 위하여 상기 적어도 하나의 제어부(210)에 의해 생성된 명령어와 같은 신호가 전송될 수 있다.
일 실시 예에 따르면, 인터페이스(220)는 전자 장치 중 하나인 스마트폰을 구성하는 어플리케이션 프로세서(application processor, AP), 커뮤니케이션 프로세서(communication processor, CP), 무선 주파수 집적 회로(radio-frequency integrated circuit, RFIC)(예: 도 2의 적어도 하나의 제어부(210))와 복수의 주변 장치들(예: 도 2의 복수의 주변 장치들(231, 232, 233, 234......235))을 연결하기 위한 인터페이스인 MIPI(mobile industry processor interface) 구조를 가질 수 있다. 상기 MIPI 구조에서는, 예를 들어, 송신 장치(transmitter)(예: AP)가 데이터와 클럭(CLK)을 사용하여 수신장치(receiver)(예: 복수의 주변 장치들)를 제어할 수 있다.
일 실시 예에 따르면, 주변 장치 그룹(230)에 포함되는 복수의 주변 장치들(231, 232, 233, 234......235)은 서로 상이한 기능을 수행하거나 동일 기능을 수행하는 전자 장치(101)에 포함된 구성들일 수 있다. 상기 주변 장치 그룹(230)은, 예를 들어, 무선 주파수 신호(radio frequency signal, RF 신호)를 송신하는 송신 모듈 또는 RF 신호를 수신하는 수신 모듈 또는 RF 신호를 송/수신하는 송/수신 모듈의 조합일 수 있다. 예컨대, 상기 주변 장치 그룹(230)은 하나의 송/수신 모듈과 세 개의 수신 모듈들을 포함할 수 있다.
일 실시 예에 따르면, 주변 장치 그룹(230)에 포함되는 복수의 주변 장치들(231, 232, 233, 234......235)은 인터페이스(220)를 통한 제어부(210)로부터 제어를 받아 해당 기능을 수행할 수 있다. 상기 주변 장치 그룹(230)에는, 예를 들어, RF 신호를 송/수신하거나 수신하는 주변 장치들을 포함할 수 있다. 예컨대, 상기 RF 신호를 송/수신하거나 수신하는 주변 장치들은 적어도 하나의 송수신 겸용 모듈(TRx module) 및/또는 적어도 하나의 송신 전용 모듈(Rx module)을 포함할 수 있다. 일 예로, 주변 장치 그룹(230)은 하나의 송수신 겸용 모듈 및 N개의 송신 전용 모듈들을 포함할 수 있다.
일 실시 예에 따르면, 복수의 주변 장치들(231, 232, 233, 234......235)은 인터페이스(220)를 통해 수신된 명령어의 특정 위치(예: 명령어에 포함된 복수의 데이터 프레임들 중 자신에게 지정된 데이터 프레임)로부터 데이터를 획득할 수 있다. 상기 복수의 주변 장치들(231, 232, 233, 234......235)은 자신이 데이터를 획득할 특정 위치를 인지할 수 있어야 할 것이다. 상기 복수의 주변 장치들(231, 232, 233, 234......235) 각각은, 예를 들어, 하나 또는 복수의 핀을 구비하고, 상기 하나 또는 복수의 핀을 통해 인가되는 신호(예: 전압 레벨)를 기반으로 수신한 명령어로부터 데이터를 획득할 데이터 프레임을 인지할 수 있다.
일 실시 예에 따르면, 복수의 주변 장치들(231, 232, 233, 234......235) 각각 복수의 핀을 구비하고, 상기 복수의 핀을 통해 인가되는 전압을 기반으로 수신한 명령어로부터 데이터를 획득할 데이터 프레임을 인지할 수 있다.
다른 실시 예에 따르면, 복수의 주변 장치들(231, 232, 233, 234......235) 각각 하나의 핀을 구비하고, 상기 하나의 핀을 통해 인가되는 전압 레벨을 기반으로 수신한 명령어로부터 데이터를 획득할 데이터 프레임을 인지할 수 있다.
또 다른 실시 예에 따르면, 복수의 주변 장치들(231, 232, 233, 234......235) 각각 하나 또는 복수의 핀을 구비하고, 획득할 데이터 프레임은 상기 하나 또는 복수의 핀에 의해 결정될 수 있으며, 상기 하나 또는 복수의 핀은 그라운드 핀이거나 NC(No Connect)핀일 수 있다.
일 실시 예에 따르면, 제어부(210)는 인터페이스(220)를 통해 주변 장치 그룹(230)에 포함되는 복수의 주변 장치들(231, 232, 233, 234......235)과 신호를 교환할 수 있다. 상기 제어부(210)는, 예를 들어, 데이터와 클럭을 사용하여 상기 인터페이스(220)를 통해 상기 복수의 주변 장치들(231, 232, 233, 234......235) 중 일부 또는 전부를 제어할 수 있다.
일 실시 예에 따르면 제어부(210)는 복수의 주변 장치들(231, 232, 233, 234......235) 중 제어할 하나 또는 복수의 주변 장치를 결정할 수 있다. 상기 제어부(210)는 상기 결정된 하나 또는 복수의 주변 장치를 제어하기 위한 하나의 명령어를 생성할 수 있다. 상기 제어부(210)는 상기 생성한 명령어를 인터페이스(220)를 통해 전송할 수 있다. 이 경우, 상기 제어부(210)는 하나의 명령어를 사용하여 대상 주변 장치들이 원하는 동작을 수행하도록 제어하는 것이 가능할 수 있다. 상기 대상 주변 장치들은, 예를 들어, 인터페이스(220)를 통해 연결된 복수의 주변 장치들(231, 232, 233, 234......235) 또는 복수의 주변 장치들(231, 232, 233, 234......235) 중에서 제어할 하나 또는 복수의 주변 장치일 수 있다.
일 실시 예에 따르면, 제어부(210)에 의해 생성될 수 있는 명령어는 다중 장치 제어 구조(multi-device control structure)를 가질 수 있다. 상기 다중 장치 제어 구조는, 예를 들어, 하나의 공통 프레임(common frame)과 복수의 데이터 프레임에 의해 구성된 구조를 가질 수 있다. 이 경우, 다중 장치 제어 구조를 갖는 명령어는 하나의 공통 프레임과 복수의 데이터 프레임들을 포함할 수 있다. 상기 명령어에 포함된 공통 프레임은 복수의 주변 장치(예: 제어 대상 주변 장치)에 의해 공유될 정보가 기록될 수 있는 필드들을 포함할 수 있다. 상기 공통 프레임은, 예를 들어, 슬레이브 어드레스(slave address), 기록/독출(write/read), 레지스터(register), USID 설정, 레지스터 어드레스(register address)를 기록할 필드들을 포함할 수 있다. 상기 명령어에 포함된 복수의 데이터 프레임들은 인터페이스(220)을 통해 연결된 복수의 주변 장치들(231, 232, 233, 234......235)에 대응하거나 상기 복수의 주변 장치들(231, 232, 233, 234......235) 중 제어할 대상인 복수의 주변 장치에 대응할 수 있다. 예컨대, 상기 명령어에 포함된 데이터 프레임은 복수의 주변 장치들(231, 232, 233, 234......235) 또는 상기 복수의 주변 장치들(231, 232, 233, 234......235) 중 제어할 대상인 복수의 주변 장치에 일대일 대응될 수 있다. 즉, 상기 명령어에 포함된 각 데이터 프레임은 복수의 주변 장치들(231, 232, 233, 234......235) 또는 상기 복수의 주변 장치들(231, 232, 233, 234......235) 중 제어할 대상인 복수의 주변 장치 중 하나의 주변 장치를 제어하기 위한 데이터를 포함할 수 있다.
도 3는 본 개시의 다양한 실시 예에 따른, 전자 장치(예: 도 1의 전자 장치(101))에서 직렬 인터페이스를 통해 통신을 수행하기 위한 제어 흐름을 도시한 도면(300)이다.
도 3에 예시된 흐름도(300)의 동작 주체는 전자 장치(예: 도 1의 전자 장치(101)) 또는 전자 장치의 적어도 하나의 제어부(예: 도 2의 제어부(210))로 이해될 수 있다.
도 3를 참조하면, 일 실시 예에 따른 동작 310에서 제어부는, 복수의 주변 장치들(231, 232, 233, 234......235) 중 제어할 하나 또는 복수의 주변 장치를 결정할 수 있다. 상기 대상 주변 장치들은, 예를 들어, 인터페이스(220)를 통해 연결된 복수의 주변 장치들(231, 232, 233, 234......235) 또는 복수의 주변 장치들(231, 232, 233, 234......235) 중에서 제어할 하나 또는 복수의 주변 장치일 수 있다.
일 실시 예에 따른 동작 320에서 제어부(210)는 상기 결정된 하나 또는 복수의 주변 장치를 제어하기 위한 하나의 명령어를 생성할 수 있다.
일 실시 예에 따르면, 제어부(210)에 의해 생성될 수 있는 명령어는 다중 장치 제어 구조(multi-device control structure)를 가질 수 있다. 상기 다중 장치 제어 구조는, 예를 들어, 하나의 공통 프레임(common frame)과 복수의 데이터 프레임에 의해 구성된 구조를 가질 수 있다. 이 경우, 다중 장치 제어 구조를 갖는 명령어는 하나의 공통 프레임과 복수의 데이터 프레임들을 포함할 수 있다. 상기 명령어에 포함된 공통 프레임은 복수의 주변 장치(예: 제어 대상 주변 장치)에 의해 공유될 정보가 기록될 수 있는 필드들을 포함할 수 있다. 상기 공통 프레임은, 예를 들어, 슬레이브 어드레스(slave address), 기록/독출(write/read), 레지스터(register), USID 설정, 레지스터 어드레스(register address)를 기록할 필드들을 포함할 수 있다. 상기 명령어에 포함된 복수의 데이터 프레임들은 인터페이스(220)을 통해 연결된 복수의 주변 장치들(231, 232, 233, 234......235)에 대응하거나 상기 복수의 주변 장치들(231, 232, 233, 234......235) 중 제어할 대상인 복수의 주변 장치에 대응할 수 있다. 예컨대, 상기 명령어에 포함된 데이터 프레임은 복수의 주변 장치들(231, 232, 233, 234......235) 또는 상기 복수의 주변 장치들(231, 232, 233, 234......235) 중 제어할 대상인 복수의 주변 장치에 일대일 대응될 수 있다. 즉, 상기 명령어에 포함된 각 데이터 프레임은 복수의 주변 장치들(231, 232, 233, 234......235) 또는 상기 복수의 주변 장치들(231, 232, 233, 234......235) 중 제어할 대상인 복수의 주변 장치 중 하나의 주변 장치를 제어하기 위한 데이터를 포함할 수 있다.
일 실시 예에 따른 동작 330에서 제어부(210)는 상기 생성한 시리얼 제어 명령어를 인터페이스(220)를 통해 전송할 수 있다. 이 경우, 상기 제어부(210)는 상기 생성한 하나의 시리얼 제어 명령어를 사용하여 대상 주변 장치들이 원하는 동작을 수행하도록 제어하는 것이 가능할 수 있다. 상기 대상 주변 장치들은, 예를 들어, 인터페이스(220)를 통해 연결된 복수의 주변 장치들(231, 232, 233, 234......235) 또는 복수의 주변 장치들(231, 232, 233, 234......235) 중에서 제어할 하나 또는 복수의 주변 장치일 수 있다.
일 실시 예에 따르면, 대상 주변 장치들은 인터페이스를 통해 제어부로부터 시리얼 제어 명령어를 수신하고, 상기 수신한 시리얼 제어 명령어에 의해 해당 동작을 수행할 수 있다. 상기 대상 주변 장치가 시리얼 제어 명령어를 수신하고, 이를 통해 해당 동작을 수행하는 것은 앞서 도 2를 참조한 설명에서 이미 개시됨에 따라, 중복하여 기재하지 않는다.
도 4는 본 개시의 다양한 실시 예에 따른, 전자 장치(예: 도 1의 전자 장치(101))에서 직렬 인터페이스를 통해 통신을 수행하는 구조의 일 예를 도시한 도면(400)이다. 도 4에 도시된 직렬 인터페이스를 통해 통신을 수행하는 구조는, 예를 들어, MIPI 구조일 수 있다.
도 4를 참조하면, 실시 예에 따른 MIPI 구조는 전자 장치 중 하나인 스마트폰을 구성하는 어플리케이션 프로세서(application processor, AP), 커뮤니케이션 프로세서(communication processor, CP), 무선 주파수 집적 회로(radio-frequency integrated circuit, RFIC)를 연결하기 위한 인터페이스일 수 있다. 상기 MIPI 구조에서는, 예를 들어, 송신기(transmitter, 410)(예: AP)가 데이터(data, 430)와 클럭(CLK, 440)을 사용하여 수신기(receiver, 420)(예: 복수의 주변 장치들)를 제어할 수 있다. 상기 MIPI 구조에서는, 예를 들어, 상기 복수의 주변 장치들(231, 232, 233, 234......235) 중 적어도 하나의 주변 장치를 제어하기 위하여 상기 송신기(410)(예: 적어도 하나의 제어부(210))에 의해 생성된 명령어와 같은 신호가 전송될 수 있다.
도 5는 본 개시의 다양한 실시 예에 따른, 전자 장치(예: 도 1의 전자 장치(101))에서 직렬 인터페이스를 통해 통신을 수행하는 구조를 프레임별로 도시한 도면(500)이다.
도 5를 참조하면, 일 실시 예에 따른 명령어(500)는 하나의 공통 프레임(502)과 복수의 데이터 프레임들(503, 511, 514…516)을 포함할 수 있다.
일 실시 예에서 명령어(500)는 다중 장치 제어 구조(multi-device control structure)를 가질 수 있다. 이 경우, 다중 장치 제어 구조를 갖는 명령어는 하나의 공통 프레임(502)과 복수의 데이터 프레임들(503, 511, 514…516)을 포함할 수 있다. 상기 명령어에 포함된 상기 하나의 공통 프레임(502)은 복수의 주변 장치(예: 제어 대상 주변 장치)들에 의해 공유될 정보가 기록될 수 있는 필드들을 포함할 수 있다. 상기 하나의 공통 프레임(502)은, 예를 들어, 슬레이브 어드레스(slave address, 504), USID 설정(505), 기록/독출(write/read, 506), 레지스터(register, 507), 레지스터 어드레스(register address, 508)를 기록할 필드들을 포함할 수 있다. 상기 명령어에 포함된 복수의 데이터 프레임들(503, 511, 514…516)은 인터페이스(220)을 통해 연결된 복수의 주변 장치들(510, 513...518)에 대응하거나 상기 복수의 주변 장치들(510, 513...518) 중 제어할 대상인 복수의 주변 장치에 대응할 수 있다. 예컨대, 상기 명령어에 포함된 상기 복수의 데이터 프레임들(503, 511, 514…516)은 복수의 주변 장치들(510, 513...518) 또는 상기 복수의 주변 장치들(510, 513...518) 중 제어할 대상인 복수의 주변 장치에 일대일 대응될 수 있다. 즉, 상기 명령어에 포함된 상기 복수의 데이터 프레임들(503, 511, 514…516)은 복수의 주변 장치들(510, 513...518) 또는 상기 복수의 주변 장치들(510, 513...518) 중 제어할 대상인 복수의 주변 장치 중 하나의 주변 장치를 제어하기 위한 데이터(509, 512, 515...517)를 포함할 수 있다.
도 6는 본 개시의 다양한 실시 예에 따른, 전자 장치(예: 도 1의 전자 장치(101))에서 직렬 인터페이스를 통해 통신을 수행하는 구조의 일 예를 도시한 도면(600)이다.
도 6을 참조하면, 일 실시 예에 따라 직렬 인터페이스를 통해 통신을 수행하는 구조는, 예를 들어, 핀(611, 613, 615, 617, 619, 621, 623, 625, 627, 629......631, 633, 635, 637, 639) 할당 방식의 구조일 수 있다.
일 실시 예에 따르면, 복수의 주변 장치들(610, 620......630)은 복수의 핀(611, 613, 615, 617, 619, 621, 623, 625, 627, 629......631, 633, 635, 637, 639)을 구비하고, 상기 복수의 핀(611, 613, 615, 617, 619, 621, 623, 625, 627, 629......631, 633, 635, 637, 639)은 주변 장치 하나당 복수의 제1 핀들(611, 613, 615, 621, 623, 625...631, 633, 635)을 구비할 수 있고, 또한 복수의 제2 핀들(주변 장치 하나당 두개의 핀)(617, 619, 627, 629...637, 639)을 구비할 수 있다.
상기 복수의 제1 핀들(611, 613, 615, 621, 623, 625...631, 633, 635)은, 예를 들어, 명령어의 수신 여부를 지시하는 신호가 입력될 수 있는 핀일 수 있다. 상기 복수의 주변 장치들(610, 620......630)은 제1 핀을 통해 인가되는 신호(예: 전압 레벨)를 기반으로 명령어로부터 데이터 프레임을 수신할 지 여부를 결정할 수 있다. 상기 복수의 제2 핀들(617, 619, 627, 629...637, 639)은, 예를 들어, 명령어를 수신하기 위한 핀일 수 있다. 상기 명령어는 하나의 공통 프레임과 복수의 데이터 프레임을 포함할 수 있다.
상기 복수의 제1 핀들(611, 613, 615, 621, 623, 625...631, 633, 635)을 통해 인가되는 신호(예: 전압 레벨)를 기반으로 수신한 명령어로부터 복수의 주변 장치들(610, 620......630)은 데이터를 획득할 데이터 프레임을 인지할 수 있다.
일 실시 예에 따르면, 복수의 주변 장치들(610, 620......630)은 복수의 제1 핀들 및 복수의 제2 핀들(611, 613, 615, 617, 619, 621, 623, 625, 627, 629......631, 633, 635, 637, 639)을 구비하고, 상기 복수의 제1 핀들 및 복수의 제2 핀들(611, 613, 615, 617, 619, 621, 623, 625, 627, 629......631, 633, 635, 637, 639) 중 복수의 제1 핀들(611, 613, 615, 621, 623, 625...631, 633, 635)을 통해 인가되는 전압을 기반으로 수신한 명령어로부터 데이터를 획득할 데이터 프레임을 인지할 수 있다.
하기 <표 1>는 일 실시 예에 따른, 도 6에서 복수의 주변 장치들(610, 620......630)의 개수가 4인 경우(N=4)를 가정한 경우를 나타낸 것이다. 하기 <표1>에서 V1, V2를 통하여 데이터 프레임이 결정될 수 있다. 하기의 voltage High, voltage Low는 2개의 전압의 높고 낮음을 비교하여 결정되는 것이 아니고 기준값 대비 높을 경우 High, 낮을 경우 Low로 결정될 수 있다.
예를 들어 기준값을 1V로 설정하면 1V보다 높은 전압이 입력되는 경우 High, 1V보다 낮은 접압이 입력되면 Low 가 될 수 있다. 예컨대, High에 1.8V가 입력되고 Low에 0V가 입력되는 경우가 있을 수 있다.
V1 V2 Data Frame Index
High High #1
Low Low #2
High Low #3
Low High #4
상기 <표 1>을 참조하면, V1, V2에 대하여 기준값 대비 높은 전압(V-High)가 인가됐을 경우 데이터 프레임은 #1을 인지한다. 또한 V1, V2에 대하여 기준값 대비 낮은 전압(V-Low)가 인가됐을 경우 데이터 프레임은 #2를 인지한다. 그리고 V1에 대하여는 기준값 대비 높은 전압(V-High)가 인가되고, V2에 대하여는 기준값 대비 낮은 전압(V-Low)가 인가됐을 경우에는 데이터 프레임은 #3을 인지한다. 마지막으로 V1에 대하여는 기준값 대비 낮은 전압(V-Low)가 인가되고, V2에 대하여는 기준값 대비 높은 전압(V-High)가 인가됐을 경우에는 데이터 프레임은 #4를 인지한다.
일 실시 예에 따르면, 복수의 주변 장치들(610, 620......630) 각각은 수신한 명령어로부터 데이터를 획득할 데이터 프레임이 결정되어 있고, 상기 데이터 프레임은 복수의 주변 장치들(610, 620......630) 각각에 구비된 복수의 제1 핀들(611, 613, 615, 621, 623, 625...631, 633, 635)을 통해 인가되는 신호(예: 전압 레벨)를 통해 결정될 수 있다.
일 실시 예에 따르면, 복수의 주변 장치들(610, 620......630) 제1 및 복수의 제2 핀들(611, 613, 615, 621, 623, 625......631, 633, 635)을 구비하고, 상기 제1 및 복수의 제2 핀들(611, 613, 615, 621, 623, 625......631, 633, 635)을 통해 인가되는 voltage High 또는 voltage Low 전압을 기반으로 수신한 명령어로부터 데이터를 획득할 데이터 프레임(617, 619, 627, 629......637, 639)을 인지할 수 있다.
복수의 주변 장치들(610, 620......630)은 인터페이스(220)를 통해 수신된 명령어의 특정 위치(예: 명령어에 포함된 복수의 데이터 프레임들 중 자신에게 지정된 데이터 프레임)로부터 데이터를 획득할 수 있고, 인터페이스(220)의 일 예로 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))가 될 수 있고, 복수의 주변 장치들(610, 620......630)은 상기 인터페이스(220)를 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다. 상기 MIPI는 예를 들어, RFFE BUS #1(640)이 될 수 있다.
도 7은 본 개시의 다양한 실시 예에 따른, 전자 장치(예: 도 1의 전자 장치(101))에서 직렬 인터페이스를 통해 통신을 수행하는 구조의 다른 예를 도시한 도면(700)이다.
도 7을 참조하면, 일 실시 예에 따라 직렬 인터페이스를 통해 통신을 수행하는 구조는, 예를 들어, 전압 레벨 방식의 구조일 수 있다.
일 실시 예에 따르면, 복수의 주변 장치들(710, 720......730)은 복수의 핀(711, 713, 715, 721, 723, 725......731, 733, 735)을 구비하고, 상기 복수의 핀(711, 713, 715, 721, 723, 725......731, 733, 735)은 복수의 제1 핀들(주변 장치 하나당 하나의 핀)(711, 721...731)을 구비할 수 있고, 또한 복수의 제2 핀들(주변 장치 하나당 두개의 핀)(713, 715, 723, 725...733, 735)을 구비할 수 있다.
상기 복수의 제1 핀들(711, 721...731)은, 예를 들어, 명령어의 수신 여부를 지시하는 신호가 입력될 수 있는 핀일 수 있다. 상기 복수의 주변 장치들(710, 720......730)은 제1 핀을 통해 인가되는 신호(예: 전압 레벨)를 기반으로 명령어로부터 데이터 프레임을 수신할 지 여부를 결정할 수 있다. 상기 복수의 제2 핀들(713, 715, 723, 725...733, 735)은, 예를 들어, 명령어를 수신하기 위한 핀일 수 있다. 상기 명령어는 하나의 공통 프레임과 복수의 데이터 프레임을 포함할 수 있다.
상기 복수의 제1 핀들(711, 721...731)을 통해 인가되는 신호(예: 전압 레벨)를 기반으로 수신한 명령어로부터 복수의 주변 장치들(710, 720......730)은 데이터를 획득할 데이터 프레임을 인지할 수 있다.
일 실시 예에 따르면, 복수의 주변 장치들(710, 720......730)은 복수의 제1 핀들 및 복수의 제2 핀들(711, 713, 715, 721, 723, 725......731, 733, 735)을 구비하고, 상기 복수의 제1 핀들 및 복수의 제2 핀들(711, 713, 715, 721, 723, 725......731, 733, 735) 중 복수의 제1 핀들(좌측의 주변 장치 하나당 하나의 핀)(711, 721...731)을 통해 인가되는 전압 레벨을 기반으로 수신한 명령어로부터 데이터를 획득할 데이터 프레임을 인지할 수 있다.
일 실시 에에 따르면, 장치에 동작에 필요한 전원이 할당되어 각 전원이 들어오는 전압 레벨에 따라 미리 정의된 데이터 프레임을 받아들여 각 주변 장치들이 동작을 하는 경우가 있을 수 있다. 이 경우, 내부 전원 중 서로 다른 전원이 선택되거나 주변 장치 앞 저항을 통해 원하는 전압으로 변환하여 입력하는 방식을 적용할 수 있다.
하기 <표 2>는 일 실시 예에 따른, 도 7에서 복수의 주변 장치들(710, 720......730)의 개수가 4인 경우(N=4)를 가정한 경우를 나타낸 것이다. 하기 <표2>에서 Vlevel을 통하여 데이터 프레임이 결정될 수 있다. 예를 들어, 전자 장치 전압 레벨인 Vlevel은 오차가 있을 수 있으므로, Vlevel은 일정한 범위를 가질 수 있다. 예컨대, 제1 전자 장치 전압 레벨인 Vlevel#1은 0V~0.6V, V2 0.7V~1.2V, V3 1.3V ~ 1.8V, V4 1.9V~2.4V 등의 범위를 가질 수 있다.
Vlevel Data Frame Index
V1 #1
V2 #2
V3 #3
V4 #4
상기 <표 2>을 참조하면, Vlevel에 대하여 V1, V2, V3, V4중 V1이 인가됐을 경우 데이터 프레임은 #1을 인지한다. 또한 V2이 인가됐을 경우 데이터 프레임은 #2를 인지한다. 그리고 V3이 인가됐을 경우 데이터 프레임은 #3을 인지한다. 마지막으로 V4이 인가됐을 경우 데이터 프레임은 #4를 인지한다.
일 실시 예에 따르면, 복수의 주변 장치들(710, 720......730) 각각은 수신한 명령어로부터 데이터를 획득할 데이터 프레임이 결정되어 있고, 상기 데이터 프레임은 복수의 주변 장치들(710, 720......730) 각각 구비된 복수의 제1 핀들(711, 721......731)을 통해 인가되는 신호(예: 전압 레벨)를 통해 결정될 수 있다.
일 실시 예에 따르면, 복수의 주변 장치들(710, 720......730)은 인터페이스(220)를 통해 수신된 명령어의 특정 위치(예: 명령어에 포함된 복수의 데이터 프레임들 중 자신에게 지정된 데이터 프레임)로부터 데이터를 획득할 수 있고, 인터페이스(220)의 일 예로 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))가 될 수 있고, 복수의 주변 장치들(710, 720......730)은 상기 인터페이스(220)를 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다. 상기 MIPI는 예를 들어, RFFE BUS #1(740)이 될 수 있다.
도 8은 본 개시의 다양한 실시 예에 따른, 전자 장치(예: 도 1의 전자 장치(101))에서 직렬 인터페이스를 통해 통신을 수행하는 구조의 다른 예를 도시한 도면(800)이다.
도 8을 참조하면, 일 실시 예에 따라 직렬 인터페이스를 통해 통신을 수행하는 구조는, 예를 들어, 그라운드 핀(811, 813, 815, 821, 823)으로 두거나 NC(No Connect, 825......831, 833......835) 핀으로 두는 구조일 수 있다.
일 실시 예에 따르면, 복수의 주변 장치들(810, 820......830)은 복수의 핀(811, 813, 815, 817, 819, 821, 823, 825, 827, 829......831, 833, 835, 837, 839)을 구비하고, 상기 복수의 핀(811, 813, 815, 817, 819, 821, 823, 825, 827, 829......831, 833, 835, 837, 839)은 복수의 제1 핀들(주변 장치 하나당 복수의 핀)(811, 813, 815, 821, 823, 825...831, 833, 835)을 구비할 수 있고, 또한 복수의 제2 핀들(주변 장치 하나당 두개의 핀)(817, 819, 827, 829...837, 839)을 구비할 수 있다.
상기 복수의 제1 핀들(811, 813, 815, 821, 823, 825...831, 833, 835)은, 예를 들어, 명령어의 수신 여부를 지시하는 신호가 입력될 수 있는 핀일 수 있다. 상기 복수의 주변 장치들(810, 820......830)은 제1 핀을 통해 인가되는 신호(예: 전압 레벨)를 기반으로 명령어로부터 데이터 프레임을 수신할 지 여부를 결정할 수 있다. 상기 복수의 제2 핀들(817, 819, 827, 829...837, 839)은, 예를 들어, 명령어를 수신하기 위한 핀일 수 있다. 상기 명령어는 하나의 공통 프레임과 복수의 데이터 프레임을 포함할 수 있다.
상기 복수의 제1 핀들(811, 813, 815, 821, 823, 825...831, 833, 835)을 통해 연결되는 그라운드 핀 또는 NC 핀을 기반으로 수신한 명령어로부터 복수의 주변 장치들(810, 820......830)은 데이터를 획득할 데이터 프레임을 인지할 수 있다.
일 실시 예에 따르면, 복수의 주변 장치들(810, 820......830)은 복수의 제1 핀들 및 복수의 제2 핀들(811, 813, 815, 817, 819, 821, 823, 825, 827, 829......831, 833, 835, 837, 839)을 구비하고, 상기 복수의 제1 핀들 및 복수의 제2 핀들(811, 813, 815, 817, 819, 821, 823, 825, 827, 829......831, 833, 835, 837, 839) 중 복수의 제1 핀들(811, 813, 815, 821, 823, 825...831, 833, 835)을 통해 연결되는 그라운드 핀 또는 NC 핀을 기반으로 수신한 명령어로부터 데이터를 획득할 데이터 프레임을 인지할 수 있다.
하기 <표 3>은 일 실시 예에 따른, 도 8에서 복수의 주변 장치들(810, 820......830)의 개수가 4인 경우(N=4)를 가정한 경우를 나타낸 것이다. 하기 <표3>에서 V1, V2를 통하여 데이터 프레임이 결정될 수 있다.
V1 V2 Data Frame Index
Ground Ground #1
NC NC #2
Ground NC #3
NC Ground #4
상기 <표 3>을 참조하면, V1, V2에 대하여 Ground 상태인 경우 데이터 프레임은 #1을 인지한다. 또한 V1, V2에 대하여 NC 상태인 경우 데이터 프레임은 #2를 인지한다. 그리고 V1에 대하여는 Ground 상태이고, V2에 대하여는 NC 상태인 경우에는 데이터 프레임은 #3을 인지한다. 마지막으로 V1에 대하여는 NC 상태이고, V2에 대하여는 Ground 상태인 경우에는 데이터 프레임은 #4를 인지한다.
일 실시 예에 따르면, 복수의 주변 장치들(810, 820......830) 각각은 수신한 명령어로부터 데이터를 획득할 데이터 프레임이 결정되어 있고, 상기 데이터 프레임은 복수의 주변 장치들(810, 820......830) 각각에 구비된 좌측 복수의 핀(811, 813, 815, 821, 823, 825...831, 833, 835)을 통해 연결된 그라운드 핀 또는 NC 핀을 통해 결정될 수 있다.
복수의 주변 장치들(810, 820......830)은 인터페이스(220)를 통해 수신된 명령어의 특정 위치(예: 명령어에 포함된 복수의 데이터 프레임들 중 자신에게 지정된 데이터 프레임)로부터 데이터를 획득할 수 있고, 인터페이스(220)의 일 예로 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))가 될 수 있고, 복수의 주변 장치들(810, 820......830)은 상기 인터페이스(220)를 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다. 상기 MIPI는 예를 들어, RFFE BUS #1(840)이 될 수 있다.
도 9은 본 개시의 다양한 실시 예에 따른, 전자 장치(예: 도 1의 전자 장치(101))에서 직렬 인터페이스를 통해 통신을 수행하는 구조에서 데이터 프레임과 데이터에 관하여 복수의 주변 장치들의 개수가 4인 경우를 도시한 도면(900)이다.
일 실시 예에 따르면, 명령어는 다중 장치 제어 구조(multi-device control structure)를 가질 수 있다. 이 경우, 다중 장치 제어 구조를 갖는 명령어는 하나의 공통 프레임과 복수의 데이터 프레임(911 = 921, 931, 941, 913 = 923, 933, 943, 915 = 925, 935, 945, 917 = 927, 937, 947)을 포함할 수 있다. 상기 명령어에 포함된 각 데이터 프레임(911 = 921, 931, 941, 913 = 923, 933, 943, 915 = 925, 935, 945, 917 = 927, 937, 947)은 제어할 대상인 복수의 주변 장치 중 하나의 주변 장치를 제어하기 위한 데이터(912 = 922, 932, 942, 914 = 924, 934, 944, 916 = 926, 936, 946, 918 = 928, 938, 948)를 포함할 수 있다.
일 실시 예에 따르면, 900(a)는 도6, 7, 8의 Data Frame Index가 #1인 경우를 도시한 것으로 볼 수 있다.
일 실시 예에 따르면, 900(b)는 도6, 7, 8의 Data Frame Index가 #2인 경우를 도시한 것으로 볼 수 있다.
일 실시 예에 따르면, 900(c)는 도6, 7, 8의 Data Frame Index가 #3인 경우를 도시한 것으로 볼 수 있다.
일 실시 예에 따르면, 900(d)는 도6, 7, 8의 Data Frame Index가 #4인 경우를 도시한 것으로 볼 수 있다.
상술된 바와 같은 본 개시의 일 실시 예에 따른 전자 장치는, 복수의 주변 장치들; 및 시리얼 인터페이스에 의해 상기 복수의 주변 장치들과 연결되도록 구성된 적어도 하나의 프로세서를 포함하며, 상기 적어도 하나의 프로세서는, 하나의 시리얼 제어 명령어를 구성하는 하나의 명령 프레임과 상기 복수의 주변 장치들 중 적어도 두 개의 주변 장치들에게 전달될 데이터 프레임들을 상기 시리얼 인터페이스를 통해 연속하여 전송하도록 구성될 수 있다.
일 실시 예에서, 상기 복수의 주변 장치들은 데이터 프레임의 수신 여부를 지시하는 신호가 입력되는 적어도 하나의 핀을 포함할 수 있다.
일 실시 예에서, 상기 적어도 하나의 핀은 외부로부터 전압을 수신하는 입력 핀일 수 있다.
일 실시 예에서, 상기 적어도 하나의 프로세서는, 상기 적어도 두 개의 주변 장치들에 대해 상기 적어도 하나의 핀마다 다른 레벨의 전압을 인가하는 방식으로 구성될 수 있다.
일 실시 예에서, 상기 복수의 주변 장치의 최대 개수는, 주변 장치에 구비된 핀의 수에 의해 결정될 수 있다.
일 실시 예에서, 상기 적어도 하나의 프로세서는 내부 전원이 복수 개인 경우, 그 중 어느 하나 이상의 전원을 선택하는 방식으로 상기 다른 전압을 인가하는 방식으로 구성될 수 있다.
일 실시 예에서, 상기 적어도 두 개의 주변 장치들에 연결된 저항을 통해 상기 다른 전압을 인가하는 방식으로 구성될 수 있다.
일 실시 예에서, 상기 적어도 하나의 핀은 그라운드 핀일 수 있다.
일 실시 예에서, 상기 적어도 하나의 핀은 NC(No Connect) 핀일 수 있다.
상술된 바와 같은 본 개시의 일 실시 예에 따른 전자 장치에서 복수의 주변 장치들을 제어하는 방법은, 하나의 시리얼 제어 명령어를 사용하여 시리얼 인터페이스를 통해 상기 복수의 주변 장치들 중 적어도 두 개의 주변 장치들에게 데이터 프레임을 전송하는 동작을 포함할 수 있고, 하나의 명령 프레임과 상기 적어도 두 개의 주변 장치들에게 전달될 데이터 프레임들로 상기 하나의 시리얼 제어 명령어를 구성할 수 있다.
일 실시 예에서, 데이터 프레임의 수신 여부를 지시하는 신호를 상기 복수의 주변 장치들에 구비된 적어도 하나의 핀으로 입력할 수 있다.
일 실시 예에서, 상기 적어도 하나의 핀에 입력되는 신호는 외부로부터 인가되는 전압일 수 있다.
일 실시 예에서, 상기 전송하는 동작은, 상기 적어도 두 개의 주변 장치들에 대해 상기 적어도 하나의 핀마다 다른 레벨의 전압을 인가하는 동작을 포함할 수 있다.
일 실시 예에서, 상기 복수의 주변 장치의 최대 개수를 주변 장치에 구비된 핀의 수에 의해 결정할 수 있다.
본 문서에 개시된 다양한 실시 예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 노트북, PDA, 휴대용 멀티미디어 장치, 휴대용 의료 기기를 포함할 수 있다. 본 문서의 실시 예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시 예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시 예들로 한정하려는 것이 아니며, 해당 실시 예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나",“A 또는 B 중 적어도 하나”, "A, B 또는 C", "A, B 및 C 중 적어도 하나” 및 “A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제1", "제2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제1) 구성요소가 다른(예: 제2) 구성요소에, “기능적으로” 또는 “통신적으로 ”라는 용어와 함께 또는 이런 용어 없이, “커플드” 또는 “커넥티드”라고 언급된 경우, 그것은 어떤 구성요소가 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.
본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시 예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.
본 문서의 다양한 실시 예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 적어도 하나의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.
일 실시 예에 따르면, 본 문서에 개시된 다양한 실시 예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: CD-ROM(compact disc read only memory))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시 예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시 예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시 예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱(heuristic)하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.

Claims (14)

  1. 전자 장치에 있어서,
    복수의 주변 장치들; 및
    시리얼 인터페이스에 의해 상기 복수의 주변 장치들과 연결되도록 구성된 적어도 하나의 프로세서를 포함하며,
    상기 적어도 하나의 프로세서는,
    하나의 시리얼 제어 명령어를 구성하는 하나의 명령 프레임과 상기 복수의 주변 장치들 중 적어도 두 개의 주변 장치들에게 전달될 데이터 프레임들을 상기 시리얼 인터페이스를 통해 연속하여 전송하도록 구성된, 전자 장치.
  2. 제1항에 있어서,
    상기 복수의 주변 장치들은 데이터 프레임의 수신 여부를 지시하는 신호가 입력되는 적어도 하나의 핀을 포함하는, 전자 장치.
  3. 제2항에 있어서,
    상기 적어도 하나의 핀은 외부로부터 전압을 수신하는 입력 핀인, 전자 장치.
  4. 제3항에 있어서,
    상기 적어도 하나의 프로세서는,
    상기 적어도 두 개의 주변 장치들에 대해 상기 적어도 하나의 핀마다 다른 레벨의 전압을 인가하는 방식으로 구성된, 전자 장치.
  5. 제2항에 있어서,
    상기 복수의 주변 장치의 최대 개수는, 주변 장치에 구비된 핀의 수에 의해 결정되는, 전자 장치.
  6. 제4항에 있어서,
    상기 적어도 하나의 프로세서는 내부 전원이 복수 개인 경우, 그 중 어느 하나 이상의 전원을 선택하는 방식으로 상기 다른 전압을 인가하는 방식으로 구성된, 전자 장치.
  7. 제4항에 있어서,
    상기 적어도 두 개의 주변 장치들에 연결된 저항을 통해 상기 다른 전압을 인가하는 방식으로 구성된, 전자 장치.
  8. 제2항에 있어서,
    상기 적어도 하나의 핀은 그라운드 핀인, 전자 장치.
  9. 제2항에 있어서,
    상기 적어도 하나의 핀은 NC(No Connect) 핀인, 전자 장치.
  10. 전자 장치에서 복수의 주변 장치들을 제어하는 방법에 있어서,
    하나의 시리얼 제어 명령어를 사용하여 시리얼 인터페이스를 통해 상기 복수의 주변 장치들 중 적어도 두 개의 주변 장치들에게 데이터 프레임을 전송하는 동작을 포함하고,
    하나의 명령 프레임과 상기 적어도 두 개의 주변 장치들에게 전달될 데이터 프레임들로 상기 하나의 시리얼 제어 명령어를 구성하는, 방법.
  11. 제10항에 있어서,
    데이터 프레임의 수신 여부를 지시하는 신호를 상기 복수의 주변 장치들에 구비된 적어도 하나의 핀으로 입력하는, 방법.
  12. 제11항에 있어서,
    상기 적어도 하나의 핀에 입력되는 신호는 외부로부터 인가되는 전압인, 방법.
  13. 제12항에 있어서,
    상기 전송하는 동작은,
    상기 적어도 두 개의 주변 장치들에 대해 상기 적어도 하나의 핀마다 다른 레벨의 전압을 인가하는 동작을 포함하는, 방법.
  14. 제11항에 있어서,
    상기 복수의 주변 장치의 최대 개수를 주변 장치에 구비된 핀의 수에 의해 결정하는, 방법,
PCT/KR2021/011098 2020-08-21 2021-08-20 직렬 인터페이스를 운영하는 전자 장치 및 그 제어 방법 WO2022039545A1 (ko)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/112,066 US20230205724A1 (en) 2020-08-21 2023-02-21 Electronic device for operating serial interface, and control method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020200105623A KR20220023640A (ko) 2020-08-21 2020-08-21 직렬 인터페이스를 운영하는 전자 장치 및 그 제어 방법
KR10-2020-0105623 2020-08-21

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/112,066 Continuation US20230205724A1 (en) 2020-08-21 2023-02-21 Electronic device for operating serial interface, and control method thereof

Publications (1)

Publication Number Publication Date
WO2022039545A1 true WO2022039545A1 (ko) 2022-02-24

Family

ID=80323113

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2021/011098 WO2022039545A1 (ko) 2020-08-21 2021-08-20 직렬 인터페이스를 운영하는 전자 장치 및 그 제어 방법

Country Status (3)

Country Link
US (1) US20230205724A1 (ko)
KR (1) KR20220023640A (ko)
WO (1) WO2022039545A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR200231733Y1 (ko) * 2001-02-06 2001-07-19 김정용 메모리 카드 인터페이스 장치
KR20060031476A (ko) * 2004-10-08 2006-04-12 삼성전자주식회사 커넥터/디지털 직렬 버스 인터페이스 장치 및 이를구비하는 표시 장치의 제어 장치 및 집적 회로 칩
KR20060108709A (ko) * 2003-11-12 2006-10-18 콸콤 인코포레이티드 향상된 링크 제어를 제공하는 고속 데이터 레이트인터페이스
US20090006709A1 (en) * 2007-06-28 2009-01-01 Legend Holdings Ltd Pci express interface
KR20140129708A (ko) * 2013-04-30 2014-11-07 (주)볼트마이크로 복수의 주변장치들을 가상화하여 제어하기 위한 데이터 관리 시스템 및 그 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR200231733Y1 (ko) * 2001-02-06 2001-07-19 김정용 메모리 카드 인터페이스 장치
KR20060108709A (ko) * 2003-11-12 2006-10-18 콸콤 인코포레이티드 향상된 링크 제어를 제공하는 고속 데이터 레이트인터페이스
KR20060031476A (ko) * 2004-10-08 2006-04-12 삼성전자주식회사 커넥터/디지털 직렬 버스 인터페이스 장치 및 이를구비하는 표시 장치의 제어 장치 및 집적 회로 칩
US20090006709A1 (en) * 2007-06-28 2009-01-01 Legend Holdings Ltd Pci express interface
KR20140129708A (ko) * 2013-04-30 2014-11-07 (주)볼트마이크로 복수의 주변장치들을 가상화하여 제어하기 위한 데이터 관리 시스템 및 그 방법

Also Published As

Publication number Publication date
US20230205724A1 (en) 2023-06-29
KR20220023640A (ko) 2022-03-02

Similar Documents

Publication Publication Date Title
WO2020067639A1 (en) Electronic device for pairing with stylus pen and method thereof
WO2021002647A1 (en) Electronic device for performing ranging and method thereof
WO2021020900A1 (en) Electronic device for preventing damage of usb device and operating method thereof
WO2021145727A1 (en) Electronic device and screen refresh method thereof
WO2021054594A1 (en) Electronic device supporting connection with external device and power consumption reducing method when using electronic device in connection with external device
WO2020050495A1 (ko) 안테나 튜닝을 수행하는 전자 장치 및 그 방법
WO2019182350A1 (ko) 전자 장치의 외부에서 공급되는 전력의 속성 및 전자 장치의 상태에 적어도 기반하여 전력 전송 경로를 결정하는 전자 장치 및 제어 방법
WO2021071119A1 (en) Apparatus and method for charging battery
WO2022086207A1 (ko) 고속 충전 방법 및 전자 장치
WO2020032541A1 (en) Method for processing incoming call and electronic device for supporting the same
WO2019151699A1 (en) Electronic device for reducing noise
WO2021060722A1 (en) Electronic device and method for controlling reset of control ic
WO2022039545A1 (ko) 직렬 인터페이스를 운영하는 전자 장치 및 그 제어 방법
WO2019203443A1 (ko) 근거리 통신을 이용하여 디바이스들을 페어링하는 방법 및 이를 사용하는 전자 장치
WO2019107975A1 (en) Electronic device shooting image and method for displaying the image
WO2021201593A1 (ko) 데이터의 제공 방법 및 이를 지원하는 전자 장치
WO2021157932A1 (en) Wireless charging coil and electronic device including the same
WO2020256331A1 (en) Structure of electronic device for optimizing performance of antenna and method thereof
WO2020204451A1 (ko) 키리스 리셋을 위한 방법 및 이를 위한 전자 장치
WO2020235843A1 (en) Apparatus for detecting feedback on voltage supplied from electronic device to external device
WO2020171607A1 (ko) 온도 변화에 따른 오류 터치를 방지하는 터치 회로, 터치 회로를 포함하는 전자 장치 및 그 동작 방법
WO2020111554A1 (ko) 안테나에 의하여 측정되는 값을 보상하는 전자 장치 및 그 작동 방법
WO2020105955A1 (ko) 보안 요소를 통해 보안이 필요한 서비스를 제공하는 전자 장치 및 그 전자 장치를 제어하는 방법
WO2019156411A1 (en) Electronic device for connecting with external devices based on connection information and operating method thereof
WO2024096317A1 (ko) 디스플레이에게 전력을 제공하기 위한 전자 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21858632

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21858632

Country of ref document: EP

Kind code of ref document: A1